Running JBoss 4.2.3 and JBoss 5.1 on the same server
Posted
by user115212
on Stack Overflow
See other posts from Stack Overflow
or by user115212
Published on 2009-05-31T21:30:45Z
Indexed on
2010/04/26
15:13 UTC
Read the original article
Hit count: 211
I want to run JBoss 4.2.3 and JBoss 5.1 on the same server, but not simultaneously. I just need to be able to switch back and forth between the two for testing, so I don't need to change ports or anything like that. My problem is the JBOSS_HOME environment variable. When I set up a /soft/JBoss-4.2.3.GA directory and a /soft/JBoss-5.1.0.GA directory I can run the respective bin run.sh commands, however, both try to use the $JBOSS_HOME and $PATH environment variables which are set to the first installation (JBoss-4.2.3). So, how can I set separate environment variables? Or tell my new JBoss 5.1 installation to use another environment variable for JBOSS_HOME? How would I go about getting these two running together? Thanks!
© Stack Overflow or respective owner