I am trying to profile Mule ESB apps deployed on a mule container(CE v3.4) using Jprofiler but have been unsuccessful this far. My Mule server is running remotely on a linux 64 bit server and the jprofiler is running on my local windows machine. I am trying to remotely connect the jprofiler running on my local windows machine to the Mule server running remotely on a linux server, but till now I have failed to connect the local running jprofiler to the remotely running Mule server.
Has somebody done this before? What are the steps to be followed to connect my jprofiler running locally to Mule server running remotely on some different server?
Thanks and Regards Jai
Add these lines to conf/wrapper.conf:
wrapper.java.additional.4=-Dcom.sun.management.jmxremote.port=9999
wrapper.java.additional.5=-Dcom.sun.management.jmxremote.authenticate=false
wrapper.java.additional.6=-Dcom.sun.management.jmxremote.ssl=false
and connect your profiler to port 9999
来源:https://stackoverflow.com/questions/22957684/profiling-mule-container-and-application-using-jprofiler