Posts Tagged ‘weblogic’

How to find Weblogic patches in Oracle Support site?

April 25, 2012 Leave a comment

After the Oracle’s aquisition of BEA all Weblogic server legacy patches have been included in the new My Oracle Support site, Oracle’s former Metalink. Due to this change, all Weblogic patches are now identified by a patch number of 7 digits (e.g. Patch 8206442). However, there are many resources out there such as blogs or even notes in the Oracle support site that still refer to the Weblogic patches by the old identification code, formed of 4 alpha numeric characters (e.g. Patch PKJ1)

To locate and download these patches from the MOS site ( or you need to:

Read more…


Unable to start Weblogic: PasswordEncrypted of ServerStartMBean

April 25, 2012 Leave a comment

The Weblogic administration server is not starting and the complete error message is:

“In production mode, it’s not allowed to set a clear text value to the property: PasswordEncrypted of ServerStartMBean”

If this is occurring in Weblogic versions 10.3.1 or earlier, then it is a known bug with the administration console. The bug will cause a <password-encrypted> tag of a certain weblogic instance in your domain to be set to a null value in the config.xml. This will happen if you modify some startup arguments of that instance in the administration console. Weblogic will interpret the null value as a plain text password, which is not allowed in a production domain, thus the error in starting the server.

There is a patch that you can apply for this issue, but there are also some quick workarounds that might prove very useful if there is a time constraint for starting the administration service.

Read more…

Instrumenting Weblogic Applications with WLDF: Where Does The Application Spend Time?

February 1, 2012 1 comment

The WebLogic Diagnostic Framework is a very powerful tool complementing the WebLogic server that offers virtually unlimited possibilities to monitor, tune and troubleshoot your deployed applications. In this post I will describe how to use WLDF in order to get a better idea on where does an application spend it’s time, broken down by components. This is achieved by using the WLDF application-scoped instrumentation. The main steps for setting it up are:

  1. Enable the Diagnostic Context to track down a request throughout the system;
  2. Enable server-scoped instrumentation;
  3. Enable application-scoped instrumentation;
  4. Define specific Diagnostic Monitors and assign them specific Actions;
  5. Update the application with the new settings;
  6. Access the instrumented application and analyze the collected data;

Let’s get into details with each of these steps…

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…

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…