Thanks for the followup Armin.  I'm going to post a question to the JBoss
newsgroup and investigate further...will post anything I find out.  I know
they've been making numerous changes to the classloader to support hot
redeployment (in the process making cold deployment harder!)

Alex


-----Original Message-----
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 10:45 PM
To: OJB Users List
Subject: Re: OJB/JBoss "depends on me" startup problem - but
redeployment works fine!


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