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 »

CONFIGURING CROSS DOMAIN SECURITY WEBLOGIC 12C

CONFIGURING CROSS DOMAIN SECURITY WEB LOGIC 12C Cross domain security create trust between multiple domains in a manner that a Weblogic domain can make calls and authenticate to another domain after trust has been establish between them. My Current Environment Preview I have two Weblogic Domain running on two different

Continue reading »

Placing Server Start Parameters And Java Options For Optimum Weblogic Server Performance.

Java  option or server startup parameter can be use to collect statics, streamline and fine tune Weblogic application server performance issue. Here is the scenario: By default in Weblogic all services get initiated on server start that causes delay in JVM startup time.  Let’s suppose in your current environment you do not need EJB’s,

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 »

AUTO RESTARTING MANAGE SERVER IN FAILED STATE USING WEBLOGIC NODEMANAGER CRASH RECOVERY FEATURE IN WEBLOGIC 12C

The nodemanager crash recovery feature enable auto restart of manage server incase of JVM failure. The Only Requirement To Use This Feature: Nodemanager should be configure to start  manage server. won’t work This feature will not work if out of box manage server start script  “startManagedWebLogic.sh”  is being use to start manage server

Continue reading »

UPGRADING WEBLOGIC FROM 12.1.2.0 TO 12.2.1 IN DISTRIBUTED SETUP(WEBLOGIC 12c)

THIS IS THE LOOK OF MY CURRENT ENVIRONMENT BEFORE THE UPGRADE. ANOTHER LOOK OF MY ENVIRONMENT BEFORE UPGRADE. Admin server and server1 is running on host01 server2 is running on host02 Both servers are member of cluster1 Nodemanager is configure for both machines to start/stop manage servers LET’S START THE

Continue reading »

How to view active database connections in Tomcat

Configure remote JMX Connectivity for Tomcat by adding these JAVA OPTIONS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false 2.  Start jmxconsole and connect to the remote tomcat process. 3. Go to MBeans -> Datasource -> Application Name -> Your Datasource -> numActive

Continue reading »

Security Vulnerability in your WebApplication (CVE 2017-9805)

Researchers have identified a major security flaw (CVE 2017-9805) in the Apache framework (Apache Struts REST Plugin) which could allow the hackers to inject malicious code to either steal critical customer data or cause service disruption of any server running an application built using the Struts framework and using the popular

Continue reading »