The beta has a serious problem making ears almost unusable, each subpackage is deployed fully in a random order. A few short hours after the beta went out I got the fix in to cvs. Now:
1. all classes anywhere in the ear no matter how deeply nested are added to the classloader system (except wars, I think) 2. All the containers are created for all ejb's. All the classes that could possibly be used are available, see (1) 3. The links are set up between all the already existing objects. This mostly means ejb-ref /java:/comp/env stuff. The wars are (as of a couple of days ago) processed in step 3. If a web container has as much lifecycle as jboss, it could participate in all 3 steps. I think this will solve your problem. Please check and advise. david jencks On 2002.02.27 14:09:43 -0500 David Ward wrote: > I have an ear with a few ejb-jar's in it, plus a war. The war needs > each of the ejb-jars, but no ejb-jars need eachother (they can be > dropped into deploy by themselves no problem) EXCEPT one. There is one > "control" ejb-jar that HAS to be the last ejb-jar to be deployed from > the ear, since it uses the other ejb-jars. > > I have the "control" ejb-jar listed after the ones it depends on in my > ear's application.xml file. > > In JBoss-2.4.4_Tomcat-X.XX I have no problems deploying my ear, and the > ejb-jars deploy in the proper order. > > HOWEVER, in JBoss-3.0.0beta_Tomcat-4.0.2, the "control" ejb-jar gets > deployed before some of the other ejb-jars it depends on get deployed, > and I get a bunch of exceptions when my application inits (since it > can't find the "control" stuff). > > "... Serious error in init: > ... org.jboss.deployment.DeploymentException: Bean XXX not found within > this application. > at org.jboss.ejb.Container.setupEnvironment(Container.java: > 906)..." > > Did JBoss 2.4.4 respect the order in application.xml, or did it have a > smart way of resolving dependencies before initialization? Did > something change in this regard in 3.0.0beta? > > Thanks muchly, > David > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
