poniedziałek, 29 lipca 2013

VisualVM i Websphere

Websphere:
1. Servers > Application servers > {NAZWA_SERVERA} > Java and Process Management > Process definition > Java Virtual Machine
2. W Generic JVM arguments dodać:
-Djavax.management.builder.initial= -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false \
    -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=1099
("javax.management.builder.initial" ma być puste - to nie literówka)
3. Restart.

VisualVM:
1. File -> Add JMX Connection
2. Connection:
localhost:1099
źródło