Progress.
Uninstalled the FC10 tomcat6 (it does need
documentation, asp classes, servlet api classes, ROOT + examples, and
other deps)
Reinstalled from tc main site. As root.
In $CATALINA_HOME/bin/jsvc-src/native there is a file Tomcat.sh
which, when updated for various changes
1. paths.
2. PID
2009/2/2 André Warnier a...@ice-sa.com:
Just a few points though in defense of the packagers, a much-criticised
group (to which I do not belong by the way) :
NO critique of their work.
They have different drivers.
- like the Tomcat people, they are working for free, in a spirit of helping
Dave Pawson wrote:
[...]
I tried the Fedora install (instead of the Main Tomcat one).
It's horribly complex. Installs all over the machine,
Is missing the manager app and the docs.
Yuk.
That will be music to the ears of some; can't wait for their comments.
As for me, I'm glad to hear that it
2009/2/1 Qiao Jin bra...@gmail.com:
Could it be that you are running the start-up script (the one using jsvc) as
a normal user and thus does not have the permission to write to /var/run? In
my system, CentOS 5, /var/run can only be written by root. I run my jsvc
script as root and use the
Fedora 10, Tomcat 6
Looking to set up a startup/shutdown script
based on
http://www.mythic-beasts.com/support/tomcat-initscript
with paths corrected.
Adding debug I'm seeing, in the logs
INFO: Jk running ID=0 time=0/27 config=null
Feb 1, 2009 7:18:44 AM org.apache.catalina.startup.Catalina
2009/2/1 Gregor rc4...@googlemail.com:
are you rumning the startup-script as root?
can u post your startup-script?
rgds
gregor
No. I installed it as a 'normal' user.
Workaround:
case $1 in
start)
#
# Start Tomcat
#
sh $CATALINA_HOME/bin/startup.sh
;;
stop)
#
On Sun, 2009-02-01 at 08:20 +, Dave Pawson wrote:
Fedora 10, Tomcat 6
Looking to set up a startup/shutdown script
based on
http://www.mythic-beasts.com/support/tomcat-initscript
with paths corrected.
Adding debug I'm seeing, in the logs
INFO: Jk running ID=0 time=0/27 config=null
2009/2/1 Brian Millett bmill...@gmail.com:
Well, I use the jsvc daemon to start my tomcat on fedora 10. Tomcat 6
your mileage will vary, but here is my start stript.
stop)
#
# Stop Tomcat
#
PID=`cat /var/run/jsvc.pid`
kill $PID
;;
*)
echo Usage tomcat.sh
Hi, not an expert, but if the PID variable is empty or the pid file is
not there then you will have problems (like when the daemon was killed
before). Try this:
stop)
PIDFILE=/var/run/jsvc.pid
if [ -f $PIDFILE ]; then
PID=`cat $PIDFILE`
if [ $? == 0 ! -z $PID ];
Dave Pawson wrote:
2009/2/1 Gregor rc4...@googlemail.com:
are you rumning the startup-script as root?
can u post your startup-script?
rgds
gregor
No. I installed it as a 'normal' user.
Workaround:
case $1 in
start)
#
# Start Tomcat
#
sh $CATALINA_HOME/bin/startup.sh
2009/2/1 André Warnier a...@ice-sa.com:
I.e. the PID isn't being written to /var/run/jsvc.pid
Any suggestions please?
10..9..8..7..
(just the countdown before someone else here tells you to go ask your
question in a Fedora forum)
A word of explanation, before someone else puts it more
2009/2/1 André Warnier a...@ice-sa.com:
No. I installed it as a 'normal' user.
Workaround:
which is nice to know :-)
Yes, but now you are cheating with respect to your first post.
You are not using jsvc anymore.
No, but it lets me move on a little.
And, you are running Tomcat as
Dave Pawson wrote:
Fedora 10, Tomcat 6
Looking to set up a startup/shutdown script
based on
http://www.mythic-beasts.com/support/tomcat-initscript
with paths corrected.
Adding debug I'm seeing, in the logs
INFO: Jk running ID=0 time=0/27 config=null
Feb 1, 2009 7:18:44 AM
are you rumning the startup-script as root?
can u post your startup-script?
rgds
gregor
Am 01.02.2009 um 12:00 schrieb Dave Pawson dave.paw...@gmail.com:
2009/2/1 André Warnier a...@ice-sa.com:
I.e. the PID isn't being written to /var/run/jsvc.pid
Any suggestions please?
10..9..8..7..
Dave Pawson wrote:
2009/2/1 André Warnier a...@ice-sa.com:
I.e. the PID isn't being written to /var/run/jsvc.pid
Any suggestions please?
10..9..8..7..
(just the countdown before someone else here tells you to go ask your
question in a Fedora forum)
A word of explanation, before someone
after binding to
port 80.
-Qiao
-Original Message-
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Sent: Sunday, February 01, 2009 5:12 AM
To: Tomcat Users List
Subject: Re: jsvc problem with PID
2009/2/1 Gregor rc4...@googlemail.com:
are you rumning the startup-script as root?
can
16 matches
Mail list logo