gt; Cc: [EMAIL PROTECTED]; Bill Burke; David Jencks
> > Subject: Re: [JBoss-dev] RE: Deployment exception on Clustering
> >
>
> 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
> -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
Well, see the code I sent under separate cover, but here's how i think you
can get exactly the same code execution sequence:
[ClusterPartition created, configured, but not started]
HAJNDI created, start does nothing
(other needed mbeans also created and started similarly)
Now the dependencies
d jencks
>
> > -Original Message-
> > From: Andreas Schaefer [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, November 13, 2001 12:47 PM
> > To: David Jencks; Bill Burke
> > Cc: Sacha Labourey; [EMAIL PROTECTED]
> > Subject: Re: [JBoss-dev] RE: Deployment ex
Bill
> -Original Message-
> From: Andreas Schaefer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 13, 2001 12:47 PM
> To: David Jencks; Bill Burke
> Cc: Sacha Labourey; [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] RE: Deployment exception on Clustering
>
>
> Hi G
> Look, I apologize for this breaking the cluster code, I will do whatever I
> can to help fix it. I would like to know if you have any suggestions on
> how I could have provided more warning about the effects or found out that
> the code was breaking. I've been talking about this change for
>
Hi Geeks
I don't think the mbean-ref list will WORK. As you said the ClusterPartition
will be created, attributes are set BUT it won't be started.
AFAIK ClusterPartition needs to initialize JChannel before the other HA-
service can start, doesn't it? Yeah, but then this initialization is NOT
STA
c: Bill Burke; David Jencks; Andreas Schaefer;
> > [EMAIL PROTECTED]
> > Subject: Re: [JBoss-dev] RE: Deployment exception on Clustering
> >
> >
> > Does this mean that the dependencies can go like this?
> >
(I added missing name attributes to the mbean-ref's)
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of David
> Jencks
> Sent: Tuesday, November 13, 2001 9:03 AM
> To: Sacha Labourey
> Cc: Bill Burke; David Jencks; Andreas Schaefer;
> [EMAIL PROTECTED]
> Subject: Re: [JBoss-de
Does this mean that the dependencies can go like this?
JBOSS-SYSTEM:service=DefaultPartition
JBOSS-SYSTEM:service=DefaultPartition
rather than like this:
JBOSS-SYSTEM:service=HASessionState
JBOSS-SYSTEM:service=HAJNDI
Hello,
> Unfortunately at this moment in time it is not possible to hot-deploy a
> clustered service that depends on state-transfer. You can hot-deploy
> clustered EJBs though, well at least for SLSB and EBs. Sacha, what about
> SFSBs?
Yes, it is possible.
Next step on my todo list is to speak
I'm happy to try to fix this problem along these lines, especially if
someone will tell me which mbeans need to be synchronized(?right word?)
1. in ClusterPartition, include
JBossCluster:service=HANaming
...
2. A new mbean interface, ClusterRegistration having the method
registerCluster(Clu
> This won't do any good. If all required beans are present, the order will
> be
>
> create
> configure
> call before start
> start
> call after start
>
> with no opportunity for anything else to happen. Might as well put
> everything in start.
I don't understand. The problem we have here is th
with.
>
> Andy
>
> - Original Message -
> From: "Hiram Chirino" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Monday,
On 2001.11.12 20:37:24 -0500 Hiram Chirino wrote:
> >It looks to me as if
> >"Because of quirkiness of JavaGroups, services cannot ask for
> > > state-synchronization once the Group connection has been initiated."
> >means exactly that the ClusterPartition HAS to know EXACTLY which
> services
> >a
>Hi Geeks
>
>To keep Davids changes and to make Clustering working I remember a
>suggestion long ago to add a method-call to the arguments of a MBean.
>
>I would suggest the following:
>- a can contain a attribute
>- attribute supports the call of a non-argument method and
>the time can be
Hiram Chirino" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 5:37 PM
Subject: Re: [JBoss-dev] RE: Deployment exception on Clustering
> &
>It looks to me as if
>"Because of quirkiness of JavaGroups, services cannot ask for
> > state-synchronization once the Group connection has been initiated."
>means exactly that the ClusterPartition HAS to know EXACTLY which services
>are using it. If you do this, the mbean-ref-list will give you
PROTECTED]
> > Subject: Re: [JBoss-dev] RE: Deployment exception on Clustering
> >
> >
> > What are the mbean dependencies here? Is it possible to add a service
> to a
> > running cluster? How is it synchronized? (what does synchronized
> > mean here,
> > any
> -Original Message-
> From: Hiram Chirino [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 12, 2001 6:47 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: RE: [JBoss-dev] RE: Deployment ex
>Services requiring state-transfer like HA-JNDI must register with an object
>created by the ClusterPartition. The ClusterPartition cannot complete
>JavaGroups connections until the all these HA services have registered with
>the ClusterPartition. The ClusterPartition should not know about who
>
-Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Andreas Schaefer
> Sent: Monday, November 12, 2001 6:12 PM
> To: Bill Burke; David Jencks
> Cc: Sacha Labourey; [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] RE: Deployment exception on Cl
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of David
> Maplesden
> Sent: Monday, November 12, 2001 6:07 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-dev] RE: Deployment exception on Clustering
>
>
> From what I c
> -Original Message-
> From: David Jencks [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 12, 2001 5:40 PM
> To: Bill Burke
> Cc: Andreas Schaefer; Sacha Labourey;
> [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] RE: Deployment exception on Clustering
>
Hi Bill
I don't think this works. When you use dependencies feature just wait until
the MBean is available. But when your services is deployed on another thread
then the init() and start() sequence runs out of order and you can fail.
Only when
all the services are deployed by the same thread (Dep
ncks; Bill Burke
> Cc: Sacha Labourey; [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] RE: Deployment exception on Clustering
>
>
> Hi Bill
>
> I see another problem with your approach. With JBoss 3.0
> we can deploy services after the application server is started.
> Now is it th
loyment stuff...
Cheers
David
> -Original Message-
> From: David Jencks [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 13, 2001 11:48 AM
> To: Bill Burke
> Cc: Andreas Schaefer; David Jencks; Sacha Labourey;
> [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] RE: Deployment
Hi
Looks like I am asleep here, sorry. Of course, you are
right.
Andy
> Hey,
>
> > Hi
> >
> > postRegister() is a callback method issued by the MBeanServer
> > before the
> > MBean gets finally registered. You then can save the
> > MBeanServer you are
> > connected to and change the MBean O
t;[EMAIL PROTECTED]>
> > To: "Andreas Schaefer" <[EMAIL PROTECTED]>
> > Cc: "Sacha Labourey" <[EMAIL PROTECTED]>;
> > <[EMAIL PROTECTED]>
> > Sent: Monday, November 12, 2001 1:10 PM
> > Subject: [JBoss-dev] RE: Deployment exception on
AIL PROTECTED]>
Sent: Monday, November 12, 2001 2:39 PM
Subject: Re: [JBoss-dev] RE: Deployment exception on Clustering
> What are the mbean dependencies here? Is it possible to add a service to a
> running cluster? How is it synchronized? (what does synchronized mean
here,
> anyway
You will not see the problems introduced by removing init unless you setup
HA-JNDI on one node, bind a bunch of stuff, then bring up a second node.
The second node will not get state-transfer from the first if you have
removed init. Again. This clustering stuff needs a 2 stage startup. Please
do
TECTED]>
> Cc: "Sacha Labourey" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Monday, November 12, 2001 2:04 PM
> Subject: RE: [JBoss-dev] RE: Deployment exception on Clustering
>
>
> > Rickard talked about something called postRegister?
> >
&g
.
Andy
- Original Message -
From: "Bill Burke" <[EMAIL PROTECTED]>
To: "Andreas Schaefer" <[EMAIL PROTECTED]>
Cc: "Sacha Labourey" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 2:37 PM
Subject:
What are the mbean dependencies here? Is it possible to add a service to a
running cluster? How is it synchronized? (what does synchronized mean here,
anyway?).
If it is not possible to add a service to a started cluster, you should
document the contents of the cluster with an mbean-ref-list tag
> -Original Message-
> From: Andreas Schaefer [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 12, 2001 5:17 PM
> To: Bill Burke
> Cc: Sacha Labourey; [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] RE: Deployment exception on Clustering
>
>
> Hi
>
> po
I'm trying to eliminate init and destroy because they were getting called
like this from ServiceController:
init();
start();
and
stop();
destroy();
. If there are problems left after combining init and start, or if you
would like me to do this, let me know. Is there any way to test the
clust
;Bill Burke" <[EMAIL PROTECTED]>
To: "Andreas Schaefer" <[EMAIL PROTECTED]>; "David Jencks"
<[EMAIL PROTECTED]>
Cc: "Sacha Labourey" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 2:04 PM
Subject: RE: [JBos
AIL PROTECTED]>
To: "Andreas Schaefer" <[EMAIL PROTECTED]>; "David Jencks"
<[EMAIL PROTECTED]>
Cc: "Sacha Labourey" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 2:04 PM
Subject: RE: [JBoss-dev] RE: Deployment exc
ECTED]>
> Cc: "Sacha Labourey" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Monday, November 12, 2001 1:10 PM
> Subject: [JBoss-dev] RE: Deployment exception on Clustering
>
>
> > Yes this a very serious problem and it wouldn't show
D]>
Sent: Monday, November 12, 2001 1:10 PM
Subject: [JBoss-dev] RE: Deployment exception on Clustering
> Yes this a very serious problem and it wouldn't show up with your Farm
> stuff. THis is my fault because I didn't document the code very well, but
> can we please switch
Yes this a very serious problem and it wouldn't show up with your Farm
stuff. THis is my fault because I didn't document the code very well, but
can we please switch this back?
In the init phase, all services register with the cluster (HAPartition) for
cluster events that want to listen to and a
Hi Bill
I added all the code from init() into start(). Is this a problem ?
At least when I use the Farm it works like a charm.
Andy
- Original Message -
From: "Bill Burke" <[EMAIL PROTECTED]>
To: "David Jencks" <[EMAIL PROTECTED]>; "Andreas Schaefer"
<[EMAIL PROTECTED]>
Cc: "Sacha Labo
Guys,
The clustering stuff is dependent on init and start both being there. Can
we put back the init? Otherwise you break our stuff. Why are you doing
this anyways?
Bill
> -Original Message-
> From: David Jencks [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 12, 2001 2:33 PM
> T
Thanks, must have missed that one.
I generally copied the init[Service] code and put it in start[Service] at
the beginning, similarly for destroy.
As far as I could tell, everything covered by the testsuite works as well
after the changes as before.
Please let me know of other problems.
The Se
44 matches
Mail list logo