U 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 based before attempting to apply the deployment plan override
Continue reading »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 »ORA-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 Code: 1555 | SQL State: 72000 The LOB column for
Continue reading »Oracle 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 time being. To prevent attacks, KnownSec 404 is recommending that
Continue reading »INSTALLING 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 will be use in this silent install. software folder only contain
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 »STEPS OF INSTALLING OHS 12.2.1.3.0 ON REDHAT LINUX 7 64 BIT
DOWNLOAD OHS 12.2.1.3.0 INSTALLATION FILE FROM ORACLE WEBSITE. INSTALLATION FILE EITHER WILL BE IN a .jar FILE OR IT WILL BE A ZIP FILE. THE ONE I DOWNLOAD IS A ZIP FILE. AFTER DOWNLOADING THE ZIP FILE, EXTRACT THE ZIP FILE WITH FOLLOWING COMMAND unzip fmw_12.2.1.3.0_ohs_linux64_Disk1_1.zip I have also
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 »