Archive

Posts Tagged ‘node manager’

Starting Coherence servers using Node Manager

January 30, 2012 Leave a comment

Once you have created the Coherence servers in your domain, you should be able to manage their lifecycle using the Node Manager, just like with Weblogic managed servers. Of course, for this to work a Coherence server must be assigned to a machine within the Weblogic domain. The Coherence servers can then be started:

  • from the Administration console, by navigating to the “Control” tab and clicking “Start” for the selected servers
  • from WLST, by the following command:

nmConnect(‘weblogic’,’welcome1′,’localhost’,’5556′,’FMW_XPS’,’/shared/oracle/FMW_Home/user_projects/domains/FMW_XPS’,’plain’)

nmStart(‘coh_server1′,serverType=’Coherence’)

Read more…

Cannot connect to Node Manager. : Access to domain for user ‘weblogic’ denied

January 15, 2012 2 comments

If you’ve hit this error you are probably trying to control your Weblogic servers via WLST, but you are unable to connect to the Node Manager.

nmConnect(‘weblogic’,’welcome1′,’localhost’,’5556′,’FMW_XPS’,’/shared/oracle/FMW_Home/user_projects/domains/FMW_XPS’,’plain’)
Connecting to Node Manager …
Traceback (innermost last):
File “”, line 1, in ?
File “”, line 123, in nmConnect
File “”, line 648, in raiseWLSTException
WLSTException: Error occured while performing nmConnect : Cannot connect to Node Manager. : Access to domain ‘FMW_XPS’ for user ‘weblogic’ denied.
Use dumpStack() to view the full stacktrace

Assuming you’ve already made sure all the parameters in the nmConnect command are correct and the NM process is up and running, there is actually one more thing to check: has your domain been set up in Production Mode? If so, then the Node Manager credentials have been generated by the Configuration Wizard at domain creation time. While the AdminServer will be aware of these credentials by default (you are able to connect to the NM via de admin console, after all), you will not be able to connect via WLST since you have to provide this random username and password. The solution is to reset the credentials in the Administration Console.

Read more…

Node Manager as Linux service and Weblogic server autorestart

January 5, 2012 5 comments

In order to have Node Manager start automatically it must be configured as a daemon. In order to do that, edit the below script to reflect your Weblogic installation path, then save it under /etc/init.d/nodemgr and run ‘chkconfig –add nodemgr’ as root.

Read more…

Weblogic Domain Startup and Status check WLST scripts

October 6, 2011 2 comments

Below are two scripts that need minimal modification in order to start all servers in a Weblogic domain (including admin server) and check the status of all servers in a domain, respectively.

The status_wls.jy script will connect to the AdminServer and return the status of all managed servers in the domain. It can be ran on any machine hosting at least one managed server in the domain. The scripts needs no other modification than the administrator username (usually weblogic user), password and admin server URL. Read more…