On 12/03/2019 11:32, Peter Henriques wrote: > Hello, > > > > My Environment: > > z/OS 2.3 > > USS > > TomCat 8.5
Please provide a more precise Tomcat version. Mark > > OpenJDK 8 > > > > I am getting errors submitting JCL PROC for running Apache Tomcat using > the JZOS batch Java launcher. It is a PROC that is executed under > another job called TCJOB. > > > > The error I am getting is shown from the resulting joblog: > > > > -STEPNAME PROCSTEP RC EXCP CONN TCB SRB > > -TOMCAT JAVAJVM 101 2940 49 .00 .00 > > IEF404I TOMCAT - ENDED - TIME=10.00.10 > > -TOMCAT ENDED. NAME-HLQ TOTAL TCB CPU TI > > $HASP395 TOMCAT ENDED - RC=0101 > > > > When I check the reason for the abend I see this: > > > > Output from DD:STDENV config shell script: > > waiting for child shell process to complete > > -> waitChild() > > child shell process exited with exit code 0 > > <- waitChild() > > Child shell process exited without printing environment; //STDENV > should not contain 'exit' > > <- adoptEnvironment() > > <- run() > > -> cleanup() > > JZOS batch launcher elapsed time=1 seconds, cpu time=0.090000 seco > > JZOS batch launcher failed, return code=101 > > <- cleanup() > > -> ~JzosVM() > > <- ~JzosVM() > > > > I don’t know if it is an authority issue or JAVA issue. I have searched > for this error all over and get various reasons for this error. The > closest or more relevant issue I have seen is : > > > > http://www-01.ibm.com/support/docview.wss?uid=swg1PM54627 > > > > I have even attempted to use su under USS shell but it just ignores this > authority. > > > > Is there a way I can modify the supplied JCL(TCJOB, TCENV) to add > superuser privileges? > > > > Regards > > > > *Peter M Henriques* > > *Support Engineer – Mainframe Support Group* > > *D:*+44-1293-872072 | *T:* +44-1293-872000 | www.macro4.com > <http://www.macro4.com/> > > > > <http://www.macro4.com/> > <https://www.linkedin.com/company/macro-4> > <https://twitter.com/macro_4><https://www.facebook.com/Macro4.4/> > <https://plus.google.com/115044887053369398852> > > > > Registered office: The Orangery, Turners Hill Road, Worth, Crawley, West > Sussex, RH10 4SS > > Registered in England no: 00927588 > > > > Please consider the environment and only print this email if you really > need to. > > > > > This e-mail message has been scanned and cleared by Google Message > Security and the UNICOM Global security systems. This message is for the > named person's use only. If you receive this message in error, please > delete it and notify the sender. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org