I am trying to startup Tomcat using a SBMJOB command with the following: SBMJOB CMD(QSH CMD('/applicationservers/dev/jakarta-tomcat-5.0.28/bin/startup.sh &')) JOB(TEST) JOBQ(QBATCH) CPYENVVAR(*YES) ALWMLTTHD(*YES) But when I look into subsystem QBATCH, two jobs are running: QBATCH QSYS SBS .0 DEQW QP0ZSPWT MYUSERID BCI 8.4 PGM-SYSTEM TIMW TEST MYUSERID BCH .0 CMD-QSH TIMW I expect the Tomcat instance of QP0ZSPWT is running but the submitted job TEST never ends. It just sits there with TIMW status. Even if I run the shutdown script, I am not able to shutdown Tomcat. I have to end the TEST job immediate which the QP0ZSPWT will end. However, it is working fine with the interactive session of QSH to start and shutdown Tomcat running the script. Question is how to start up Tomcat in batch mode? Thanks a lot, Denny Chu
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.