activemq woes

pid option is not available for this VM, using default JMX url INFO: did not match any running brokers.

this meant “activemq 5.5 doesn’t recognize newer JVM, tweak it to not pass in –pid XX at all”

ERROR: java.lang.RuntimeException: Failed to execute stop task. Reason: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:

java.net.ConnectException: Connection refused (Connection refused)]

meant “activemq hasn’t had a chance to come up yet, then you can connect to it to stop it”

+ return 1

+ ‘[‘ -f /home/fs/apps/activemq/data/activemq.pid ‘]’

+ echo ‘ERROR: No or outdated process id in ‘\”/home/fs/apps/activemq/data/activemq.pid’\”’

ERROR: No or outdated process id in ‘/home/fs/apps/activemq/data/activemq.pid’

meant “I had an old activemq still running to stop was getting confused” (package install mixup flub I think?)

One thought on “activemq woes”

  1. JVM args: -Xms1G -Xmx4G -Djava.util.logging.config.file=logging.properties -Dactivemq.classpath=/home/fs/apps/apache-activemq-5.7.
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: Extensions classpath:
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: [/home/fs/apps/apache-activemq-5.7.0/lib,/home/fs/apps/apache-activemq-5.7.0/lib/camel,/home/fs/apps/apache-activemq-5.7.0/lib/opt
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: ACTIVEMQ_HOME: /home/fs/apps/apache-activemq-5.7.0
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: ACTIVEMQ_BASE: /home/fs/apps/apache-activemq-5.7.0
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: ACTIVEMQ_CONF: /home/fs/apps/apache-activemq-5.7.0/conf
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: ACTIVEMQ_DATA: /home/fs/apps/apache-activemq-data
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: Connecting to pid: 190803
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: ERROR: java.lang.IllegalArgumentException: JMX URL already specified.
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: java.lang.IllegalArgumentException: JMX URL already specified.
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at org.apache.activemq.console.command.AbstractJmxCommand.handleOption(AbstractJmxCommand.java:348)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at org.apache.activemq.console.command.ShutdownCommand.handleOption(ShutdownCommand.java:156)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at org.apache.activemq.console.command.AbstractCommand.parseOptions(AbstractCommand.java:73)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:45)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at org.apache.activemq.console.command.AbstractJmxCommand.execute(AbstractJmxCommand.java:385)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:148)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:90)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at java.lang.reflect.Method.invoke(Method.java:498)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: at org.apache.activemq.console.Main.main(Main.java:115)
    Jan 27 19:23:30 dps-gt-app02 activemq[195430]: Stopping broker: localhost

    was actually a gracful shutdown. Go figure LOL.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.