My Oracle Support Banner

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

Last updated on FEBRUARY 29, 2024

Applies to:

Oracle WebCenter Portal - Version 11.1.1.2.0 and later
Information in this document applies to any platform.

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 [PASSWORD] :
Please enter your server URL [t3://localhost:7001] :t3://<HOSTNAME>:<PORT>
Connecting to t3://<HOSTNAME>:<PORT> 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 = '<PROXY_HOSTNAME>', proxyPort = '<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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
 
 Example 1
 Example 2
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.