0 Replies Latest reply: Jul 22, 2014 10:57 PM by Jie Chen-Oracle RSS

    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.

      java.io.IOException

      java.io.IOException

      wls:/offline>


      I checked CompatabilityMBeanServer is already enabled in Admin Console

      Does anybody has any idea how to resolve?


      My Environment:

      weblogic 12.1.1.0

      OS: REL 6.0

      Java: 1.7.0_21


      Thanks

      Jie