When trying to run Tomcat as a started task, it starts and stops with error :
CEE3501S The module libjvm.so not found
The batch job ran the same proc with no errors.
There can be multiple causes for this error.
Use our tested Sample JCL for Running a Bundled Tomcat Server as a Mainframe Started Task in our Output Management Online Documentation
Remove:
CLASSPATH="$CLASSPATH":"${JAVA_HOME}/lib/security.jar" and add:
CLASSPATH="$CLASSPATH":"${TOMCAT_HOME}/bin/tomcat-juli.jar"
The CAVIEWTC LOGONID did not have access to the profiles in the ACF2 FSACCESS Resource class. Once the access was granted, the started task started successfully.