Thank you for you reply, I have different JMS ports, I have modified the JMX URL as follows:
service:jmx:rmi:///jndi/rmi://localhost:17999/jmxrmi - app 1
service:jmx:rmi:///jndi/rmi://localhost:17099/jmxrmi - app2
however I dont understand (lack of knowledge) what to put in for ptql currently I have tried the following :
State.Name.eq=java,Args.*.ct=catalina.home,Args.*.eq=
State.Name.eq=java,Args.*.ct=Dcom.sun.management.jmxremote
again they works when I have 1 apps running but not when 2 apps running....
I have also set service_name (each apps have their own windows service name)...
Thanks again please let me know what else should I be doing ....
Can I do something like this ?
State.Name.eq=java,Args.*.ct=Dcom.sun.management.jmxremote.port=17999 (i'm sure the syntax is wrong)
Message was edited by: evil_evo