NameError When Running WLST With Webcenter Specific Command (Doc ID 1065283.1)

Last updated on NOVEMBER 22, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.1.0 and later
Information in this document applies to any platform.
Checked for relevance on 29-Jul-2014

Symptoms

 

Example 1

Example 2

Setting Proxy for WebCenter RSS feeds is not working.
The following error is shown: NameError: setRssProxyConfig

-bash-3.00$ java weblogic.WLST

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline> connect()
Please enter your username [weblogic] :
Please enter your password [welcome1] :
Please enter your server URL [t3://localhost:7001] :t3://<your host.domain>:7001
Connecting to t3://<your host.domain>:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'webcenter_domain'.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

wls:/wc_domain/serverConfig> setRssProxyConfig( appName = 'webcenter', proxyHost = '<your proxy host>', proxyPort = '<your proxy port>' )
Traceback (innermost last):
File "<console>", line 1, in ?
NameError: setRssProxyConfig

Importing Metatdata is not working.
The following error is shown: NameError: importMetatdata

 

Note:
This 'NameError' can occur for any WebCenter specific WLST command.

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