There's a sorter in MainDeployer.

I strongly recommend using depends elements.

david jencks

On 2002.10.05 22:33:15 -0400 Jason Dillon wrote:
> Again, I am not positive, but I believe the order is determined by the
> XML 
> impl, when it returns a NodeList.  From what I can tell the order is
> fairly 
> random.
> 
> The only way I could get deployments to order correctlt was to use the
> JBoss 
> <depends> tag (in jboss.xml in each of the members of the EAR) and depend
> on 
> the dependent deployed services in the other JAR files.
> 
> --jason
> 
> 
> > Actually, this brings up a question I've meant to ask for a while - how
> > do you guys determine the order for which modules are deployed when
> > declared in an application.xml file? I had asked a few days ago how to
> > control the order of deployment of ears and wars (currently separate in
> > the deploy dir). But, without changing my deploy scripts in Ant, I
> > wanted to see what the algorithm was (or where the code lives) that
> > determines the order. I was thinking that if the war was defined last
> in
> > the application.xml, it might get deployed last and thus my cheezy,
> > x-appserver SessionContextListener would fire after all EJBs are
> > deployed (Mbeans are out, as I don't have good mbean support in the
> > jboss foe servers). 
> > 
> > Thanks,
> > James
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> > 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to