experimenting between version 5.2 and 5.4.1 of the activemq I found some differences in the use of the interface jmx.Premetto I use the version embedded broker using the Resource adapter comes with the package (. rar file). The version 5.2 services exposed via jmx jmx connector directly through the application server , but now with version 5.4 was no longer able to access the MBean broker.Ho INPOST solved the problem in the configuration file activemq.xml the following properties:
service: jmx: rmi: / / localhost / jndi / rmi: / / localhost: 1099/amq5jmx
Last note, in version 5.4, the path of the xml configuration file must be explicitly passed the file: / / followed by the absolute path, so I changed the file jonas -ra.xml (the one specifically for my application server which is precisely JOnAS) setting the BrokerXmlConfig:
xbean: file: / / / IL_MIO_PATH