you'd write it yourself
for example, configure CATALINA_HOME, CATALINA_BASE, TOMCAT_USER and
CATALINA_PID and to start you would do
start() {
isrunning
if [ $? -eq 0 ];
then
echo "Tomcat is already running: PID=$PID"
return 1
fi
if [ -f $CATALINA_BASE/b
2009/2/10 Mark Thomas :
> The main use of jsvc is to bind to port <1025 (usually 80 and 443) but run as
> a
> non-privileged user. If you aren't listening on a port <1025 then you probably
> don't need it.
It didn't work for me Mark!
I run jsvc as root. But yes, I'm listening on 8080.
the other
Dave Pawson wrote:
> 2009/2/10 Filip Hanik - Dev Lists :
>> What benefit do you get from running it with JSVC, vs just writing a simple
>> script into /etc/init.d/ to manage it yourself?
>
> It was offered. I went to the trouble of amending it to make it work.
> I do manage it myself? How would an
uestions.
- Original Message -
From: "Dave Pawson"
To: "Tomcat Users List"
Sent: Tuesday, February 10, 2009 6:39 AM
Subject: Re: Simple Tomcat 6, servlet tutorial. First draft for comment
2009/2/10 Filip Hanik - Dev Lists :
What benefit do you get from running it
2009/2/10 Filip Hanik - Dev Lists :
> What benefit do you get from running it with JSVC, vs just writing a simple
> script into /etc/init.d/ to manage it yourself?
It was offered. I went to the trouble of amending it to make it work.
I do manage it myself? How would another script in init.d help?
What benefit do you get from running it with JSVC, vs just writing a
simple script into /etc/init.d/ to manage it yourself?
Filip
Dave Pawson wrote:
http://www.dpawson.co.uk/tomcat
Any feedback/improvements appreciated. Particularly any errors.
Meant as a simple example of getting a first se
2009/2/8 Caldarale, Charles R :
> Looks pretty good. Some nits to pick:
np
>
> Under "Compile the restlet example code", you include catalina.jar and
> tomcat-juli.jar; neither of these should be necessary to compile a servlet.
> If they are necessary, there's something wrong with the servlet
> From: Dave Pawson [mailto:dave.paw...@gmail.com]
> Subject: Simple Tomcat 6, servlet tutorial. First draft for comment
>
> http://www.dpawson.co.uk/tomcat
Looks pretty good. Some nits to pick:
Under "Compile the restlet example code", you include catalina.jar and
tomca
Done. Thanks Michel
2009/2/8 michel :
> Dave,
>
> I would suggest that section headings can be a bit clearer, as in the
> following:
...
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
-
To unsubscribe, e
09 7:45 AM
Subject: Simple Tomcat 6, servlet tutorial. First draft for comment
http://www.dpawson.co.uk/tomcat
Any feedback/improvements appreciated. Particularly any errors.
Meant as a simple example of getting a first servlet working, based on
help I received from this list.
regards
--
D
http://www.dpawson.co.uk/tomcat
Any feedback/improvements appreciated. Particularly any errors.
Meant as a simple example of getting a first servlet working, based on
help I received from this list.
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
---
11 matches
Mail list logo