Mutual Authentication with Weblogic Server

Mutual authentication is a process in which the Server sends its certificate to the client ( thin client / fat client) and the client validates the certificates, then the server requests for a certificate from the client and validates it. In this example we have created a .pfx certificate which

Continue reading »

Clustering in WebSphere Application Server

Clustering is a very critical aspect of any middleware enterprise application. It provides capabilities of high availability by providing fail over and load balancing mechanism. This post is a sample demonstration of configuring a cluster in WebSphere Application Server Network Deployment 7.0. Prerequisites: Deployment Manager Profile created using profile management

Continue reading »

Weblogic Dynamic Cluster configuration

This is a new feature available in Weblogic 12c (12.1.2). Dynamic cluster contains one or more dynamic servers. It allows you to add a new server dynamically at peak loads.  This would eliminate the need of adding the managed server manually to a cluster.  The businesses can define number of

Continue reading »

Common NodeManager exceptions (UnsatisfiedLinkError)

Below are few most common issues you might run into when trying to start a NodeManager. 1. weblogic.nodemanager.common.ConfigException: Native version is enabled but NodeManager native library could not be loaded Caused by: java.lang.UnsatisfiedLinkError: no nodemanager in java.library.path Remedy: You would need to point your jmv to point to the native

Continue reading »

What’s new in Weblogic 12c (12.1.2).

WebLogic 12c (12.1.2) is the latest version released. It is robust, provides unmatched performance and high availability. This can be downloaded from the below URL. http://www.oracle.com/technetwork/middleware/fusion-middleware/downloads/index.html Below are few new features that are introduced in WebLogic 12.1.2. 1. Dynamic Cluster Support: It is one of the most striking features of

Continue reading »

Weblogic Server Stuck thread and very high cpu usage when executing a query

We were observing frequent server hangs. On taking thread dumps at the time of hang we found the following culprit thread. [STUCK] ExecuteThread: ‘6’ for queue: ‘weblogic.kernel.Default (self-tuning)’” daemon prio=1 tid=01baae30 nid=55 lwp_id=9965842 runnable [1ff05000..1ff03878] at oracle.jdbc.oci8.OCIDBAccess.do_fetch(Native Method) at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java:1758) – locked < 36582dd0> (a oracle.jdbc.oci8.OCIDBAccess) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2659) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2832)

Continue reading »

Weblogic STUCK Thread on executing query on MS SQL Server 2008

Stuck threads were observed on Weblogic Server. Thread was stuck at this point. at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at com.microsoft.sqlserver.jdbc.TDSChannel.read(IOBuffer.java:1579) at com.microsoft.sqlserver.jdbc.TDSReader.readPacket(IOBuffer.java:3730) – locked (a com.microsoft.sqlserver.jdbc.TDSReader) at com.microsoft.sqlserver.jdbc.TDSCommand.startResponse(IOBuffer.java:5321) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:388) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:340) at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:4874) at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1400) – locked (a java.lang.Object) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:179) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:154) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:283) After some analysis on

Continue reading »

Configuring SSL on Weblogic Server using WLST Script

Create a certs folder in your C Drive and copy the setWLSEnv.cmd from your WL_HOME\bin to this location. Run the script from the command line to set the environment. C:\certs>setWLSEnv.cmd Generate Key Pair C:\certs>keytool -genkey -alias mykey -keyalg RSA -keysize 1024 -dname “CN=local host, OU=Customer Support, O=BEA Systems Inc, L=Denver,

Continue reading »

Tuning Weblogic Server

Continue reading »

Analyzing memory leak on Weblogic Server

Continue reading »