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:



Read more…


WebLogic AdminServer startup and shutdown scripts

January 15, 2012 Leave a comment

Right after creating a WebLogic domain, you can navigate to the domain directory and start the administration server using the script. However, for easier control over the administration server of your domain, you can create some WLST startup and shutdown scripts that manage your admin server via the Node Manager.

The solution below describes two WLST scripts (startAdmin.jy and stopAdmin.jy ) and two platform dependent scripts that you use to call the Jython ones. ( and for Unix or startAdmin.bat and stopAdmin.bat for Windows)

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.

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…

Sending emails via command line

January 5, 2012 Leave a comment

If you are trying to set up email notification in Weblogic and your emails are not getting through to your inbox, it might be nothing wrong with your application server configurations, but rather a problem with the email server itself. To test if a regular mail is being sent without having to configure a mail client with that server, you can use the steps below to send an email via command line: Read more…

What’s new in Oracle Weblogic Server 12c

December 2, 2011 Leave a comment

On December 1st, Oracle has held an online event to launch the new Weblogic Server 12c, the foundation for the future generation of Fusion Middleware products. Along with 200 new features, this release brings cloud computing capabilities, hence the “c” in 12c, an even tighter integration with the Oracle Database and integration with some new Oracle products, that have just been announced.

Below you will find some of the new features that were mentioned during the live launch event:

  • Oracle Traffic Director, is a new released product, that will offer HTTP requests caching, a reverse proxy function and load-balancing based on other algorithms than just round-robin. It will completely replace Oracle WebCache, and while it will also eliminate the need for the Weblogic web server plugins for fronting a Weblogic cluster, the plugins will still be supported by Oracle for integrating with third party web servers such as Apache, IIS etc. However, the Oracle Traffic Director will initially be available only on the Exalogic platform!!

    Read more…

Setting up Watches and Notifications in Weblogic Server

November 14, 2011 Leave a comment

As any IT system administrator knows, it’s crucial to get informed in time of events and certain metrics levels occurring in the systems that you are responsible for. It’s the same with any Fusion Middleware platform, and this kind of functionality is covered by both the Enterprise Manager Grid Control, but also by the Weblogic Server itself. So if you are only using the Weblogic Administration console for monitoring your Weblogic platform, you can still set up alerts to inform you on the state of your system. This post will cover just such a setup that will send email notifications to the administrators, although SNMP traps, JMX, and JMS are also supported.

To set up your email alerts you will need to cover these main steps: Read more…