Solution that can not find datasource in jboss
http://www.theserverside.com/discussions/thread.tss?thread_id=29813posted on 2006-08-28 12:32 Sheldon Sun 閱讀(248) 評(píng)論(1) 編輯 收藏
posted on 2006-08-28 12:32 Sheldon Sun 閱讀(248) 評(píng)論(1) 編輯 收藏
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 回復(fù) 更多評(píng)論
只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。 | ||
![]() |
||
網(wǎng)站導(dǎo)航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
|
||