Hi, The changes to the way the transaction manager is deployed have highlighted this problem.
The root problem is that an ejb shouldn't be deployed until its declared invokers have started. There are a number of possible workarounds: 1) Make the EJB Deployer depend upon the invoker (no ejbs will be deployed until the invoker starts) 2) Move the transaction manager deployment back into jboss-service.xml (allowing the invoker to start before the scanner starts looking at /deploy) 3) Declare a dependency for each ejb on the invoker(s) in jboss.xml The real fix will be to make (3) automatic. Regards, Adrian xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Bates, Alex > Sent: 19 June 2003 01:52 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] "depends on me" startup problem - but > redeployment works fine! > > > > I'm trying to deploy Apache OJB in Jboss 3.2.0 as ojb.sar, > with two MBeans > defined in jboss-service.xml. > > This packaging structure worked fine in Jboss 3.0.6, but in > 3.2 lots of > exceptions are thrown at init, followed by the "depends on > me" message shown > below. The root problem appears to be the "invoker is null" error > (jboss:service=invoker,type=jrmp) > > Yet, if I redeploy my EJB by copying db-ojb-1.0.rc2-beans.jar > (the EJB jar) > back into the ojb.sar directory after bringing up Jboss 3.2, > it works fine! > > So, it appears that this EJB jar has some dependencies which > need to be > explicitly declared in JBoss. I tried many different > Class-Path references > in the EJB's manifest.mf file, but to no avail. > > Any advice would be appreciated (SWAGs are fine too ;-) > > ------------------------------------------------------------------ > > 13:51:24,051 ERROR [URLDeploymentScanner] MBeanException: > Exception in MBean > > ope > ration 'checkIncompleteDeployments()' > Cause: Incomplete Deployment listing: > Packages waiting for a deployer: > <none> > Incompletely deployed packages: > <none> > MBeans waiting for classes: > <none> > MBeans waiting for other MBeans: > [ObjectName: > jboss.j2ee:jndiName=org.apache.ojb.ejb.PersonManagerPBBean,service= > EJB > state: FAILED > I Depend On: > Depends On Me: java.lang.RuntimeException: invoker is null: > jboss:service=invok > er,type=jrmp, ObjectName: > jboss.j2ee:jndiName=org.apache.ojb.ejb.ArticleManagerP > BBean,service=EJB > state: FAILED > I Depend On: > Depends On Me: java.lang.RuntimeException: invoker is null: > jboss:service=invok > er,type=jrmp, ObjectName: > jboss.j2ee:jndiName=org.apache.ojb.ejb.PersonManagerOD > MGBean,service=EJB > state: FAILED > I Depend On: > Depends On Me: java.lang.RuntimeException: invoker is null: > jboss:service=invok > er,type=jrmp, ObjectName: > jboss.j2ee:jndiName=org.apache.ojb.ejb.PBSessionBean,s > ervice=EJB > state: FAILED > I Depend On: > Depends On Me: java.lang.RuntimeException: invoker is null: > jboss:service=invok > er,type=jrmp, ObjectName: > jboss.j2ee:jndiName=org.apache.ojb.ejb.PersonArticleMa > nagerODMGBean,service=EJB > state: FAILED > I Depend On: > Depends On Me: java.lang.RuntimeException: invoker is null: > jboss:service=invok > er,type=jrmp, ObjectName: > jboss.j2ee:jndiName=org.apache.ojb.ejb.ODMGSessionBean > ,service=EJB > state: FAILED > I Depend On: > Depends On Me: java.lang.RuntimeException: invoker is null: > jboss:service=invok > er,type=jrmp, ObjectName: > jboss.j2ee:jndiName=org.apache.ojb.ejb.PersonArticleMa > nagerPBBean,service=EJB > state: FAILED > I Depend On: > Depends On Me: java.lang.RuntimeException: invoker is null: > jboss:service=invok > er,type=jrmp, ObjectName: > jboss.j2ee:jndiName=org.apache.ojb.ejb.ArticleManagerO > DMGBean,service=EJB > state: FAILED > I Depend On: > Depends On Me: java.lang.RuntimeException: invoker is null: > jboss:service=invok > er,type=jrmp] > > > META-INF\jboss-service.xml > > <?xml version="1.0" encoding="UTF-8"?> > <server> > <mbean code="org.apache.ojb.jboss.PBFactory" > name="DefaultDomain:service=PBAPI,name=ojb/PBAPI"> > <depends>jboss.jca:service=RARDeployer</depends> > <attribute name="JndiName">ojb/PBAPI</attribute> > </mbean> > > <mbean code="org.apache.ojb.jboss.ODMGFactory" > name="DefaultDomain:service=ODMG,name=ojb/defaultODMG"> > <depends>jboss.jca:service=RARDeployer</depends> > <attribute name="JndiName">ojb/defaultODMG</attribute> > </mbean> > </server> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
