WebLogic Server 10.3.3: WLST Python script execution fails throwing "we should never get here if /Server/' + theServer + '/SSL is not present!!!" exception (Doc ID 1142967.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.3 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

Executing WLST script in Weblogic 10.3.3 by specifying server name which is not present in domain fails with below "we should never get here if /Server/' + theServer + '/SSL is not present!!!" exception. This issue also happens with WLST script which contains "try-except" blocks. 

[weblogic@soga base_domain]$ java -Dcom.bea.cie.script.throwException=true org.python.util.jython myScript.py
*sys-package-mgr*: can't create package cache dir,
'/home/weblogic/wls1033/wlserver_10.3/server/lib/weblogic.jar/cachedir/packages'
Error: cd() failed. Do dumpStack() to see details.

we should never get here if /Server/' + theServer + '/SSL is not present!!!

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms