[jboss-user] [EJB 3.0] - Re: package protected interfaces

ALRubinger do-not-reply at jboss.com
Thu May 3 16:48:40 EDT 2007


Is it possible that the container is deploying your test-ejb.jar before your test-core.jar?  If so, it'll be attempting to deploy your EJB3 beans before the required libraries are in place.

If this is the case, try:

1) Placing test-core.jar into $JBOSS_HOME/server/[instanceName]/lib (assuming it has no deployable units in it, just classes needed as libs)

- or -

2) Ensuring the order of deployment is correct (maybe by using the PrefixDeployer and prepending your JAR names with "0-", 1-...N-, etc).  This is configured at the bottom of $JBOSS_HOME/server/[instanceName]/conf/jboss-service.xml

- or -

3) Stick to the EAR deployment, and ensure that each of your modules are declared correctly in META-INF/application.xml

S,
ALR

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

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



More information about the jboss-user mailing list