You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Khawaja Shams <ks...@gmail.com> on 2006/01/27 00:14:41 UTC

Concurrently running tomcat and JBoss

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

Posted by Markus Schönhaber <ma...@schoenhaber.de>.
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org