This discussion is archived
0 Replies Latest reply: Feb 1, 2013 7:50 PM by lfcfan4life RSS

WLST : Error connecting to a remote Weblogic server instance from OEPE 3.7

lfcfan4life Newbie
Currently Being Moderated
Attempting a to run a weblogic script connecting to a remote weblogic server instance (10.3.5), which is generating the following exception in OEPE 3.7.2 -

username = 'weblogic'
password = 'weblogic6'
url='t3://xxx.xxx.com:7001'
connect(username,password,url)

Connecting to t3://xxx.xxx.com:7001 with userid weblogic ...
This Exception occurred at Fri Feb 01 13:20:54 MST 2013.
Error occured while performing connect : Error connecting to the server : Failed to generate class for weblogic.management.mbeanservers.compatibility.internal.MBeanHomeImpl_1035_WLStub
Use dumpStack() to view the full stacktrace :
java.lang.AssertionError: Failed to generate class for weblogic.management.mbeanservers.compatibility.internal.MBeanHomeImpl_1035_WLStubconnect
Problem invoking WLST - Traceback (innermost last):
File "C:\Users\hughese\workspace\12c_wlst\wlst\heapsize.py", line 13, in ?
File "<iostream>", line 22, in connect
File "<iostream>", line 648, in raiseWLSTException
WLSTException: Error occured while performing connect : Error connecting to the server : Failed to generate class for weblogic.management.mbeanservers.compatibility.internal.MBeanHomeImpl_1035_WLStub
Use dumpStack() to view the full stacktrace

Connecting to the local weblogic server instance (t3://localhost:7001) works okay.

From the command prompt (wlst.cmd) I'm able to connect to the remote weblogic server instance -

wls:/offline> connect('weblogic','xxxxx','t3:xxx.xxx.com:7001') ;
Connecting to t3://xxx.xxx.com:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'IDMDomain'.

I've compared the CLASSPATHs between OEPE and the command prompt.

Any assistance would be greatly appreciated.

Edited by: 950635 on Feb 1, 2013 7:47 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points