On Tue, 18 Feb 2003 22:54, Alex Hornby wrote:

> I'm setting up JBoss for multiple developers and would like to have one
> binary install (owned by root) from which developers could run their own
> JBoss instance over their own deployment & configuration area (so that
> developers can change configs etc without needing root or another copy
> of the JBoss tree).
>
> Is this config possible with JBoss? The tomcat install seems to support
> this with the CATALINA_BASE variable and it would be cool if JBoss had a
> similar ability.

Yes, have a look at org.jboss.system.server.ServerConfig where the various 
system properties you can use are described. They all start with "jboss.". 
They can be used to change where just about any of the jboss directories are. 
(this is also documented a bit in Chapter 1 of the (for pay) jboss book 
3.0.4)

You can also have multiple deploy directories by adding URLs to the mbean 
URLDeploymentScanner's URLs attribute. So you can use the install directory's 
deploy directory and a private one for the developer's configuration.

We regularly do this from ant builds that set up a customised jboss server for 
the developer to run unit tests against. 

Of course you also need to adjust the various port numbers used. These are 
found in (at least) conf/jboss-service.xml, deploy/jbossmq-service.xml, 
deploy/jbossweb.sar/META_INF/jboss-service.xml, deploy/hsqldb-service.xml.

Hope this helps

brian wallis...




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

Reply via email to