> 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).

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!  

This means that when the AutoDeployer starts it does not have the ability to
deploy all the files it finds in the deployment directory (i.e. it cannot
deploy ejbs if the J2eeDeployer is not started or wars if Jetty/tomcat is
not started) so these files are left until after the appropriate service is
started.  However if you change your base jboss-service.xml file so that
Jetty etc are started before the AutoDeployer is started then it will behave
as it always has done.

This means of course you can no longer have Jetty etc in seperate SARS,
unless someone can figure out how to get the AutoDeployer to deploy the
AutoDeployer from a SAR ;-)

David

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.303 / Virus Database: 164 - Release Date: 11/24/2001
 

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

Reply via email to