ok here is my new jboss-service.xml file for my mbean

  | 
  | <service>
  | 
  |   <mbean code="com.xensia.jmx.SessionManager"
  |          name="xensia.jmx:name=SessionManagerMBean">
  | 
  |       <depends>jboss.j2ee:service=EjbModule,module=systemsetting.jar</depends>
  |       <depends>jboss.j2ee:service=EjbModule,module=sessionmanager.jar</depends>
  |   </mbean>
  | 
  | </service>
  | 
  | 

I also tried renaming by mbean to xsessionjmxmanager but I still get the same error. 
Everything loads up corretly until I get to my EAR, then the first thing to be 
deployed in the ear is my mbeans sar. I have also tried placing the mbean outside the 
ear file, but this also fails.

I guess the problem here is the fact that the mbean is deployed in an EAR, my 
understanding of the Jboss deployers is a bit limited so looks like its time to check 
the source code.

Does any one have mbeans that are deployed in an EAR that depend on mutiple EJB's or 
an MBean that depends on an EAR?

This is important to me as it I would have to write a nasty script to manage the 
deployment of my application everytime jboss is restarted (stop jboss, remove mbean, 
start jboss, wait until eveything is deployed then deploy mbean).

Thanks everyone for your suggestions.

Cheers,
Hoos

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832289#3832289

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832289


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to