Are you guys deploying a .rar file?  If so, you should depend on the
ConnectionManager mbean from a specific datasource/connection factory
deployment.  If not, what is the purpose of the depends on the RARDeployer?

where exactly is this jboss-service.xml file? Is it getting deployed before
or after the ejbs?

thanks
david jencks



On 2003.06.18 01:44 Armin Waibel wrote:
> Hi Alex,
> 
> I can confirm this. With JBoss 3.0.6 all works fine, changing
> to JBoss 3.2.1 get the described problems when deploying
> the beans. Redepolying the beans, all get deployed without
> problems.
> I can't figure out what's going wrong.
> 
> > So, it appears that this EJB jar has some dependencies which need to
> be
> > explicitly declared in JBoss.
> Would be great if you could bring to light the hidden
> secrets of current JBoss version ;-)
> 
> regards,
> Armin
> 
> ----- Original Message -----
> From: "Swordsman 2000" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 17, 2003 11:04 PM
> Subject: OJB/JBoss "depends on me" startup problem - but redeployment
> works fine!
> 
> 
> > Hello,
> >
> > When I try to bring up the j2ee build of OJB in JBoss, I get lots of
> stack
> > traces, and finally see the message shown below.  The root problem
> appears
> > to be the "invoker is null" error (jboss:service=invoker,type=jrmp)
> >
> > Has anyone else encountered these errors/exceptoins?  Am I missing
> > something?  I used the jboss-service.xml file as instructed, have all
> the
> > relevent files in the ojb.sar directory (running in JBoss 3.2.0), but
> get
> > this problem.  Yet, if I redeploy by copying db-ojb-1.0.rc2-beans.jar
> (the
> > EJB jar) back into the ojb.sar after bringing up JBoss, it works
> fine!!
> >
> > So, it appears that this EJB jar has some dependencies which need to
> be
> > explicitly declared in JBoss.
> >
> > Thanks in advance for any help!
> >
> > Alex
> >
> >
> > 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>
> >
> > _________________________________________________________________
> > Protect your PC - get McAfee.com VirusScan Online
> > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to