Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Set up multiple server configurations Jboss

 
bhilla ratna
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
James Ridley
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic