TOMCAT for ZOS class not found error

Issues and Questions related to running Apache Tomcat on z/OS
Post Reply
gpklos
Posts: 10
Joined: Mon Oct 26, 2009 10:44 am

TOMCAT for ZOS class not found error

Post by gpklos » Mon Feb 01, 2010 3:16 pm

I just downloaded the 6.0.18 tomcat for zos. We are running zos 1.11 with java version 1.6.
"java version "1.6.0"
Java(TM) SE Runtime Environment (build pmz6460sr6-20091029_01(SR6))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 z/OS s390x-64 jvmmz6460sr6-20091028_4"

Anyways when I start tomcat whether via proc or batch job I keep getting

Java(TM) SE Runtime Environment (build pmz6460sr6-20091029_01 (SR6))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 z/OS s390x-64 jvmmz6460sr6-20091028_
J9VM - 20091028_045330
JIT - r9_20090902_1330ifx1
GC - 20090817_AA)
JVMJZBL1023N Invoking org.apache.catalina.startup.Bootstrap.main()...
JVMJZBL2008E Could not find or load class: org.apache.catalina.startup.Bootstrap
JVMJZBL2007E Stack trace follows:
java.lang.NoClassDefFoundError: org.apache.catalina.startup.Bootstrap
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootst
.at java.net.URLClassLoader.findClass(URLClassLoader.java:421)


I've setup and followed the directions. They seemed pretty clear. We are not using DB2 so I didn't set those environments up. My class paths seem to be setup correctly, so I don't know why it can't find what is looking for.

Here is my output with the +T for tracing.
Any help would really be appreciated.
Gary

IAT6140 JOB ORIGIN FROM GROUP=ANYLOCAL, DSP=SR , DEVICE=STC , 0000
14:45:26 ---- IAT6853 THE CURRENT DATE IS MONDAY, 01 FEB 2010 ----
//TCPROC JOB MSGLEVEL=1
//STARTING EXEC TCPROC
1 //TCPROC JOB MSGLEVEL=1
2 //STARTING EXEC TCPROC
XX*********************************************************************
XX* PROC for running Apache Tomcat using the JZOS batch Java launcher.
XX* This can be used from a batch job, or from a started task so
XX* long as the supplied parameters are either included or supplied.
XX*
XX* For more information see: SAMPLIB($README) and IBM JZOS User's Gd.
XX*
XX* NB: This JCL must be Mixed Case
XX*********************************************************************
XX***ROC PROC CNFGLIB=, < (RQD) PDS w/ config XML & env script
3 XXTCPROC PROC CNFGLIB=XY109G4.TOMCAT.JCL,
XX TCENV=TCENV, < Member of CNFLIB with STDENV script
XX JZOSLIB='SYS1.SIEALNKE', < JZOS launcher PDSE LIB
XX VERSION='66', < JZOSVM version: 50,56,60,66
XX LOGLVL='+T', < Debug LVL: +I(nfo) +D(ebug) +T(race)
XX REGSIZE='0M', < Max region
XX* DB2PRFX=DSN910, < Prefix for DB2 STEPLIBs, if used
XX LEPARM='',
XX JAVACLS='org.apache.catalina.startup.Bootstrap',
XX ARGS='start'
4 XXJAVAJVM EXEC PGM=JVMLDM&VERSION,REGION=&REGSIZE,
XX PARM='&LEPARM/&LOGLVL &JAVACLS &ARGS'
IEFC653I SUBSTITUTION JCL - PGM=JVMLDM66,REGION=0M,PARM='/+T org.apache.catalina.startup.Bootstrap start'
5 XXSTEPLIB DD DISP=SHR,DSN=&JZOSLIB
XX* DD DISP=SHR,DSN=&DB2PRFX..SDSNEXIT < Uncomment for DB2
XX* DD DISP=SHR,DSN=&DB2PRFX..SDSNLOAD < type-2
XX* DD DISP=SHR,DSN=&DB2PRFX..SDSNLOD2 < JDBC
IEFC653I SUBSTITUTION JCL - DISP=SHR,DSN=SYS1.SIEALNKE
6 XXSTDENV DD DISP=SHR,DSN=&CNFGLIB(&TCENV) < STDENV shell script
IEFC653I SUBSTITUTION JCL - DISP=SHR,DSN=XY109G4.TOMCAT.JCL(TCENV)
7 XXTCCONFIG DD DISP=SHR,DSN=&CNFGLIB < Tomcat XML cnfig
IEFC653I SUBSTITUTION JCL - DISP=SHR,DSN=XY109G4.TOMCAT.JCL
8 XXSYSPRINT DD SYSOUT=* < System stdout
9 XXSYSOUT DD SYSOUT=* < System stderr
10 XXSTDOUT DD SYSOUT=* < Java System.out
11 XXSTDERR DD SYSOUT=* < Java System.err
12 XXCEEDUMP DD SYSOUT=*
13 XXABNLIGNR DD DUMMY
14 XX PEND
STMT NO. MESSAGE
2 IEFC001I PROCEDURE TCPROC WAS EXPANDED USING SYSTEM LIBRARY SYS1.PROCLIB
14:45:26 ---- IAT6853 THE CURRENT DATE IS MONDAY, 01 FEB 2010 ----
14:45:27 IEF695I START TCPROC WITH JOBNAME TCPROC IS ASSIGNED TO USER TCPROC , GROUP PROCGRP
14:45:27 IEF403I TCPROC - STARTED - TIME=14.45.27
14:45:43 IEF404I TCPROC - ENDED - TIME=14.45.43
14:45:43 IAT6819 JESMSGLG DATASET SPINOFF DUE TO JOB END
14:45:26 ---- IAT6853 THE CURRENT DATE IS MONDAY, 01 FEB 2010 ----
IEF695I START TCPROC WITH JOBNAME TCPROC IS ASSIGNED TO USER TCPROC , GROUP PROCGRP
IEF236I ALLOC. FOR TCPROC TCPROC
IEF237I 3116 ALLOCATED TO STEPLIB
IEF237I 3177 ALLOCATED TO STDENV
IEF237I 3177 ALLOCATED TO TCCONFIG
IEF237I JES3 ALLOCATED TO SYSPRINT
IEF237I JES3 ALLOCATED TO SYSOUT
IEF237I JES3 ALLOCATED TO STDOUT
IEF237I JES3 ALLOCATED TO STDERR
IEF237I JES3 ALLOCATED TO CEEDUMP
IEF237I DMY ALLOCATED TO ABNLIGNR
IEF237I 3096 ALLOCATED TO SYS00001
IEF285I SYS1.TCPIP.PARMS KEPT
IEF285I VOL SER NOS= P3TS61.
IEF237I 3096 ALLOCATED TO SYS00002
IEF285I SYS1.TCPIP.PARMS KEPT
IEF285I VOL SER NOS= P3TS61.
IEF237I 3116 ALLOCATED TO SYS00004
IEF285I SYS1.STANDARD.TCPXLBIN KEPT
IEF285I VOL SER NOS= P3TS63.
IEF142I TCPROC TCPROC - STEP WAS EXECUTED - COND CODE 0100
IEF285I SYS1.SIEALNKE KEPT
IEF285I VOL SER NOS= P3TS63.
IEF285I XY109G4.TOMCAT.JCL KEPT
IEF285I VOL SER NOS= P3T460.
IEF285I XY109G4.TOMCAT.JCL KEPT
IEF285I VOL SER NOS= P3T460.
IEF285I TCPROC.TCPROC.JOB00025.D000000B.? SYSOUT
IEF285I TCPROC.TCPROC.JOB00025.D000000C.? SYSOUT
IEF285I TCPROC.TCPROC.JOB00025.D000000D.? SYSOUT
IEF285I TCPROC.TCPROC.JOB00025.D000000E.? SYSOUT
IEF285I TCPROC.TCPROC.JOB00025.D000000F.? SYSOUT
IEF373I STEP/JAVAJVM /START 2010032.1445
IEF374I STEP/JAVAJVM /STOP 2010032.1445 CPU 0MIN 01.44SEC SRB 0MIN 00.01SEC VIRT 28K SYS 236K EXT 18904K SYS 127540K
IEF375I JOB/TCPROC /START 2010032.1445
IEF376I JOB/TCPROC /STOP 2010032.1445 CPU 0MIN 01.44SEC SRB 0MIN 00.01SEC
14:45:43 IAT6819 JESYSMSG DATASET SPINOFF DUE TO JOB END
JVMJZBL2004N Log level has been set to: T
JVMJZBL2999T -> JzosVM()
JVMJZBL1001N JZOS batch Launcher Version: 2.3.0 2008-05-12
JVMJZBL1002N Copyright (C) IBM Corp. 2005. All rights reserved.
JVMJZBL2999T <- JzosVM()
JVMJZBL2999T -> run()
JVMJZBL1028I Region requested = 0K, Actual below/above limit = 8M / 1684M, MEMLIMIT=17592186040320M
JVMJZBL1053I OS Release R21.00 Machine 2094
JVMJZBL2999T -> adoptEnvironment()
JVMJZBL2999T -> spawnChild()
JVMJZBL1036D Spawned child shell process with PID: 33554535
JVMJZBL2999T <- spawnChild()
JVMJZBL2999T Writing shell script to child's stdin:
JVMJZBL2999T # ---------------------------------------------------------------------
JVMJZBL2999T # This is a shell script which configures environment variables
JVMJZBL2999T # for the Java JVM in order to run Tomcat. Variables must be
JVMJZBL2999T # exported to be seen by the JZOS launcher or JVM.
JVMJZBL2999T #
JVMJZBL2999T # Sites may wish to factor some of this into a common external
JVMJZBL2999T # shell script and dot it or use concatenated DDs to piece together
JVMJZBL2999T # the configuration for each Tomcat instance.
JVMJZBL2999T # See SAMPJCL($README) for more information.
JVMJZBL2999T
JVMJZBL2999T # Dot in the installation profile script, which is useful in setting
JVMJZBL2999T # the system LOCALE, LANG, and TZ variables.
JVMJZBL2999T . /etc/profile
JVMJZBL2999T
JVMJZBL2999T # ----------------------------------------------------------------------
JVMJZBL2999T # $$$ Often you will only need to customize this section:
JVMJZBL2999T # ----------------------------------------------------------------------
JVMJZBL2999T export JAVA_HOME=/usr/lpp/java/J6.0_64
JVMJZBL2999T CATALINA_HOME=/usr/local/tomcat
JVMJZBL2999T CATALINA_BASE=/usr/local/tomcat
JVMJZBL2999T # DB2_JDBC_HOME=/usr/lpp/db2910_jdbc # igore if no DB2
JVMJZBL2999T # DB2_SSID=DSN9 # ignore if no DB2 type-2 JDBC
JVMJZBL2999T IJO="-Xms64m -Xmx128m" # min and max Java heap sizes
JVMJZBL2999T
JVMJZBL2999T # ----------------------------------------------------------------------
JVMJZBL2999T # Configure Java Properties via IBM_JAVA_OPTIONS env variable.
JVMJZBL2999T # ----------------------------------------------------------------------
JVMJZBL2999T IJO="$IJO -Dfile.encoding=ISO8859-1" # ASCII default encoding rqd
JVMJZBL2999T IJO="$IJO -Dcatalina.base=${CATALINA_BASE}"
JVMJZBL2999T IJO="$IJO -Dcatalina.home=${CATALINA_HOME}"
JVMJZBL2999T IJO="$IJO -Djava.io.tmpdir=${CATALINA_BASE}/temp"
JVMJZBL2999T # Required for the zfile:// URL handler:
JVMJZBL2999T IJO="$IJO -Djava.protocol.handler.pkgs=com.dovetail.jzos.url"
JVMJZBL2999T # And also the IBM crypto URL handler:
JVMJZBL2999T IJO="$IJO|com.ibm.crypto.provider"
JVMJZBL2999T
JVMJZBL2999T # Set the DB2 subsys name, used with the type-2 Universal JDBC driver
JVMJZBL2999T IJO="$IJO -Ddb2.jcc.ssid=${DB2_SSID}"
JVMJZBL2999T
JVMJZBL2999T # Uncomment the following to use SDK5.0+ shared classes
JVMJZBL2999T #groupname=`id -gn`
JVMJZBL2999T #IJO="$IJO -Xshareclasses:name=$groupname,groupAccess"
JVMJZBL2999T
JVMJZBL2999T # Uncomment the following to use a Java JAAS security manager
JVMJZBL2999T #IJO="$IJO -Djava.security.policy=${CATALINA_BASE}/conf/catalina.policy"
JVMJZBL2999T #IJO="$IJO -Djava.security.manager"
JVMJZBL2999T
JVMJZBL2999T export IBM_JAVA_OPTIONS="$IJO "
JVMJZBL2999T
JVMJZBL2999T # ----------------------------------------------------------------------
JVMJZBL2999T # Uncomment the following lines if you are using an alphaWorks JZOS
JVMJZBL2999T # lines rather than JZOS that is distributed within the SDK.
JVMJZBL2999T # ----------------------------------------------------------------------
JVMJZBL2999T #JZOS_HOME=/home/myuser/jzosaw
JVMJZBL2999T #JVMOPTS=""
JVMJZBL2999T #JVMOPTS="$JVMOPTS -Djava.ext.dirs=${JZOS_HOME}:${JAVA_HOME}/lib/ext"
JVMJZBL2999T #JVMOPTS="$JVMOPTS -Djzos.jdfsort.dir=${JZOS_HOME}"
JVMJZBL2999T #export JZOS_JVM_OPTIONS="$JVMOPTS"
JVMJZBL2999T
JVMJZBL2999T # ----------------------------------------------------------------------
JVMJZBL2999T # Setup PATH and LIBPATH from scratch to avoid installation profile
JVMJZBL2999T # conflicts. This should only be changed if you need to add your
JVMJZBL2999T # own Java native (JNI) library directories.
JVMJZBL2999T # ----------------------------------------------------------------------
JVMJZBL2999T export PATH=/bin:"${JAVA_HOME}"/bin:
JVMJZBL2999T LIBPATH=/lib:/usr/lib:"${JAVA_HOME}"/bin
JVMJZBL2999T LIBPATH="$LIBPATH":"${JAVA_HOME}"/lib/s390x
JVMJZBL2999T LIBPATH="$LIBPATH":"${JAVA_HOME}"/lib/s390x/j9vm
JVMJZBL2999T LIBPATH="$LIBPATH":"${JAVA_HOME}"/bin/classic
JVMJZBL2999T # Add the DB2 JDBC native library directory if present:
JVMJZBL2999T # if [[ -d "${DB2_JDBC_HOME}/lib" ]]; then
JVMJZBL2999T # LIBPATH="$LIBPATH":"${DB2_JDBC_HOME}/lib"
JVMJZBL2999T # fi
JVMJZBL2999T export LIBPATH="$LIBPATH":
JVMJZBL2999T
JVMJZBL2999T # ----------------------------------------------------------------------
JVMJZBL2999T # Set up Tomcat's "boot" classpath.
JVMJZBL2999T # ----------------------------------------------------------------------
JVMJZBL2999T CLASSPATH="${JAVA_HOME}/lib/tools.jar"
JVMJZBL2999T CLASSPATH="$CLASSPATH":"${CATALINA_HOME}/bin/bootstrap.jar"
JVMJZBL2999T # The zfile: URL Protocol handler from here:
JVMJZBL2999T CLASSPATH="$CLASSPATH":"${CATALINA_HOME}/bin/zos-url.jar"
JVMJZBL2999T
JVMJZBL2999T # Add the DB2 JDBC jars if present:
JVMJZBL2999T # if [[ -d "${DB2_JDBC_HOME}/classes" ]]; then
JVMJZBL2999T # for i in "${DB2_JDBC_HOME}"/classes/*.jar; do
JVMJZBL2999T # export CLASSPATH="$CLASSPATH":"$i"
JVMJZBL2999T # done
JVMJZBL2999T # for i in "${DB2_JDBC_HOME}"/classes/*.zip; do
JVMJZBL2999T # export CLASSPATH="$CLASSPATH":"$i"
JVMJZBL2999T # done
JVMJZBL2999T # fi
JVMJZBL2999T export CLASSPATH="$CLASSPATH":
JVMJZBL2999T
JVMJZBL2999T # ----------------------------------------------------------------------
JVMJZBL2999T # Some default JVM diagnostic settings.
JVMJZBL2999T # See the IBM SDK Diagnostics guide for more info
JVMJZBL2999T # ----------------------------------------------------------------------
JVMJZBL2999T export JAVA_DUMP_HEAP=false
JVMJZBL2999T export JAVA_PROPAGATE=NO
JVMJZBL2999T export IBM_JAVA_ZOS_TDUMP=NO
JVMJZBL2999T
JVMJZBL1005I Output from DD:STDENV config shell script:
JVMJZBL2999T Found environment start string
JVMJZBL2999T ___JZOS_ENV_START___
JVMJZBL1006I MAIL = /usr/mail/
JVMJZBL1006I JAVA_PROPAGATE = NO
JVMJZBL1006I PATH = /bin:/usr/lpp/java/J6.0_64/bin:
JVMJZBL1006I _CXX_WORK_UNIT = SYSSQ
JVMJZBL1006I IBM_JAVA_ZOS_TDUMP = NO
JVMJZBL1006I _C89_SLIB_PREFIX = SYS1
JVMJZBL1006I IBM_JAVA_OPTIONS = -Xms64m -Xmx128m -Dfile.encoding=ISO8859-1 -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/lo
cal/tomcat -Djava.io.tmpdir=/usr/local/tomcat/temp -Djava.protocol.handler.pkgs=com.dovetail.jzos.url|com.ibm.crypto.provider -Ddb2.
jcc.ssid=
JVMJZBL1006I _C89_CLIB_PREFIX = SYS1
JVMJZBL1006I _CXX_PLIB_PREFIX = SYS1
JVMJZBL1006I _CC_WORK_UNIT = SYSSQ
JVMJZBL1006I PS1 = $LOGNAME@SY6 $PWD
JVMJZBL2999T Ignored line: >
0JVMJZBL1006I _CC_PLIB_PREFIX = SYS1
JVMJZBL1006I _BPX_SPAWN_SCRIPT = YES
JVMJZBL1006I _ = /bin/env
JVMJZBL1006I CLASSPATH = /usr/lpp/java/J6.0_64/lib/tools.jar:/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/zos-url.jar:
JVMJZBL1006I LANG = C
JVMJZBL1006I LIBPATH = /lib:/usr/lib:/usr/lpp/java/J6.0_64/bin:/usr/lpp/java/J6.0_64/lib/s390x:/usr/lpp/java/J6.0_64/lib/s390x/j9vm:
/usr/lpp/java/J6.0_64/bin/classic:
JVMJZBL1006I _CXX_SLIB_PREFIX = SYS1
JVMJZBL1006I _CXX_CLIB_PREFIX = SYS1
JVMJZBL1006I _BPX_SHAREAS = YES
JVMJZBL1006I _C89_WORK_UNIT = SYSSQ
JVMJZBL1006I _CC_SLIB_PREFIX = SYS1
JVMJZBL1006I _CC_CLIB_PREFIX = SYS1
JVMJZBL1006I JAVA_DUMP_HEAP = false
JVMJZBL1006I _C89_PLIB_PREFIX = SYS1
JVMJZBL1006I JAVA_HOME = /usr/lpp/java/J6.0_64
JVMJZBL1006I TZ = EST5EDT
JVMJZBL1006I RESOLVER_CONFIG = //'SYS1.TCPIP.PARMS(TCPDATA)'
JVMJZBL1006I MANPATH = /usr/man/%L:/usr/lpp/Printsrv/man/%L
JVMJZBL1006I NLSPATH = /usr/lib/nls/msg/%L/%N:/usr/lpp/Printsrv/%L/%N
JVMJZBL1006I FCEDIT = vi
JVMJZBL1006I PWD = /uss/oedfltu
JVMJZBL2999T Setting current working dir to: "/uss/oedfltu"
JVMJZBL2999T Found environment stop string
JVMJZBL2999T waiting for child shell process to complete
JVMJZBL2999T -> waitChild()
JVMJZBL2999T child shell process exited with exit code 0
JVMJZBL2999T <- waitChild()
JVMJZBL2999T <- adoptEnvironment()
JVMJZBL2999T argv[2]: org.apache.catalina.startup.Bootstrap
JVMJZBL2999T argv[3]: start
JVMJZBL2999T -> processExtraArgs()
JVMJZBL2999T No JZOS_MAIN_ARGS found
JVMJZBL2999T NO //DD:MAINARGS found
JVMJZBL2999T mainArgsBuf=""
JVMJZBL2999T <- processExtraArgs()
JVMJZBL2999T -> initializeVMArgs()
JVMJZBL2999T vm_args.version: 10004
JVMJZBL2999T Getting CLASSPATH
JVMJZBL2999T Classpath option string: '-Djava.class.path=/usr/lpp/java/J6.0_64/lib/tools.jar:/usr/local/tomcat/bin/bootstrap.jar:/us
r/local/tomcat/bin/zos-url.jar:'
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T <- initializeVMArgs()
JVMJZBL2999T -> createJvm()
JVMJZBL2999T JNI_CreateJavaVM elapsed time=8.386433 seconds, cpu time=0.466202 seconds
JVMJZBL2999T <- createJvm()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> StaticMethod.invoke()
JVMJZBL2999T com.ibm.jzos.ZUtil.getJavaVersionInfo
JVMJZBL2999T method invocation elapsed time=1.403558 seconds, cpu time=0.070243 seconds
JVMJZBL2999T <- StaticMethod.invoke()
JVMJZBL1012I Java Virtual Machine created. Version information follows:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pmz6460sr6-20091029_01 (SR6))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 z/OS s390x-64 jvmmz6460sr6-20091028_45330 (JIT enabled, AOT enabled)
J9VM - 20091028_045330
JIT - r9_20090902_1330ifx1
GC - 20090817_AA)
JVMJZBL2999T -> checkVersions()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> StaticMethod.invoke()
JVMJZBL2999T com.ibm.jzos.ZUtil.getJzosJarVersion
JVMJZBL2999T method invocation elapsed time=0.093088 seconds, cpu time=0.003925 seconds
JVMJZBL2999T <- StaticMethod.invoke()
JVMJZBL2999T Build versions match: 2.3.0 2008-05-12
JVMJZBL2999T <- checkVersions()
JVMJZBL2999T -> redirectStandardStreams()
JVMJZBL2999T No JZOS_OUTPUT_ENCODING found, using the default codeset 'IBM-1047'
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> StaticMethod.invoke()
JVMJZBL2999T com.ibm.jzos.ZUtil.redirectStandardStreams
JVMJZBL2999T method invocation elapsed time=0.409534 seconds, cpu time=0.027873 seconds
JVMJZBL2999T <- StaticMethod.invoke()
JVMJZBL1027I Using output encoding: IBM-1047
JVMJZBL2999T <- redirectStandardStreams()
JVMJZBL2999T -> establishMvsCommandListener()
JVMJZBL1016I MVS commands are ENABLED
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> StaticMethod.invoke()
JVMJZBL2999T com.ibm.jzos.MvsConsole.startMvsCommandListener
JVMJZBL2999T method invocation elapsed time=0.005222 seconds, cpu time=0.003940 seconds
JVMJZBL2999T <- StaticMethod.invoke()
JVMJZBL2999T <- establishMvsCommandListener()
JVMJZBL2999T -> invokeMain()
JVMJZBL2999T javaClassName: 'org.apache.catalina.startup.Bootstrap'
JVMJZBL2999T Arg 1='start'
JVMJZBL1023N Invoking org.apache.catalina.startup.Bootstrap.main()...
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> StaticMethod.invoke()
JVMJZBL2999T org.apache.catalina.startup.Bootstrap.main
JVMJZBL2008E Could not find or load class: org.apache.catalina.startup.Bootstrap
JVMJZBL2999T -> JniUtil.writeStackTrace()
JVMJZBL2007E Stack trace follows:
java.lang.NoClassDefFoundError: org.apache.catalina.startup.Bootstrap
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap
at java.net.URLClassLoader.findClass(URLClassLoader.java:421)
at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:346)
at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
JVMJZBL2999T <- JniUtil.writeStackTrace()
0JVMJZBL2999T <- StaticMethod.invoke()
JVMJZBL2999T invokeMain caught exception rc=1
JVMJZBL2999T <- invokeMain()
JVMJZBL2999T <- run()
JVMJZBL2999T -> cleanup()
JVMJZBL1014I Waiting for non-deamon Java threads to finish before exiting...
JVMJZBL2999T JvmExitHook entered with exitCode=0, javaMainReturnedOrThrewException=1
JVMJZBL2999T DestroyJavaVM elapsed time=0.175889 seconds, cpu time=0.008107 seconds
JVMJZBL2999I JZOS batch launcher elapsed time=15.475766 seconds, cpu time=0.870998 seconds
JVMJZBL1047W JZOS batch launcher completed with Java exception, return code=100
JVMJZBL2999T <- cleanup()
JVMJZBL2999T -> ~JzosVM()
JVMJZBL2999T <- ~JzosVM()
________
Dodge Lancer specifications
Last edited by gpklos on Mon Feb 07, 2011 8:36 pm, edited 1 time in total.

