× 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'm having trouble running ActiveMQ from a CL command. It starts and runs fine, but the PID is blank. The blank PID prevents me from stopping ActiveMQ. I don't have this problem when I start ActiveMQ from a shell.

From a shell:
-bash-4.4$ /QOpenSys/pkgs/bin/activemq start
INFO: Loading '/QOpenSys/pkgs/lib/activemq/bin/env'
INFO: Using java '/QOpenSys/usr/bin/java'
INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details
INFO: pidfile created : '/QOpenSys/pkgs/lib/activemq/data/activemq.pid' (pid '38926')
-bash-4.4$

From CL the output is exactly the same except for line with the PID:
INFO: pidfile created : '/QOpenSys/pkgs/lib/activemq/data/activemq.pid' (pid '')

Here's the CL command (using the IBM recommended method to run a PASE program):
QSH CMD('/QOpenSys/usr/bin/sh -c "/QOpenSys/pkgs/bin/activemq start"')


Anyone have any suggestions?

TIA



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.