RE: Three tomcat instances

2009-06-03 Thread Lawrence Lamprecht
If you want to run 3 tomcats then you need to have 3 tomcat installations. One 
tomcat per instance that you want to have server, this in turn will mean that 
you will have 3 separate server.xml files.

You can then load balance the 3 tomcats to be referenced as required.

You can even create workers for each instance and then not loadbalance. Call 
exach required worker as you need it directly.

Kind regards / Met vriendelijke groet,
Lawrence Lamprecht

-Original Message-
From: xalia...@freemail.gr [mailto:xalia...@freemail.gr] 
Sent: Wednesday, June 03, 2009 9:54 AM
To: users@tomcat.apache.org
Subject: Three tomcat instances


I write a java web service and depending on a result i want it to call
other web service (http://localhost:80/axis/serv.jws).
But, i want serv.jws to be handled by three different servers depending
on where i want to send it.
How can i run three tomcats simultaneously?I read the server documentation,but 
mentions that only one server i can set into server.xml

Any help appreciated.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Three tomcat instances

2009-06-03 Thread Peter Crowther
You don't tell us which version of Tomcat you're running, so it's hard to point 
you to the correct docs for your version on the Web.  However, if memory 
serves, look at the file RUNNING.txt in your Tomcat directory.  There's a 
section in there about setting up multiple Tomcats on the same machine.

- Peter

> -Original Message-
> From: xalia...@freemail.gr [mailto:xalia...@freemail.gr]
> Sent: 03 June 2009 08:54
> To: users@tomcat.apache.org
> Subject: Three tomcat instances
>
>
> I write a java web service and depending on a result i want it to call
> other web service (http://localhost:80/axis/serv.jws).
> But, i want serv.jws to be handled by three different servers
> depending
> on where i want to send it.
> How can i run three tomcats simultaneously?I read the server
> documentation,but mentions that only one server i can set
> into server.xml
>
> Any help appreciated.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org