Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2002 21:13:52 +0100
From:      Thomas Vogt <turbo23@gmx.net>
To:        freebsd-ports@FreeBSD.ORG
Subject:   jakarta-tomcat-3.2.3 doens't go into background after starting it with the default script
Message-ID:  <20020204211352.6dec8bbe.turbo23@gmx.net>

next in thread | raw e-mail | index | archive | help
Hello

I've installed the updated version from jakarta-tomcat in the ports
today. Since then I've problem to start tomcat. There is no error
message when I start tomcat with the shell script 020.jakarta-tomcat.sh
or with tomcatctl start. But the process is not going in the background.
I've added "set -x" in the starscrtip to see what happend. Tomcat is
starting when i use the shell script 020.jakarta-tomcate.sh. But after
I've started it with the script, tomcat does not go into background. Any
idea why? 

-----
er.jar
+ [ -f /lib/tools.jar ]
+ [ 020.jakarta-tomcat.sh = jakarta-tomcat.sh ]
+ AS_RC_SCRIPT=no
+ [ a = a ]
+ JAVA_HOME=/usr/local/jdk1.3.1
+ JAVA_CMD=/usr/local/jdk1.3.1/bin/java
+ start
+ [ ! -d /usr/local/jakarta-tomcat3.2.3 ]
+ [ ! -r /usr/local/jakarta-tomcat3.2.3/lib/webserver.jar ]
+ [ ! -x /usr/local/jdk1.3.1/bin/java ]
+ [ no = yes ]
+ su - tomcat -c (cd /usr/local/jakarta-tomcat3.2.3 &&
/usr/local/jdk1.3.1/bin/j ava -cp
/usr/local/jakarta-tomcat3.2.3/lib/ant.jar:/usr/local/jakarta-tomcat3.2.
3/lib/jasper.jar:/usr/local/jakarta-tomcat3.2.3/lib/jaxp.jar:/usr/local
/jakarta-
tomcat3.2.3/lib/parser.jar:/usr/local/jakarta-tomcat3.2.3/lib/servlet.j
ar:/usr/l
ocal/jakarta-tomcat3.2.3/lib/test:/usr/local/jakarta-tomcat3.2.3/lib/we
bserver.j ar -Dtomcat.home=/usr/local/jakarta-tomcat3.2.3
org.apache.tomcat.startup.Tomcat) >>
/usr/local/jakarta-tomcat3.2.3/logs/stdout.log 2>>
/usr/local/jakarta-tomca t3.2.3/logs/stderr.log

Thats it. It runs but doesn't go into background from my shell. The
"old" Tomcat was running fine with the old startscript which was in the
port before. I use FreeBSD 4.5-Release

regards
Thomas Vogt

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020204211352.6dec8bbe.turbo23>