• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Multiple Instance of JBoss

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have installed JBoss 4.0.2.
How do I create Multiple Instance of JBoss with only one JBoss Installed?

Thanks In Adavnce

Ganesh
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. You will want to create your own server configuration. So copy one of the server directories, like "default" and give it a new name. Then when you startup jboss use the -c like "run -c myconfig"

The other thing you have to do is make sure the ports don't colide. If one instance is using the default ports, the other instance must use different ones.

In the samples directory, in one of the sub-directories is a samples-bindings.xml and in there there are ports configured with names like ports-01 ports-01. You can use this too, but you have to point each server to one of them through the jboss-service.xml file.

Check out the Admin guide at jboss's website for complete directions.

Good Luck

Mark
 
Ganesh Sundaresan
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mark for your solution.

I created two instance of jboss. One is default and other one as dev01 under server directory.

And changed the jboss-service.xml as
<attribute name="ServerName">ports-01</attribute>
in another instance i confugured as
<attribute name="ServerName">ports-default</attribute>

Also I changed all the port numbers in jboss-service.xml for the new instance


Thanks
Ganesh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic