You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/26 12:20:25 UTC
[jira] [Commented] (ARTEMIS-318) Can't stop broker when remote JMX
enabled
[ https://issues.apache.org/jira/browse/ARTEMIS-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15212967#comment-15212967 ]
ASF GitHub Bot commented on ARTEMIS-318:
----------------------------------------
GitHub user scop opened a pull request:
https://github.com/apache/activemq-artemis/pull/429
Remove bashishm from ARTEMIS-318 example
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/scop/activemq-artemis bashism
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/429.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #429
----
commit 50dcb136ab54d2f5a61bb268b4845880467133b1
Author: Ville Skyttä <vi...@iki.fi>
Date: 2016-03-26T11:19:51Z
Remove bashishm from ARTEMIS-318 example
----
> Can't stop broker when remote JMX enabled
> -----------------------------------------
>
> Key: ARTEMIS-318
> URL: https://issues.apache.org/jira/browse/ARTEMIS-318
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 1.1.0
> Environment: all
> Reporter: Michal Toth
> Assignee: Justin Bertram
> Labels: features
> Fix For: 1.1.1
>
>
> I have been using remote JMX with Artemis for few weeks so far,
> but lately, I have noticed, that I am not able to shutdown the Artemis gracefully via 'artemis stop' nor 'artemis-service stop' when JMX is set up.
> Here is my scenario:
> 1) Add system properties to java (<broker_instance>/etc/artemis.profile):
> JAVA_ARGS+="-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false "
> 2) Start the broker
> 3) Do JMX "queries", send messages, everything works fine
> 4) bin/artemis stop
> Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
> java.net.BindException: Address already in use
> It does not matter what port number I use.
> Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 3099; nested exception is:
> java.net.BindException: Address already in use
> 5) I have kill the artemis process (SIGTERM is sufficient) to stop it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)