Re: [JBoss-dev] undeploy a dependency?

2006-02-02 Thread Adrian Brock
So can you show the server.log You should see this message from the ServiceController when you redeploy B: // Remove the context, unless it is still recording dependencies if (ctx.dependsOnMe.size() == 0) nameToServiceMap.remove(objectName); else {

Re: [JBoss-dev] undeploy a dependency?

2006-02-02 Thread Bill Burke
Adrian Brock wrote: On Wed, 2006-02-01 at 16:42, Bill Burke wrote: I'm seeing start being called twice for a particular MBean and thus, I'm getting an error. I think what is happening is this: 1. deploy 'A' MBean, its dependency 'B' has not been resolved 2. Deploy 'B', resolve 'A''s depen

Re: [JBoss-dev] undeploy a dependency?

2006-02-02 Thread Adrian Brock
On Wed, 2006-02-01 at 16:42, Bill Burke wrote: > I'm seeing start being > called twice for a particular MBean and thus, I'm getting an error. I > think what is happening is this: > > 1. deploy 'A' MBean, its dependency 'B' has not been resolved > 2. Deploy 'B', resolve 'A''s dependency, call cre

[JBoss-dev] undeploy a dependency?

2006-02-01 Thread Bill Burke
I'm seeing start being called twice for a particular MBean and thus, I'm getting an error. I think what is happening is this: 1. deploy 'A' MBean, its dependency 'B' has not been resolved 2. Deploy 'B', resolve 'A''s dependency, call create/start 3. Undeploy 'B' 4. Deploy 'B' Is this the corr