Acho que o jmx está habilitado no weblogic. Eu o log que 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 eu 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 o visual vm.
No que add jmx connection
eu 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)