"tromanowski" wrote : | elkner: | Thanks for your reply--that implies that JBoss is in fact compliant with the J2EE spec regarding ears, contrary (depending on the version) to what asack has mentioned. Which version are you using? I know I asked if anyone had this working with the latest version, but I should have specified an RC rather than something like a nightly build of 5.0 alpha. Also, you don't have a war packaged in your ear...would the addition of the war be the part that would cause a problem? | | I'd be very interested in seeing the application.xml (if used) of someone using a war to successfully access ejbs (either using the /lib/.jar configuration or just stuffing everything into /<all-ejbs>.jar).
Either I or you are uber confused. elkner application.xml file SPECIFIES his jars as modules so each JAR library has scope within his EAR (which is fine). Wiht J2EE 5 EAR deployments there is now a EAR/lib which automagically gets picked up by the app server and libraries are added to the classpath. If you wanted your JAR files to be referenced by two different EARs or WARS you could actually drop the JAR file in the deploy directory and have both applications now reference it without getting the dreaded ClassNotFound exception. Before you go any further make sure you verify that there is one classloader for your requirement class. You can even check this by looking at the JMX console under name=Default,service=LoaderRepository and zonk in your class and see what class loaders are available. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931395#3931395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931395 ------------------------------------------------------- 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
