aspose file tools*
The moose likes JBoss/WildFly and the fly likes Set up multiple server configurations Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Set up multiple server configurations Jboss" Watch "Set up multiple server configurations Jboss" New topic
Author

Set up multiple server configurations Jboss

bhilla ratna
Ranch Hand

Joined: Jun 01, 2005
Posts: 59
Hi,

In my company, they want to seperate the configuration files from binaries.
So, for each new project they create a new server configuration directory and there exists a single location where the jboss is installed. Also the configuration directories are in different location then server directory. My question is how to tell the jboss to look configuration in the location different than server directory?

Thanks
bhilla


Ratna bhilla<br />SCJP 1.4, SCBCD 1.3, SCWCD 1.4
James Ridley
Greenhorn

Joined: Apr 21, 2006
Posts: 15
Can you elaborate on what you mean? Do you have multiple directories under the server directory so something like:
-jboss
--server
----config1
----config2
----config3

If so would it be as simple as changing the URLDeploymentScanner mbean definition in conf/jboss-service.xml and change the url attribute to look at a specific path rather than the standard deploy directory?
[ April 27, 2006: Message edited by: James Ridley ]
bhilla ratna
Ranch Hand

Joined: Jun 01, 2005
Posts: 59
No,

We don't have the config directories under server. But in completely different directory.
ex
Jboss_home - /usr/jboss/4.0.3/

Serverconfig -/usr/config/myConfig
James Ridley
Greenhorn

Joined: Apr 21, 2006
Posts: 15
I'm not exactly sure how you'd pull that off. What resides under /usr/config/myConfig? Is it just everything that would be in a traditional deploy directory or is it the conf directory and the server libraries, etc?

Is this something that JBoss's netboot functionality could accomodate for?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Set up multiple server configurations Jboss