Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-05-03


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.