On 2001.11.16 17:33:17 -0500 Bill Burke wrote:
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> David
> > Jencks
> > Sent: Monday, November 12, 2001 10:22 PM
> > To: Andreas Schaefer
> > Cc: [EMAIL PROTECTED]; Bill Burke; David Jencks
> > Subject: Re: [JBoss-dev] RE: Deployment exception on Clustering
> >
<snip>
> 
> The more important question is, How can I get 2 phase initialization with
> the current MBean code base now that you've removed init().  Does your
> patch
> you gave me show how to do this?

I think so, I think the same code is executing in the same order as it used
to be, for the HAJNDI.

Used to be:

ClusterPartition init
HAJNDI init
ClusterPartition start
HAJNDI start

Now, ClusterPartition has a reference to HAJNDI, so start wont be called on
it until HAJNDI is started.

What I did is like this (and may have a problem-- see below)

HAJNDI start (empty method)
ClusterPartition Start (does this, in terms of old methods:
   CP init
   (calls registerCluster on HAJNDI) which contains
      HAJNDI init
      HAJNDI start (!!!this might be a problem!!!)
   CP start


If it is necessary to put the HAJNDI start last, you can make another
method call from ClusterPartition to HAJNDI.

Hope this is getting a little clearer;-)

Please ask more if there is anything else I can do.

david jencks

> 
> Bill
> 
> 
> 
> 
> 

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to