Issue while creating datasource on Weblogic Server

In Weblogic Sometimes when you try add datasource to cluster group it fails with following error, which might be due to process limit on database side. WLS Console Error ============== Caused by: java.lang.Throwable: Substituted for the exception oracle.net.ns.NetException which lacks a String contructor, original message – Got minus one from

Continue reading »

What is Kerberos?

Three parties are involved in Kerberos Based Authentication – Client, Server and a Kerberos Distribution Centre. The diagram below clearly demonstrates how the interactions between the three parties happen. 1 – Client requests for a TGT (Ticket to Get Tickets) from the KDC (Key Distribution Centre). Client sends its username

Continue reading »

Silent Installation of WebLogic Server

The below post describes about the Silent Installation of Oracle WebLogic Server 11g. Silent mode installation allows you to define an installation configuration file called silent.xml, based upon which the required components are installed. This does not provide any configuration options during the installation process. Silent installation allows using the

Continue reading »

Not able to configure Error Page?

Customers have often reported issues that they are not able to configure error page even though the do the configuration in the web.xml correctly web.xml <?xml version=’1.0′ encoding=’UTF-8′?> <web-app xmlns=”http://java.sun.com/xml/ns/j2ee” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”> <display-name>TestApplication</display-name> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> <error-page> <error-code>404</error-code> <location>/error.jsp</location> </error-page> <error-page> <error-code>500</error-code> <location>/error.jsp</location> </error-page> <error-page> <error-code>403</error-code> <location>/error.jsp</location> </error-page> </web-app> error.jsp <%@page

Continue reading »

Enabling and Disabling Weblogic Admin Console

Disabling and Enabling Admin Console Many at times for most of our administration work including the changes (deployments, start/stop of servers, etc) or configurations (JMS, creation/deletion/editing of our servers, etc) we use our weblogic admin console. But, for security reasons some of the banking companies for its core banking applications

Continue reading »

Different Out Of Memory Issues

* Exception in thread “CompilerThread1” java.lang.OutOfMemoryError: requested 793020 bytes for Chunk::new. Out of swap space? Out of memory while reading in symbol table of /apps/bea/weblogic92/jdk1.5.0.18/opt/java1.5/jre/lib/PA_RISC2.0/server/libjvm.sl ( 0)  0xc8461230     [/apps/bea/weblogic92/jdk1.5.0.18/opt/java1.5/jre/lib/PA_RISC2.0/server/libjvm.sl] ( 1)  0xc80a5fec     [/apps/bea/weblogic92/jdk1.5.0.18/opt/java1.5/jre/lib/PA_RISC2.0/server/libjvm.sl] ( 2)  0xc7f00420     [/apps/bea/weblogic92/jdk1.5.0.18/opt/java1.5/jre/lib/PA_RISC2.0/server/libjvm.sl] ( 3)  0xc7f00ca0     [/apps/bea/weblogic92/jdk1.5.0.18/opt/java1.5/jre/lib/PA_RISC2.0/server/libjvm.sl] ( 4)  0xc8368d08     [/apps/bea/weblogic92/jdk1.5.0.18/opt/java1.5/jre/lib/PA_RISC2.0/server/libjvm.sl] ( 5)  0xc005b2e4   __pthread_body +

Continue reading »

Integrate YourKit Java Profiler with a standalone Weblogic Server

YourKit Java Profiler is a CPU and memory profiler that makes it easy to solve wide range of CPU- and memory-related performance problems. It features automatic leak detection, powerful tools for the analysis of memory distribution, an object heap browser, comprehensive memory tests as part of your JUnit testing process,

Continue reading »

Comparison Between Cluster Multicast Messaging and Unicast Messaging Mode

When servers are in a cluster, these member servers communicate with each other by sending heartbeats and indicating that they are alive. For this communication between the servers, either unicast or multicast messaging is used. This is chosen from the admin console in Cluster -> Configuration -> Messaging -> Messaging

Continue reading »

Creating wlfullclient.jar For Client Applications

Prior to the release of weblogic server 10.0, weblogic.jar file could be bundled with the client applications to use some advanced features like: – Enhanced JDBC and WLS specific JMX interfaces – WLS t3 and iiop client (For information on these features: http://download.oracle.com/docs/cd/E11035_01/wls100/client/basics.html#wp1066820) But from WLS 10.0, to use these

Continue reading »

HttpClusterServlet Configuration (Weblogic Server Acting as a Proxy)

To make a weblogic server act as a webserver, HttpClusterServlet is used. Below are the steps to create it: –    Create 3 managed servers and add 2 managed servers to a cluster, let the third managed server be a standalone server – Create 3 managed servers and add 2 managed

Continue reading »