I'm running into a situation where I would like to specify the order of jars loaded by the jboss-service.xml file [in my case in the default configuration]. The xml file indicates that it is possible to control the jars which are loaded using the archives attributes of the classpath element but it does not indicate how this is done. I also do not see any DTD for the jboss-service.xml file so I cannot look this up myself.
Is there any way to directly control the jars loaded and the order in which they are loaded into the UnifiedClassLoader?
Thanks for any help,
do you need these jars at the static startup phase (in jboss-service.xml) or can you let the deployer bring them to the system? it's very easy to control the deployment order by changing the sorter (such as prefix deployment sorter).