There has not been any change to the service life-cycle management since the
last change. The only mbeans that are managed as JBoss services are those
that are explicitly added to the jboss.jcml file. I don't see from David's decription
that its JBoss that is starting the WebApplicationContext. Can you show
the call stack for the starting of the WebApplicationContext to see if this is
a JBoss issue?

----- Original Message ----- 
From: "Julian Gosnell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 6:41 PM
Subject: Re: [JBoss-user] jboss-jetty problem


> David,
> 
> Thanks for reporting this.
> 
> This might need some deeper thought.
> 
> I remember removing my own calls to Jetty's lifecycle mehtods at the last
> moment - since they were being called twice. Looking back on this now I
> believe that this wrong. I should be making explicit calls to what are
> Jetty lifecycle methods and JBoss should not be calling them.
> 
> I kicked off a thread about this a while ago, and thought that I had
> reached some agreement with the JBoss guys that 3rd party MBeans that were
> not JBoss Services but registered with the JBoss JMX Server in order to
> export their interfaces, should not be managed by JBoss, even if they
> presented methods that looked similar to e.g. JBoss' lifecycle methods,
> since their semantics could be entirely different.
> 
> I was quite sure this was resolved and was doing my own lifecycle
> management just before the release (2.2.2) when I noticed that my lifecycle
> methods were being called twice - so I removed _MOST_ of my calls - but
> forgot that the WebApplicationContext also has an MBean peer.
> 
> It looks like JBoss changed it's behaviour with respect to 3rd party
> MBeans. I will try to have a look at this tomorrow and get back to you with
> my thoughts.
> 
> Thanks for taking the time to give me such a succinct description of the
> problem - it makes my life immeasurably easier.
> 
> Speak to you soon,
> 
> 
> 
> Jules



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to