Wednesday, July 11, 2012

WLST: The CompatabilityMBeanServer is not initialized properly

wls:/offline> connect('Pierluigi', 'weblogic1', 't3://acme.com:7001')
Connecting to t3://acme:7001 with userid Pierluigi ...

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 "", line 1, in ?
File "", line 22, in connect
File "", line 646, in raiseWLSTException
WLSTException: Error occured while performing connect : "Cannot connect to WLST." : Bad IPv6 address: acme.com
Use dumpStack() to view the full stacktrace

wls:/offline> dumpStack()
This Exception occurred at Wed Jul 11 17:17:55 CEST 2012.
java.net.MalformedURLException: Bad IPv6 address: acme.com



Don't let yourself fool by the first error message....it could be very well that the root cose has nothing to do with the CompatabilityMBeanServer ! Always do dumpStack()!

No comments: