Bug 43679 - Error starting jakarta-tomcat41
Summary: Error starting jakarta-tomcat41
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: java (show other bugs)
Version: 4.6-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ernst de Haan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-05 03:30 UTC by Malachi de AElfweald
Modified: 2004-01-02 12:34 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malachi de AElfweald 2002-10-05 03:30:02 UTC
If I try to start tomcat via the 'tomcat41ctl start', 'ps xauww | grep 
java' only shows one entry, no logs are produced, and tomcat doesn't run. 
It does not matter if I run it from the $CATALINA_HOME directory.
If I instead go into $CATALINA_HOME/bin and run './startup.sh', 'ps xauww 
| grep java' shows 9 java processes... 15 after  Apache 
Tomcat/4.1.12 shows up in logs/catalina.out...  then, in 
logs/catalina.out, it says "Unexpected Signal: 11 occurred at 
PC=0x2A24DCF7, Function=[Unknown.],Library=(N/A). We are unable to locate 
the function name symbol for the error that just occurred. Please refer to 
the release documentation for possible reason and solutions." Then under 
"Dynamic libraries: Can not get information for pid=48057" and "HotSpot 
Virtual Machine Error: 11, Error ID: 4F530E43505002E6", jvm "1.4.1-b21 
mixed mode".  It says that it created hs_err_pid48067.log, but I can't 
find it.  Once it crashes, ps shows no java processes.

Fix: 

'java -Dcatalina.home=$CATALINA_HOME -jar $CATALINA_HOME/bin/bootstrap.jar 
start'... However, this does not appear to update the log files.  Also, 
the /usr/local/etc/rc.d/---script--- would need to be modified to do this 
instead of using tomcat41ctl.  Would be better if we could get tomcat41ctl 
working.  Think it would work if it moved the -D option before -jar, and 
if it put the $CATALINA_HOME/bin/bootstrap.jar instead of just 
bin/bootstrap.jar (didn't seem to matter what directory I was in when I 
ran it).
How-To-Repeat: Part one of the error, by running 'tomcat41ctl start'. Part two of the 
error by going into $CATALINA_HOME/bin and typing './startup.sh'. Check 
$CATALINA_HOME/logs/catalina.out.
Comment 1 Patrick Li freebsd_committer freebsd_triage 2002-10-08 21:42:27 UTC
Responsible Changed
From-To: freebsd-ports->znerd

Over to maintainer
Comment 2 Ernst de Haan freebsd_committer freebsd_triage 2002-10-10 00:13:55 UTC
State Changed
From-To: open->feedback

A patch has been submitted. Please update your ports 
collection and confirm that the problem is now solved.
Comment 3 Ernst de Haan freebsd_committer freebsd_triage 2004-01-02 12:34:08 UTC
State Changed
From-To: feedback->closed

No feedback was received since 9 Oct 2002.