dovetail
Site Admin
Posts: 1781
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail » Mon Feb 01, 2010 4:25 pm

Are you sure that you customized TCENV member?
Check this section (below) to make sure that CATALINA_HOME and CATALINA_BASE are pointing to the directory where you installed Tomcat:

Code: Select all

----------------------------------------------------------------------
# $$$ Often you will only need to customize this section:
----------------------------------------------------------------------
export JAVA_HOME=/usr/lpp/java/J6.0_64
CATALINA_HOME=/usr/local/tomcat
CATALINA_BASE=/usr/local/tomcat
DB2_JDBC_HOME=/usr/lpp/db2910_jdbc # igore if no DB2
DB2_SSID=DSN9 # ignore if no DB2 type-2 JDBC
IJO="-Xms64m -Xmx128m" # min and max Java heap sizes 

gpklos
Posts: 10
Joined: Mon Oct 26, 2009 10:44 am

Post by gpklos » Mon Feb 01, 2010 5:25 pm

Yes that is where I put Tomcat. Initially on my first install I put it somewhere different, but it didn't work, so I figured to put it where the default said to put it. I know that is usually just a guideline, but I figured maybe something pointed there behind the scenes.
FYI - I've never run JZOS before, but the library for the files is there, so I'm guessing that is all I need. The directions didn't say anything else about customizing for JZOS.
Thanks,
Gary
________
Mazda J platform
Last edited by gpklos on Mon Feb 07, 2011 8:36 pm, edited 1 time in total.

dovetail
Site Admin
Posts: 1781
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail » Mon Feb 01, 2010 5:29 pm

Are the files in $CATALINA_HOME readable by the userid running the batch job?

gpklos
Posts: 10
Joined: Mon Oct 26, 2009 10:44 am

Post by gpklos » Mon Feb 01, 2010 9:49 pm

I will check that, but I'm pretty sure it does. However I wouldn't count anything out at this point. I will let you know.
Gary
________
vaporite solo
Last edited by gpklos on Mon Feb 07, 2011 8:36 pm, edited 1 time in total.

gpklos
Posts: 10
Joined: Mon Oct 26, 2009 10:44 am

Post by gpklos » Tue Feb 02, 2010 11:04 am

That was it. The reason I didn't catch that earlier was because the id I was using has super user abilities. But when the proc ran that id still failed to access those files. Once I gave the id a UID of 0, tomcat started.
Thanks for your help!
Gary :D
________
Ford Interceptor history

Post Reply