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 sync with the Admin Server ldap server ( master). To

Continue reading »

High 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 thread id’s ( light weight process id’s) and their CPU

Continue reading »

javax.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 server on which Weblogic is hosted is not able to

Continue reading »

NodeManager issues during oracle weblogic server environment setup

I/O error while reading domain directory: java.io.FileNotFoundException: Domain directory ‘D:\bea\wlserver_10.3\common\nodemanager’ 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 not be loaded You need to set the LD_LIBRARY_PATH for

Continue reading »

common 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 and the network Admin.   java.lang.ClassCastException: oracle.jdbc.driver.LogicalConnection incompatible with oracle.jdbc.OracleCo

Continue reading »

Issues 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:\Oracle\Middleware\user_projects\domains\ClassicDomain\stdout.txt – The service is starting Weblogic Server with -client option. -server option should be used on a Windows 64

Continue reading »

Memory Leak Overview

Continue reading »

Solving 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 setDomainEnv.cmd to check if direct references were present in the

Continue reading »

trimDirectiveWhitespaces 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" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">   I have uploaded a sample application which

Continue reading »

Common NodeManager exceptions (UnsatisfiedLinkError)

Below are few most common issues you might run into when trying to start a NodeManager. 1. weblogic.nodemanager.common.ConfigException: Native version is enabled but NodeManager native library could not be loaded Caused by: java.lang.UnsatisfiedLinkError: no nodemanager in java.library.path Remedy: You would need to point your jmv to point to the native

Continue reading »