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) 評論(1) 編輯 收藏
posted on 2006-08-28 12:32 Sheldon Sun 閱讀(248) 評論(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 回復 更多評論
只有注冊用戶登錄后才能發表評論。 | ||
![]() |
||
網站導航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
|
||