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

fbadt do-not-reply at jboss.com
Tue Jan 23 15:19:55 EST 2007


jboss 4.04

Installed XWiki as an inpacked WAR in the server/deploy directory.

The web.xml has the following entry:
    <resource-ref>
        DB Connection
        <res-ref-name>java:jdbc/XWikiDS</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
    </resource-ref>

What needs to be in what config file for the datasource to be found?  I would prefer to use a WAR related config for this; however have tried the jboss-ds.xml and also failed to have the JNDI name found.

org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: resource-ref: java:jdbc/XWikiDS has no valid JNDI binding. Check the jboss-web/resource-ref.)

resource-ref is not in the filesystem


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

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



More information about the jboss-user mailing list