> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of David
> Maplesden
> Sent: Sunday, December 09, 2001 3:14 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-dev] current mbean structure confusing
>
>
>
> > Nope, AutoDeployer behavior definately changed.  I put an
> > mbean right after
> > the autodeployer declaration in jboss-service.xml and that mbean gets
> > executed at the same time as the autodeployer is deploying
> > things.  That
> > mbean does not wait until the AutoDeployer has finished deploying
> > everything.
> >
>
> I know marc is trying to kill off this thread (it has been going long
> enough) but I know what the story is with this one so I thought I would
> explain (and give you a solution).
>

I'm sorry to drag this out, but I really think this behavior is bad.

> The AutoDeployer hasn't really changed much at all, but I made one
> significant change a while back which is causing this behaviour.
>
> Originally all of the services the AutoDeployer uses to do the actual
> deployment of files (like Jetty or J2eeDeployer) had to be started before
> the AutoDeployer was started, but since we wanted to make shift services
> like Jetty into their own SAR files I had to change the
> AutoDeployer code so
> that the individual deployment services it uses can be started after it is
> started.
>
> Clearly if you want to deploy Jetty via the AutoDeployer, the AutoDeployer
> has to be started first!
>

Sorry to be blunt, but this behavior is just plain wrong.  The AutoDeployer
is deploying something it is dependent on?  Not good, I must say, not good.
You're going to break a lot of 2.4.x applications with this behavior.  And
it is just crazy to have a circular dependency.

IMHO, as I've already stated:

MBeans declared after the autodeployer, or with a dependency on the
autodeployer should wait until the autodeployer has finished deploying its
stuff.

I'm going to change the code.

Bill



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

Reply via email to