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 readingCategory: Troubleshooting
this category contains posts related to Troubleshooting
Unable to start managed server from nodemanager
When we try to start the managed server from nodemanager, we get the following error. <BEA-090064> <The DeployableAuthorizer “myrealm_weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl” returned an error: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource.> This errror comes because the managed server ldap server (slave) is not in
Continue readingHigh CPU Usage of WebLogic Server on Linux
If you observe CPU being hogged by the Weblogic Server process on a linux machine, you need to find out the Weblogic Server process id using ps -ef | grep java After you’ve found out the process id, find the
Continue readingjavax.xml.stream.XMLStreamException while validating xml
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[2,134] Message: Tried all: ‘1’ addresses, but could not connect over HTTP to server: ‘java.sun.com’, port: ’80’ at com.sun.xml.stream.XMLReaderImpl.next(XMLReaderImpl.java:545) at weblogic.servlet.internal.TldCacheHelper$TldIOHelper.parseXML(TldCacheHelper.java:132) at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:380) at weblogic.servlet.internal.TldCacheHelper.parseTagLibraries(TldCacheHelper.java:65) at weblogic.servlet.internal.War.getTagInfo(War.java:889) at weblogic.servlet.internal.WebAppServletContext$ServletContextWebAppHelper.getTldInfo(WebAppServletContext.java:3708) You might encounter the following exception when the
Continue readingNodeManager issues during oracle weblogic server environment setup
I/O error while reading domain directory: java.io.FileNotFoundException: Domain directory ‘D:beawlserver_10.3commonnodemanager’ invalid (domain salt file not found We need to to nmEnroll and restart the nodemanager to fix this error. weblogic.nodemanager.common.ConfigException: Native version is enabled but node manager native library could
Continue readingcommon database related issues with Weblogic Server
<BEA-001112> <Test “SELECT 1 FROM DUAL” set up for pool “Test” failed with exception: “java.sql.SQLException: Io exception: Connection reset by peer: socket write error”.> Network or the DBMS is killing the connection, you need to check with the Database Admin
Continue readingIssues while starting Managed Server as a Window’s Service
[E] [ServiceStart] Error in JVM. Cause=Unable to find a JVM! If we look at the complete log file we will observe the following lpszCmdLine = -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Dweblogic.Stdout=C:OracleMiddlewareuser_projectsdomainsClassicDomainstdout.txt – The service is starting Weblogic Server with -client
Continue readingMemory Leak Overview
[gview file=”https://gyantruck.files.wordpress.com/2020/09/d5ba5-memory_leak.pptx”]
Continue readingSolving NoClassDefFoundError using the classloader analysis tool (CAT)
javax.servlet.ServletException: java.lang.NoClassDefFoundError: Application was failing to find an application class. Using jarscan we searched the jars containing this class from the middleware home. The jars were present in the domain lib. We also checked the classpath in the startWeblogic.cmd and
Continue readingtrimDirectiveWhitespaces not working?
You need to change the web-app version to 2.5 as previous version does not support JSP 2.1. Weblogic server enforces the jsp version mentioned in the web-app of the web.xml. It should be like this. <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5"
Continue reading