0 Replies Latest reply on Jul 23, 2014 3:57 AM by Jie Chen-Oracle

    java.io.IOException when to use WLST to connect admin server

    Jie Chen-Oracle

      Hello experts,

      I am following this article to use wlst to connect to admin server from remote, but failed with below error.

      Oracle WebLogic Server 12c: Configuring and Using Node Manager

      >java weblogic.WLST


      wls:/offline> connect('superadmin', 'agile9', 't3://myadminserver.company.com:7001')

      Connecting to t3://myadminserver.company.com:7001 with userid superadmin ...


      The CompatabilityMBeanServer is not initialized properly.

      This might happen if the CompatabilityMBeanServer is

      disabled via the JMXMBean.



      To view the root cause exception use dumpStack()


      WLST detected that the RuntimeMBeanServer is not enabled. This

      might happen if the RuntimeMBeanServer is disabled via the JMXMBean.

      Please ensure that this MBeanServer is enabled. Online WLST cannot

      function without this MBeanServer.

      Traceback (innermost last):

        File "<console>", line 1, in ?

        File "<iostream>", line 22, in connect

        File "<iostream>", line 648, in raiseWLSTException

      WLSTException: Error occured while performing connect : "Cannot connect to WLST."

      Use dumpStack() to view the full stacktrace

      wls:/offline> dumpStack()

      This Exception occurred at Tue Jul 22 20:45:53 PDT 2014.




      I checked CompatabilityMBeanServer is already enabled in Admin Console

      Does anybody has any idea how to resolve?

      My Environment:


      OS: REL 6.0

      Java: 1.7.0_21