1 Reply Latest reply on Nov 16, 2007 2:09 PM by Mike Darretta

    DataSource inside ear file

    Mike Darretta Newbie

      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