Create and configure Extended Logger for Weblogic

Create an extended logger by compiling the code below and creating a jar ( el.jar in this example) import weblogic.servlet.logging.CustomELFLogger;import weblogic.servlet.logging.FormatStringBuffer;import weblogic.servlet.logging.HttpAccountingInfo;import java.util.Enumeration;import java.util.HashMap;import java.util.Map; public class PaypalCustomField implements CustomELFLogger {public void logField(HttpAccountingInfo metrics,FormatStringBuffer buff) { buff.appendValueOrDash(metrics.getHeader(“Cookie”)); Map<String, String> map = new HashMap<String, String>(); StringBuffer sbuf = new StringBuffer(); Enumeration

Continue reading »

How to create Work Manager and assign to application.

Please follow the steps below to create a WORK MANAGER Environment -> Work Manager -> New   Configure Maxmimum and Minimum Thread Contraint Target them on the server. Once the work manager is created, an application can be configured to use it. weblogic-ejb-jar.xml <weblogic-enterprise-bean> <ejb-name>PRAsync</ejb-name> <message-driven-descriptor> <pool> <max-beans-in-free-pool>1000</max-beans-in-free-pool> <initial-beans-in-free-pool>50</initial-beans-in-free-pool> </pool>

Continue reading »

Steps to generate boot.properties and startup.properties for AdminServer

If we start the AdminServer( which has never been started before using script ) from NodeManager, boot.properties and startup.properties file don’t get created by default and AdminServer fails to start. To create the boot.properties and startup.properties file we need to follow the steps below.   sed -i “s/StartScriptEnabled=true/StartScriptEnabled=false/g” nodemanager.properties connect(‘user’,’pwd!’,’t3://host:port’)

Continue reading »

ADDING JAR FILE BY MODIFYING CLASSPATH

ADDING JAR FILE BY MODIFYING CLASSPATH In this doc i will be discussing couple of ways to modify the CLASSPATH and will be adding a jar file in the CLASSPATH. modifying CLASSPATH in commEnv.sh let’s suppose you have a  jar file with the name of sample.jar under /u01/domains/part1/wlsadmin/sample.jar and you would like modify CLASSPATH by  adding  this

Continue reading »

SETTING UP NETWORK CHANNEL WEBLOGIC 12C

Setting Up Network channels Network channel is a Weblogic resource that can be configure to separate and load balance network traffic for critical applications to achieve faster performance. Incase of heavy traffic on application servers, one can configure network  channels to separate internal server communication from client user communication. Brief on my

Continue reading »