I am working on a project where we have several ejb-jars all deployed 
independently (i.e. no ears, just jars).  Some of the ejb-jars depend on EJBs 
defined in some of the other ejb-jars.  In addition, they depend on the classes 
defined in these other jars as well (e.g. for the business interface the EJB 
implements, etc).

Is it possible in JBoss 4.x to specify both deployment order and classloading 
dependencies?  Currently I receive a NoClassDefFoundError when (I'm guessing) 
it tries to create the EJB proxy for the dependent EJB.  But, because the 
interface is in the other EJB's jar, and that jar hasn't been loaded yet, it 
doesn't know about the interface.  My current workaround is to creatively 
rename my jars, prefixing them with "a" or "z" to get them to deploy at the 
beginning or at the end.  Is there a better way to do this?

Thanks,
Andy

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064570
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to