-
1. Re: How can I specify deployment order of different ejb3 fil
sabinin Feb 3, 2005 6:39 AM (in response to sabinin)I have found that subfolder "deploy.last" of folder "deploy" can be used to deploy files "deploy.last\*.*" after all other JBoss services deployed.
Folder "deploy.last" can have subfolders "deploy.last\deploy.last" and so on, this is one way to specify deployment order.
Am I right? Is there other ways? -
2. Re: How can I specify deployment order of different ejb3 fil
kabirkhan Feb 3, 2005 7:07 AM (in response to sabinin)Take a look at http://www.jboss.org/wiki/Wiki.jsp?page=ConfiguringTheDeploymentScannerInConfjbossSystem.xml.
You can then add a numeric prefix to your archives:
e.g.
001-xxx.ejb3
002-yyy.ejb3
003-zzz.ejb3
This way, it will order your deployment by the prefix you use, i.e. 001 comes before 002 comes before 003.
HTH -
3. Re: How can I specify deployment order of different ejb3 fil
kabirkhan Feb 3, 2005 7:08 AM (in response to sabinin)(From the above link, enable the PrefixDeploymentSorter)
-
4. Re: How can I specify deployment order of different ejb3 fil
sabinin Feb 4, 2005 4:56 AM (in response to sabinin)If I enable the PrefixDeploymentSorter in file conf/jboss-service.xml it will affect deployment of all files at all subfolders of "deploy" folder. Can I enable PrefixDeploymentSorter local, only for one subfolder of "deploy" folder?