Vijitha Kumara wrote:It is not a good practice to have same jar in two locations. If it is shipped with the application server then it should not be packaged in your WAR/EAR files. It will be used from the container.
Ulf Dittmer wrote:An interesting alternative for accessing JMX remotely is to run Jolokia on the JVM, which exposes JMX via HTTP - which is easier to work with than the JMX/RMI/JRMP. Java client code is shown at http://www.jolokia.org/client/java.html.