not sure if it fixes your issue, but there is an update to active MQ to
version
activemq-5.15.12-1

Bryan

On Wed, Mar 18, 2020 at 11:43 AM Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

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


--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com




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-2022 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.