• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Set up multiple server configurations Jboss

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
There are no more "hours", it's centi-days. They say it's better, but this tiny ad says it's stupid:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic