Acho que o jmx está ativado no weblogic. Eu o log eu tenho
<Jun 3, 2015 12:14:08 PM CEST> <Info> <Management> <BEA-141187> <Java system properties are defined as follows:
...
com.sun.management.jmxremote.authenticate = false
com.sun.management.jmxremote.port = 8888
com.sun.management.jmxremote.ssl = false
...
e também vejo
<Jun 2, 2015 12:23:47 PM CEST> <Info> <JMX> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://1.2.3.4:7001/jndi/weblogic.management.mbeanservers.runtime .>
<Jun 2, 2015 12:23:47 PM CEST> <Info> <JMX> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://1.2.3.4:7001/jndi/weblogic.management.mbeanservers.edit .>
<Jun 2, 2015 12:23:47 PM CEST> <Info> <JMX> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://1.2.3.4:7001/jndi/weblogic.management.mbeanservers.domainruntime .>
Mas é impossível ter uma conexão com a visual vm.
No add jmx connection
tentei com
1.2.3.4:7001
1.2.3.4:8888
com e sem credenciais. Mas sempre o mesmo resultado: cannot connect to ...
EDITAR
Também tentei com jmap
.
Localmente no servidor com pid, está funcionando.
Usando localhost:8888
, não está funcionando.
Remotamente, jmap -permstat 1.2.3.4:888
me dá
Attaching to remote server 1.2.3.4:8888, please wait...
Error attaching to remote server: java.rmi.NotBoundException: Not bound: "SARemoteDebugger" (only bound name is "jmxrmi")
sun.jvm.hotspot.debugger.DebuggerException: java.rmi.NotBoundException: Not bound: "SARemoteDebugger" (only bound name is "jmxrmi")
at sun.jvm.hotspot.RMIHelper.lookup(RMIHelper.java:115)
at sun.jvm.hotspot.HotSpotAgent.connectRemoteDebugger(HotSpotAgent.java:517)