[jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: jdbc not bound in tu
visolvejboss
do-not-reply at jboss.com
Tue Jul 25 07:43:47 EDT 2006
Hello,
anonymous wrote : javax.naming.NameNotFoundException: jdbc not Bound
This may due to not setting the following parametes .
In jboss-web.xml
<jboss-web>
<resource-ref>
<res-ref-name>jdbc/jndi-name</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>java:jndi-name</jndi-name>
</resource-ref>
</jboss-web>
In web.xml
<resource-ref>
<res-ref-name>jdbc/jndi-name</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
please post the complete stack trace?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960646#3960646
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960646
More information about the jboss-user
mailing list