Concurrently running tomcat and JBoss

2006-01-26 Thread Khawaja Shams
Hello,
 has anyone had any luck in concurrently running two instance of tomcat
together? What about an instance of JBoss and a stand alone tomcat? The
reason why I need to do this is that some of the applications are
conflicting with each other and cannot run together in JBoss.  Since JBoss
is still used for other apps, including apps that use the tomcat part of
JBoss, the only solution I have is to concurrently run a tomcat instance.
What ports will I need to change in order to avoid conflict with JBoss
ports? The ports I plan to change are as follows:
8080
8443
8005
8009
8082

Would changing these values in the server.xml be enough? Last time I tried
this, the shutdown script stopped working.  Are there hard code values in
the scripts? Any suggestions on how I could go about getting this to work?
Thanks in advance.


Regards,
Khawaja Shams


Re: Concurrently running tomcat and JBoss

2006-01-26 Thread Markus Schönhaber
Khawaja Shams wrote:
  has anyone had any luck in concurrently running two instance of tomcat
 together?

Yes.

 What about an instance of JBoss and a stand alone tomcat? The 
 reason why I need to do this is that some of the applications are
 conflicting with each other and cannot run together in JBoss.  Since JBoss
 is still used for other apps, including apps that use the tomcat part of
 JBoss, the only solution I have is to concurrently run a tomcat instance.
 What ports will I need to change in order to avoid conflict with JBoss
 ports? The ports I plan to change are as follows:
 8080
 8443
 8005
 8009
 8082

 Would changing these values in the server.xml be enough? Last time I tried
 this, the shutdown script stopped working.  Are there hard code values in
 the scripts? Any suggestions on how I could go about getting this to work?
 Thanks in advance.

All the ports Tomcat uses are defined in server.xml. So, open your standalone 
Tomcat's server.xml in a text editor, search for  port= and for all the 
hits you get (at least if they're not embedded in comments), change the 
port's number to an unused value. That should be enough.
BTW: if Tomcat complains about a port being in use, it isn't neccessarily 
another Tomcat instance that's blocking the port. netstat is your friend.

Regards
  mks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]