Solution that can not find datasource in jboss

http://www.theserverside.com/discussions/thread.tss?thread_id=29813

posted on 2006-08-28 12:32 Sheldon Sun 阅读(234) 评论(1)  编辑  收藏

评论

# re: Solution that can not find datasource in jboss 2006-08-28 12:41 Sheldon Sun

Jboss just bind the datasourc in local jndi namespace, so
you cannot retrieve it out of jboss jvm. If you want that,
you should bind the datasource to the global namespace :
In XX-ds.xml, under <jndi-name>, add this:
<use-java-context>false</use-java-context>

test again ! :)

btw, you must use jboss4.0   回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航:
 
<2006年8月>
303112345
6789101112
13141516171819
20212223242526
272829303112
3456789

导航

统计

常用链接

留言簿(3)

随笔档案

文章档案

搜索

最新评论

阅读排行榜

评论排行榜