5 Replies Latest reply: Nov 19, 2012 7:16 AM by Kalyan Pasupuleti-Oracle RSS

    TRYING TO ENABLE JMX

    971532
      I am trying to enable jmx in weblogic 10.3.5 . I can restart the admin server after enabling jmx. but when i start managed server the server state goes to FAILED_NOT_RESTARTABLE and in the logs i see

      JMX connector server communication error: null
      at oracle.jrockit.management.server.Messages.error(Messages.java:109)
      at oracle.jrockit.management.server.Messages.error(Messages.java:123)
      at oracle.jrockit.management.server.Agent.main(Agent.java:158)
      at oracle.jrockit.management.server.Agent.agentmain(Agent.java:94)
      at oracle.jrockit.management.server.Agent.start(Agent.java:207)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at jrockit.management.AgentStarter.startAgent(AgentStarter.java:135)
      Caused by: oracle.jrockit.management.server.AgentError
      at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXConnector.java:82)
      at oracle.jrockit.management.server.RemoteJMXConnector.newServer(RemoteJMXConnector.java:233)
      at oracle.jrockit.management.server.sun.RemoteJMXConnectorImpl.newServer(RemoteJMXConnectorImpl.java:112)
      at oracle.jrockit.management.server.RemoteJMXConnector.startNewServer(RemoteJMXConnector.java:181)
      at oracle.jrockit.management.server.JMXConnector.start(JMXConnector.java:64)
      at oracle.jrockit.management.server.Agent.start(Agent.java:62)
      at oracle.jrockit.management.server.Agent.main(Agent.java:156)
      ... 7 more
      Caused by: java.rmi.server.ExportException: Port already in use: 9990; nested exception is:
      java.net.BindException: Address already in use
      at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
      at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
      at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:394)
      at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:130)
      at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:188)
      at oracle.jrockit.management.server.sun.SunRMIExporter.exportObject(SunRMIExporter.java:36)
      at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:84)
      at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:76)
      at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:388)
      at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXConnector.java:80)
      ... 13 more
      Caused by: java.net.BindException: Address already in use
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
      at java.net.ServerSocket.bind(ServerSocket.java:328)
      at java.net.ServerSocket.<init>(ServerSocket.java:194)
      at java.net.ServerSocket.<init>(ServerSocket.java:106)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333)
      at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
      at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
      at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
      at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
      at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
      at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:188)
      at oracle.jrockit.management.server.sun.SunRMIExporter.exportObject(SunRMIExporter.java:36)
      at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:84)
      at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:75)
      at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:388)
      at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXConnector.java:80)


      Can some one please help as i know the port is free because i used netstat -an|grep command and then chose the port