× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.