Customize directories for deploy and tomcat.../server.xml
Alex Belisle Turcot
Joined: Apr 26, 2005
I'm a teaching assistant for a course on j2ee using JBoss and I would need some help for some tricky configuration.. if its even possible..
Every pc has its own JBoss (4.0.4) installed and at one point during the semester the students will have to modify server.xml (.../jbossweb-tomcat55.sar/server.xml). And of course, they will deploy their apps in .../server/default/deploy.
To avoid modifying the JBoss configuration, (since it's used for other classes), is there a way to change the default path for deploy and the default path to server.xml ? They would instead point to their personal version of the files on their personel network drive.
I'm giving you the whole story here because maybe one of you might have a better idea than where I'm heading. Unfortunatly, we have to use the local JBoss for this semester (in a near future they will each have their own JBoss on a server w/ vmware.. then they can play with it).
Anyhow.. Is it possible? and if not, what else could be an option?
bye, Alex [ September 20, 2006: Message edited by: Alex Turcot ]
file:///c:/deploy/ seems to be deployed after deploy_tomcat/... whats the loading schema ?
That depends, and that is also the key word. "Depends" You see you have a sar in your deploy_tomcat directory and sars are the first type of archives to be deployed. And sometimes that sar is a dependency of other MBeans and are explicitly declared as such in the jboss-service.xml.
So while it may look as the directory order is what is important it is really JBoss's default Deploy ordering.