The below code can be used to monitor the non heap usage of the JVM. You can use this code to find out the peak code cache usage after load and performance testing and set the value accordingly in live.
Continue readingCategory: Oracle Weblogic Server
This category has posts related to Oracle Weblogic Server
High CPU Usage due to C2 CompilerThread
In our live environment we observed very HIGH CPU utilisation on the boxes. Weblogic JAVA process was hogging the CPU. To find the culprit thread, we followed the steps outlined here. High CPU Usage of WebLogic Server on Linux The
Continue readingUpdated deployment descriptors of WebLogic Server
weblogic.xml.process.XMLProcessingException: Error: For EJB modules, deployment plan overrides are not supported with DTD based deployment descriptors. The EJB module prbeans.jar is attempting to apply a deployment plan to DTD based descriptors. Please update your EJB deployment descriptors to be schema
Continue readingCreate 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 PPCustomField implements CustomELFLogger {public void logField(HttpAccountingInfo metrics,FormatStringBuffer buff) { buff.appendValueOrDash(metrics.getHeader(“Cookie”)); Map<String, String> map
Continue readingORA-01555: snapshot too old: rollback segment number with name “” too small
ORA-01555: snapshot too old: rollback segment number with name “” too small ORA-22924: snapshot too old DatabaseException caused by prior exception: java.sql.SQLException: ORA-01555: snapshot too old: rollback segment number with name “” too small ORA-22924: snapshot too old | SQL
Continue readingOracle WebLogic zero-day discovered in the wild
Several application running Oracle WebLogic were detected by Nessus as having a vulnerable version (being exploited in the wild). Impacted Versions: WebLogic 10.X, WebLogic 12.1.3 Resolution/ Workaround: Oracle is working on the fix, below is the work around for the
Continue readingHow 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
Continue readingSteps 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
Continue readingADDING 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
Continue readingCONFIGURING 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
Continue reading