I am cross posting here for those trying to run Tomcat
v3.3.1 under IBM OS/390 USS.
------------------------------------------

Solution found ! 
For those who might encounter this problem in the future,
just start Tomcat in the foreground.

I modified the startup.sh as :
#! /bin/sh
#
# $Id: startup.sh,v 1.4 2001/09/17 04:59:32 costin Exp $
# Shell script to startup the server
BASEDIR=`dirname $0`
$BASEDIR/tomcat.sh run $@


By default the Tomcat startup.sh script starts Tomcat as a
background process. As a started task the after creating
the backgound process the started task might have just
terminates. Could it be that the background then tried to
communicate to the parent process and couldn't and thus
failed ?

Joseph Tan


 -----Original Message-----
From:   TAN, Joseph  
Sent:   Monday, 14 October 2002 9:25
To:     '[EMAIL PROTECTED]'
Subject:        Starting Tomcat as a Started Task

I am trying to start Apache Tomcat version 3.3.1 as a
started task but it is failing with
a transaction dump.

Message in the STDERR :
VMHP001: JVM signal handler receives signal number 1
(SIGHUP) 
JVMHP002: JVM requesting Transaction Dump
JVMHP007: JVM default dump data/set name pattern for
IEATDUMP was RSTYHT.JVM.TDUMP.&JOBNAME..D&YYMMDD..T&HHMMSS.
JVMHP005: Complete Transaction dump was written in 19857ms
JVMHP006: JVM requesting CEEDUMP
JVMHP009: Complete CEEDUMP was written in 476ms 

My JCL :

//STEP    EXEC  PGM=BPXBATCH,                             
//  PARM='sh startup.sh'                                   
      
//* STDIN DD PATH='/usr/local/java/tc/d/bin/startup.sh',  
//*  PATHOPTS=(ORDONLY)                                   
//STDOUT   DD PATH='/usr/local/java/tc/d/startup.log',    
//            PATHOPTS=(OWRONLY,OCREAT,OTRUNC),           
//            PATHMODE=(SIRWXU,SIRWXG,SIROTH,SIXOTH)      
//STDERR   DD PATH='/usr/local/java/tc/d/startup.err',    
//            PATHOPTS=(OWRONLY,OCREAT,OTRUNC),           
//            PATHMODE=(SIRWXU,SIRWXG,SIROTH,SIXOTH)      
//                                                        

Under Telnet I have no problem starting Tomcat using the
same shell script as above
and Tomcat runs happilly as a background process.

What should I be looking at for investigation ?
Not sure how to read the dump.

Joseph Tan


http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
- Now send & receive IMs on your mobile via SMS

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to