You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "brlm@comcast" <br...@comcast.net> on 2003/09/27 17:03:26 UTC
Tomcat clustering
Hi, has anybody tried clustering Tomcat? I have read this article http://www.onjava.com/pub/a/onjava/2002/07/17/tomcluster.html but has been able to successfully configure this.
Thanks for any help.
Bern
Re: Tomcat on Linux
Posted by Peter Harrison <pe...@nothingbutnet.co.nz>.
On Mon, 29 Sep 2003 06:42, Joao Medeiros wrote:
> Hi folks,
>
> I've decided to start doing some testing on Tomcat under Linux for which
> I have installed Redhat 8 which is now up and running, downloaded the
> JSDK for Linux which is also setup and downloaded the Tomcat files but
> before I go ahead and start installing it I was wondering if you could
> help me out determining a few things:
>
> - Shall I create a new user, i.e. 'Tomcat' and install the server under
> it or shall I just put it under ROOT? I know that if I do choose to
> install it under a different user other than ROOT I'll have to setup
> special execute permissions so the server can run on port 80 for
> instance...
I have generally set up Tomcat under my own user account and run it on 8080.
If you are in production you should be running Apache on the front end
anyway, although I suggest you set up a "tomcat" account under users if this
is the case, and install tomcat in /usr/local/tomcat. You don't need to do
anything clever to make it work - tomcat runs without any special
permissions.
I have however installed the JDK under /usr/local/java, and given execute
permissions, but not write permissions. In other words its a standard JDK
install if performed under root. I havn't dealt with permissions to TCP port
80 if tomcat isn't running as root, so I can't help there.
> - I read somewhere that in order for Tomcat to run as a daemon one will
> have to use the jsvc tool. Has anyone got any experience in doing it?
I have a script which runs on boot to start tomcat on my production boxes. It
can be found online easy enough. Essentially the script calls startup.sh. I
have been running Tomcat on Linux for at least four years now - since 1999
when I first got into this technology.
Re: Tomcat on Linux
Posted by Peter Harrison <pe...@nothingbutnet.co.nz>.
On Mon, 29 Sep 2003 06:42, Joao Medeiros wrote:
> Hi folks,
>
> I've decided to start doing some testing on Tomcat under Linux for which
> I have installed Redhat 8 which is now up and running, downloaded the
> JSDK for Linux which is also setup and downloaded the Tomcat files but
> before I go ahead and start installing it I was wondering if you could
> help me out determining a few things:
>
> - Shall I create a new user, i.e. 'Tomcat' and install the server under
> it or shall I just put it under ROOT? I know that if I do choose to
> install it under a different user other than ROOT I'll have to setup
> special execute permissions so the server can run on port 80 for
> instance...
I have generally set up Tomcat under my own user account and run it on 8080.
If you are in production you should be running Apache on the front end
anyway, although I suggest you set up a "tomcat" account under users if this
is the case, and install tomcat in /usr/local/tomcat. You don't need to do
anything clever to make it work - tomcat runs without any special
permissions.
I have however installed the JDK under /usr/local/java, and given execute
permissions, but not write permissions. In other words its a standard JDK
install if performed under root. I havn't dealt with permissions to TCP port
80 if tomcat isn't running as root, so I can't help there.
> - I read somewhere that in order for Tomcat to run as a daemon one will
> have to use the jsvc tool. Has anyone got any experience in doing it?
I have a script which runs on boot to start tomcat on my production boxes. It
can be found online easy enough. Essentially the script calls startup.sh. I
have been running Tomcat on Linux for at least four years now - since 1999
when I first got into this technology.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Tomcat on Linux
Posted by Joao Medeiros <jo...@ntlworld.com>.
Hi folks,
I've decided to start doing some testing on Tomcat under Linux for which
I have installed Redhat 8 which is now up and running, downloaded the
JSDK for Linux which is also setup and downloaded the Tomcat files but
before I go ahead and start installing it I was wondering if you could
help me out determining a few things:
- Shall I create a new user, i.e. 'Tomcat' and install the server under
it or shall I just put it under ROOT? I know that if I do choose to
install it under a different user other than ROOT I'll have to setup
special execute permissions so the server can run on port 80 for
instance...
- I read somewhere that in order for Tomcat to run as a daemon one will
have to use the jsvc tool. Has anyone got any experience in doing it?
TIA,
/JM
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Tomcat on Linux
Posted by Joao Medeiros <jo...@ntlworld.com>.
Hi folks,
I've decided to start doing some testing on Tomcat under Linux for which
I have installed Redhat 8 which is now up and running, downloaded the
JSDK for Linux which is also setup and downloaded the Tomcat files but
before I go ahead and start installing it I was wondering if you could
help me out determining a few things:
- Shall I create a new user, i.e. 'Tomcat' and install the server under
it or shall I just put it under ROOT? I know that if I do choose to
install it under a different user other than ROOT I'll have to setup
special execute permissions so the server can run on port 80 for
instance...
- I read somewhere that in order for Tomcat to run as a daemon one will
have to use the jsvc tool. Has anyone got any experience in doing it?
TIA,
/JM
RE: Tomcat clustering
Posted by Neil Aggarwal <ne...@JAMMConsulting.com>.
Bern:
We are using clustering on Tomcat 4.
Actually, at the current time, we are working with Filip Hanik
to track down a performance problem with the clustering code.
Let me know what I can do to help you.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! => http://newsletter.JAMMConsulting.com
> -----Original Message-----
> From: brlm@comcast [mailto:brlm@comcast.net]
> Sent: Saturday, September 27, 2003 10:03 AM
> To: Tomcat Users List
> Subject: Tomcat clustering
>
>
> Hi, has anybody tried clustering Tomcat? I have read this
> article
> http://www.onjava.com/pub/a/onjava/2002/07/17/tomcluster.html
> but has been able to successfully configure this.
>
> Thanks for any help.
>
> Bern
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Tomcat clustering
Posted by Neil Aggarwal <ne...@JAMMConsulting.com>.
Bern:
We are using clustering on Tomcat 4.
Actually, at the current time, we are working with Filip Hanik
to track down a performance problem with the clustering code.
Let me know what I can do to help you.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! => http://newsletter.JAMMConsulting.com
> -----Original Message-----
> From: brlm@comcast [mailto:brlm@comcast.net]
> Sent: Saturday, September 27, 2003 10:03 AM
> To: Tomcat Users List
> Subject: Tomcat clustering
>
>
> Hi, has anybody tried clustering Tomcat? I have read this
> article
> http://www.onjava.com/pub/a/onjava/2002/07/17/tomcluster.html
> but has been able to successfully configure this.
>
> Thanks for any help.
>
> Bern
>