When start a BrokerService, I got a WARN log saying: JMX connector WARN (org.apache.activemq.broker.jmx.ManagementContext.run:135) - Failed to start jmx connector: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial. Will restart management to re-create jmx connector, trying to remedy this issue.
When I use Jconsole to connect this jvm, I still can find ActiveMQ's MBeans, but no MBeans for queues <http://activemq.2283324.n4.nabble.com/file/n4662060/MBeans.png> Equinox:3.7.1 ActiveMQ Bundle info: Manifest-Version: 1.0 Bnd-LastModified: 1349192683077 Build-Jdk: 1.6.0_33 Built-By: dejanb Bundle-Activator: org.apache.activemq.util.osgi.Activator Bundle-Description: The ActiveMQ Message Broker and Client implementations Bundle-DocURL: http://www.apache.org/ Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt Bundle-ManifestVersion: 2 Bundle-Name: activemq-core Bundle-SymbolicName: org.apache.activemq.activemq-core Bundle-Vendor: The Apache Software Foundation Bundle-Version: 5.7.0 -- View this message in context: http://activemq.2283324.n4.nabble.com/Failed-to-start-jmx-connector-in-OSGi-container-Equinox-tp4662060.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.