How about just making a copy of your configuration and launching it bound to a different host? That way you do not have to change anything provide you are using the no-arg InitialContext.
Example:
1. Create copies of your configuration folder: /jboss/server/orginal ->
/jboss/server/foo and /jboss/server/bar 2. Add two additional IPs to your NIC mapped to foo and bar for
convenience (say, in /windows/system32/drivers/etc/hosts). 3. Launch using shortcut, in this case the hostname and configuration
happen to be the same:
run.bat -c foo --host foo
4. Rinse and repeat.
run.bat -c bar --host bar
Ditto for Linux more or less. Make sure you DO NOT run the same configuration twice and remove /jboss/server/whaddeva/deploy/snmp-adapter.sar, from every instance. That's about it.
Really useful - thanks.
We were running multiple JBoss instances by changing http port numbers, but of course we had to change JNDI and "Web service" (port 8083) port numbers as well. Your solution seems much more elegant - keen to try it out.
Could you please explain why you need to remove /jboss/server/whaddeva/deploy/snmp-adapter.sar ?
On that topic, I subscribe to paid-for documentation but I couldn't find any explanation of how to decide which components you need for particular requirements (especially their dependencies on each other).
eg We use Jetty / Session beans / Entity beans, but by trial and error I found that EJBs require JMS (for Message beans I guess - even though we don't use them), and JMS seems to require HypersonicSQL etc.
Also the default inclusion of JMX-Console seems to be a security issue.
Can someone point me to some useful documentation on how to decide what components to add/remove and what needs to be configured for security before production?
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user