Mladen,
On 25.3.2013 12:36, Mladen Turk wrote:
On 03/25/2013 12:09 PM, Ognjen Blagojevic wrote:
On 22.3.2013 17:48, Mark Thomas wrote:
I have a problem running jsvc from commons-daemon-1.0.14 on CentOS 5.9
64-bit.
I get:
Starting tomcat: /etc/init.d/tomcat: line 173: 19336 Segmentation
fault "$JSVC" $JSVC_OPTS -java-home "$JAVA_HOME" -user
$TOMCAT_USER -pidfile "$CATALINA_PID" -wait 10 -outfile
"$CATALINA_OUT" -errfile "&1" -classpath "$CLASSPATH" "$LOGGING_CONFIG"
$JAVA_OPTS $CATALINA_OPTS -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS"
-Dcatalina.base="$CATALINA_BASE" -Dcatalina.home="$CATALINA_HOME"
-Djava.io.tmpdir="$CATALINA_TMP" $CATALINA_MAIN
Jsvc 1.0.13 works fine.
Can anyone verify?
Try setting LD_LIBRARY_PATH before invoking jsvc.
BTW, please open a new thread so that we don't hijack this one.
It wasn't my intention to hijack thread, but to point out to possible
regression in the Tomcat release candidate. Commons daemon 1.0.13
shipped with official Tomcat 7.0.37 works for me, as it used to worked
for years.
Commons daemon 1.0.14 shipped with Tomcat 7.0.39 does not work for me.
For both jsvc 1.0.13 and 1.0.14 I used instructions on official Tomcat
website:
http://tomcat.apache.org/tomcat-7.0-doc/setup.html#Unix_daemon
LD_LIBRARY_PATH is not mentioned in that document.
Regards,
Ognjen
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org