Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CCE25F4D2 for ; Tue, 26 Mar 2013 15:41:09 +0000 (UTC) Received: (qmail 95939 invoked by uid 500); 26 Mar 2013 15:41:09 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 95904 invoked by uid 500); 26 Mar 2013 15:41:09 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 95895 invoked by uid 99); 26 Mar 2013 15:41:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Mar 2013 15:41:09 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of Andi.Chirita@ignitionone.com does not designate 216.82.251.12 as permitted sender) Received: from [216.82.251.12] (HELO mail1.bemta12.messagelabs.com) (216.82.251.12) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Mar 2013 15:41:02 +0000 Received: from [216.82.249.131:40999] by server-12.bemta-12.messagelabs.com id 83/83-20619-971C1515; Tue, 26 Mar 2013 15:40:41 +0000 X-Env-Sender: Andi.Chirita@ignitionone.com X-Msg-Ref: server-10.tower-28.messagelabs.com!1364312440!23627439!1 X-Originating-IP: [208.52.173.250] X-StarScan-Received: X-StarScan-Version: 6.8.6.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 10378 invoked from network); 26 Mar 2013 15:40:41 -0000 Received: from mail.dentsunetwork.com (HELO mail.dentsunetwork.com) (208.52.173.250) by server-10.tower-28.messagelabs.com with AES128-SHA encrypted SMTP; 26 Mar 2013 15:40:41 -0000 Received: from ATL02MB01.corp.local ([fe80::91ce:a94d:d011:111a]) by ATL02HUB02.corp.local ([::1]) with mapi id 14.02.0318.004; Tue, 26 Mar 2013 11:40:41 -0400 From: Andi Chirita To: "users@activemq.apache.org" Subject: I changed activemq default jmx port but now it's failing to stop Thread-Topic: I changed activemq default jmx port but now it's failing to stop Thread-Index: AQHOKjhF7IJDEVy8J0yVyHOq3E5XRQ== Date: Tue, 26 Mar 2013 15:40:40 +0000 Message-ID: <2687A8F785253A49846427E62B298F70D37BDA@ATL02MB01.corp.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.90.2] Content-Type: multipart/alternative; boundary="_000_2687A8F785253A49846427E62B298F70D37BDAATL02MB01corploca_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_2687A8F785253A49846427E62B298F70D37BDAATL02MB01corploca_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I changed ActiveMQ default jmx port from 1099 to 2099 in my start script. =3D=3D> /var/log/activemq/start.log <=3D=3D Java Runtime: Sun Microsystems Inc. 1.6.0_18 /usr/lib/jvm/java-6-openjdk/jr= e Heap sizes: current=3D502464k free=3D497220k max=3D502464k JVM args: -Dcom.sun.management.jmxremote.port=3D2099 ..* sudo /etc/init.d/activemq stop ActiveMQ is still running - sending KILL signal to PID 2658! ... (warning). Unable to kill ActiveMQ! ... failed! =3D=3D> /var/log/activemq/stop.log <=3D=3D Connecting to JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi ERROR: java.lang.RuntimeException: Failed to execute stop task. Reason: jav= a.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi= .ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused] java.lang.RuntimeException: Failed to execute stop task. Reason: java.io.IO= Exception: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.Connec= tException: Connection refused to host: localh ost; nested exception is: java.net.ConnectException: Connection refused] at org.apache.activemq.console.command.ShutdownCommand.runTask(Shut= downCommand.java:107) at org.apache.activemq.console.command.AbstractCommand.execute(Abst= ractCommand.java:57) at org.apache.activemq.console.command.AbstractJmxCommand.execute(A= bstractJmxCommand.java:385) at org.apache.activemq.console.command.ShellCommand.runTask(ShellCo= mmand.java:148) at org.apache.activemq.console.command.AbstractCommand.execute(Abst= ractCommand.java:57) at org.apache.activemq.console.command.ShellCommand.main(ShellComma= nd.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor= Impl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod= AccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.activemq.console.Main.runTaskClass(Main.java:262) at org.apache.activemq.console.Main.main(Main.java:115) I'm running apache-activemq-5.7.0.fuse-71-047. Any ideas why it failed to stop? It works if I connect to jmx (port 2099) w= ith jconsole and stop the broker from there. Thanks, Andi --_000_2687A8F785253A49846427E62B298F70D37BDAATL02MB01corploca_--