<BEA-101215><Malformed request “Can not parse URI from http request”. Request parsing failed, Code: -1> Go to WLS console->Environment->Servers->->Protocols->HTTP and uncheck “Enable Keepalives” <BEA-149535><JMX Resiliency Activity Server=xxxxxx :Received a DISCONNECT EVENT We need to specify the listen address on each server.
Continue readingWebLogic Clustering Issues
<BEA-000802><ExecuteRequest failedjava.lang.RuntimeException: MaxThreads constraint ‘weblogic.unicast.ForwardingWorkManager’ queue for workManager ‘weblogic.unicast.ForwardingWorkManager’ exceeded maximum capacity of ‘8192’ elements. Max threads constraint count is set to 1. This can be addressed by switching to Unicast. Its fixed in 12.1.3 and there is patch in
Continue readingHow to view messages from Persistent Store
Publish a persistent message on the Queue Set the environment source setDomainEnv.sh Go to the folder where the JMS Store is present 1049088 Oct 22 10:29 GEMSJMSSERVER_105_1000000.DAT Log in to the storeadmin commandline using the Admin utility. java weblogic.store.Admin Type
Continue readingJMX Code to print peak Native Memory Usage and Code Cache
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 readingHigh 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 readingINSTALLING OHS 12C BINARIES IN SILENT MODE + CREATING STAND ALONE INSTANCE USING PYTHON SCRIPT
ENVIRONMENT: LINUX Red Hat Enterprise Linux Server release 7.5 (Maipo) WILL BE INSTALLING OHS 12.2.1.3.0 Make sure you take care of all the OS level prerequisite before moving forward with OHS installation. Below screen shot is providing listing of each folder that
Continue reading