Trying to get to the root of the JNDI lookup problem, I'm finding that the gray area is in EAR deployment. While trying to determine if there is a conflict with the standard documented managed bean configuration (as configured faces-config.xml) for myfaces, I did not come across any cut-and-dry info on building and deploying an EJB 3.0 ear in jboss, where you have a war file and any number of entity jar files. Ok, actually there are a few forum postings on this, but for previous releases of JBoss in which the implementation may have been different do to the changing EJB 3.0 spec. The "ear" example of the RC5 tutorials has a build.xml file that builds a tutorial.jar, which is obviously very different from an ear.
The latest JBoss documentation (including forum postings & wiki) suggest that an ear containing a war file and ejb 3.0 entities in a separate jar file should work, as long as the ejb3.0 jar file has a proper persistence.xml file in its MAN-INF directory. Is this still the case? That's what I've been using, but my beans are still not being registered. Is anyone that is using the current Jboss EJB 3.0 release building and deploying an ear? Would you please post the structure of your ear? I've found a potential solution here: http://weblogs.java.net/blog/ss141213/archive/2005/12/using_java_pers.html There, glassfish is used, but it looks like the ear structure (with a lib directory, no application.xml file, separate war and ejb jar files) is generic and should be portable to any compliant platform. Is there a reason this configuration won't work with JBoss 4.0.4RC1 or later? I'll be trying the configuration recommended in the blog above after some rest, but would appreciate any useful input anyone may have. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931236#3931236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931236 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
