[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - DataSource inside ear file

darretta do-not-reply at jboss.com
Tue Nov 13 19:45:24 EST 2007


Since migrating to JBoss 4.0.3 and EJB 3.0, I've had a huge struggle with JNDI binding. My latest issue is regarding my datasource, named nicweb-jboss-ds.xml. Prior to JBoss 4.0.3 (or, maybe it's J2EE 1.5), I was able to deploy this file from the top level of my ear. Now, unless I explicitly place this file in the JBoss deploy directory (outside my ear), it will not bind to JNDI.

I have a similar issue where my 2.1 beans no longer bind to JNDI.

Has there been a change in the spec for Java 1.5, or does JBoss 4.0.3SP1 handle ears differently. I cannot seem to resolve this via my own limited knowledge and web searches.

Any suggestions are appreciated.
Mike

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

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



More information about the jboss-user mailing list