[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Referenced datasource not found with JBoss 5.0 (Beta4)
do-not-reply at jboss.com
Wed Apr 9 15:26:07 EDT 2008
We are currently using JBoss 4.2.2 but we are trying to make our application work under JBoss 5.0.
We are using a WAR file as well as an EAR file containing our EJB jar file.
We defined our datasource as a JNDI resource in a "-ds.xml" file in the deploy directory; it seems to be correctly deployed both under 4.2.2 and 5.0.
That data source is accessed by our application through a reference that is defined in web.xml:
The mapping between the resource reference name and the JNDI name is in our jboss-web.xml file:
This set-up used to work under JBoss 4.2.2 but doesn't work anymore under JBoss 5.0; it complains that the datasource is not bound:
| Caused by: javax.naming.NameNotFoundException: app-specific not bound
I know JBoss 5.0 is still Beta; I was just wondering if anybody else ran into this problem too...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142945#4142945
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142945
More information about the jboss-user