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 阅读(245) 评论(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   回复  更多评论   


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


网站导航:
 
<2025年2月>
2627282930311
2345678
9101112131415
16171819202122
2324252627281
2345678

导航

统计

常用链接

留言簿(3)

随笔档案

文章档案

搜索

最新评论

阅读排行榜

评论排行榜