This content has been marked as final.
Show 7 replies
-
1. Re: Multiple depends
jactor Sep 25, 2006 7:21 AM (in response to jactor)... I had a typo...
this bean is dependent on a persistence unit which seems NOT to be deployed.
-
2. Re: Multiple depends
jactor Sep 26, 2006 3:17 AM (in response to jactor)I discovered that when I restart the server and I have the MBean in the deploy folder, the MBean gets deployd right away without waiting for any depends to be deployed. What am I doing wrong? Here is the jboss-service.xml:
<?xml version="1.0" encoding="UTF-8"?> <server> <mbean code="concept.jmx.Checker" name="concept:jmx=concept.jmx.Checker"> </mbean> <depends> jboss.j2ee:jar=concept.jar,name=EntityServiceBean,service=EJB3 </depends> <depends>persistence.units:unitName=proof</depends> </server>
-
3. Re: Multiple depends
mtb2ride Sep 26, 2006 10:28 AM (in response to jactor)What version of JBoss are you using? I have a similar problem with 4.0.4.GA.
http://jboss.org/index.html?module=bb&op=viewtopic&t=91443 -
4. Re: Multiple depends
jactor Sep 27, 2006 2:55 AM (in response to jactor)Thanx for this solution! I will try it on my beans. I am using jboss-4.0.4.GA as well so I hope this will fix my problem!!!
-
5. Re: Multiple depends
jactor Sep 27, 2006 4:20 AM (in response to jactor)I am sorry. It seemed like the solution, but the MBean are still started...
My jboss-service.xml:<server> <mbean code="concept.jmx.Checker" name="concept:jmx=concept.jmx.Checker"> </mbean> <depends-list> <depends> jboss.j2ee:jar=concept.jar,name=EntityServiceBean,service=EJB3 </depends> <depends>persistence.units:unitName=proof</depends> </depends-list> </server>
-
6. Re: Multiple depends
mtb2ride Sep 27, 2006 6:49 PM (in response to jactor)Your depends-list is setup wrong, use
<depends-list-element>
-