* Multi Instance Usage
* If you want to run multiple instances of JBoss, you can do that this way:
* 1) Symlink init script:
* ln -s /etc/init.d/jboss-bin-4 /etc/init.d/jboss-bin-4.foo
* 2) Copy original config file:
* cp /etc/conf.d/jboss-bin-4 /etc/conf.d/jboss-bin-4.foo
* 3) Edit the new config file as it will use another JBOSS_SERVER_NAME.
* Set what do you want to run your new profile/vhost
* You have to either:
* Bind new JBoss instance to another IP address or change
* Change the used ports in tiomcat configuration so they do not be in conflict)
* 4) Run the new JBoss instance:
* /etc/init.d/jboss-bin-4.vhost start (eg vhost=localhost
* -> jboss-bin-4.localhost
*
* Profile manager:
* We provide now a tool to manage your multiple JBoss profiles
* see jboss-profiles-creator.sh --help for usage
*
* Jboss usage:
* We profile a jboss documentation available for all vhosts
* you can access it with
* /etc/init.d/jboss-bin-4.localhost start
* and now point your browser to http://YOURIP:8080/gentoo-doc
* TIPS:
* * If you have not redefine the root context, You can even reach it to http://YOURIP:8080/
*
* To redifine the root context: (the thing you reach with http://vhost/)
* * Just deploy your one as PROFILE_PATH/deploy/ROOT.war
* * To make a war go to the basedir of your application and do
* jar cvf ROOT.war *
* * Another thing: you can eITher deploy it in a ear or in a war