[jboss-user] [JNDI/Naming/Network] - Re: unpacked WAR access to datasource - not found

PeterJ do-not-reply at jboss.com
Tue Jan 23 17:57:51 EST 2007


What is in your jboss-ds.xml file?  You should have something like this:

<datasources>
  |    <local-tx-datasource>
  |       <jndi-name>jdbc/XWikiDS</jndi-name>
  |       . . .
  |    </local-tx-datasource>
  | </datasource>

You might also have to add a WEB-INF/jboss-web.xml file to the xwiki war file:

<jboss-web>
  |   <resource-ref>
  |     <res-ref-name>jdbc/XWikiDS</res-ref-name>
  |     <jndi-name>java:jdbc/XWikiDS</jndi-name>
  |   </resource-ref>
  | </jboss-web>


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005517#4005517

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005517



More information about the jboss-user mailing list