Saturday, February 18, 2012

Weblogic Admin Console Timeout

on the Weblogic Admin Console will cause user session timeout and will fall back at the login screen.

Solution:

To avoid timeout session you'll need to increase session timeout parameter in weblogic.xml.

This file is located under WL_HOME\wlserver_10.3\server\lib\consoleapp\webapp\WEB-INF.
The default setting is as floowing;

session-descriptor 
(timeout-secs)3600(/timeout-secs)
(invalidation-interval-secs)60(/invalidation-interval-secs)

You'll need to change these two parameters to your wish.
After changes has been taken place, just save the file and restart weblogic server.
 
Cheers,

Sunday, February 12, 2012

NodeManager(nmConnect problems)

During the start of NodeManager may be you'll meet the following problem;
NMProcess: WARNING: Configuration error while reading domain directory NMProcess: weblogic.nodemanager.common.ConfigException: The domain 'base_domain' at 'D://weblogic/Oracle//Middleware//user_projects//domains//base_domain' was not registered in the nodemanager.domains file and dynamic domain registration is not supported. Please register the domain in the nodemanager.domains file.

Or during the use of mnConnect  command for example:
wls:/base_domain/serverConfig> nmConnect('weblogic','xxxxxx','localhost','5556','base_domain',r'D:\weblogic/Oracle\Middleware\user_projects\domains\base_domain','ssl')


WLSTException: Error occured while performing nmConnect : Cannot connect to Node Manager. : Access to domain 'base_domain' for user 'weblogic' denied Use dumpStack() to view the full stacktrace
wls:/base_domain/serverConfig>

Solution:

You will need to add the following lines to nm_password.properties file

password=xxxxx
username=weblogic
This file is located under WL_HOME\user_projects\domains\base_domain\config\nodemanager

Note: for the first Error you'll need to stop/start NodeManager

wls:/base_domain/serverConfig> stopNodeManager()
wls:/base_domain/serverConfig> startNodeManager()

For the second error you do not need to stop/start Nodemanager
wls:/base_domain/serverConfig> nmConnect 'weblogic','xxxxx','localhost','5556','base_domain',r'D:\weblogic/Oracle\Middleware\user_projects\domains\base_domain','ssl')

Connecting to Node Manager ...

Successfully Connected to Node Manager.

wls:/base_domain/serverConfig>
 
Cheers,