Unable to access WebLogic Console: Error is “Unable to set the activation state to true for the application ‘consoleapp'”

 

Hi All,

I’ve been working on WebLogic Server startup issue since 3 days and I am glad that issue is fixed. There is a WebLogic 10.3.2 environment where OIM 10g is installed. We’re able to start the OIM application through xlStartManagedServer.sh properly and able to access OIM admin console. However while starting up WebLogic Admin Server using xlStartWLS.sh, we are getting the below exception:

INFO: Completed initializing Sun’s JavaServer Faces implementation (1.2_03-b04-FCS) for context ‘/console’
<Jan 28, 2013 10:09:55 AM PST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.NoClassDefFoundError: javax/xml/parsers/SAXParserFactory.
java.lang.NoClassDefFoundError: javax/xml/parsers/SAXParserFactory
at com.sun.faces.config.ConfigureListener$WebXmlProcessor.getConfiguredFactory(ConfigureListener.java:1987)
…………
…………
Caused By: java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
…………
…………
<Jan 28, 2013 10:09:55 AM PST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application ‘consoleapp’.
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
…………
…………
<Jan 30, 2013 10:59:00 PM PST> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server “AdminServer” for domain “oim_domain” running in Production Mode>
<Jan 30, 2013 10:59:00 PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jan 30, 2013 10:59:00 PM PST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

Since the server status is showing as RUNNING, I have tried accessing WebLogic Console http://host:port/console and it is throwing 404 Not Found error

There’re no any other clue in Admin Server logs which console is not accessible. So here is fix for the issue:

The weblogic-application.xml located under $WL_HOME/server/lib/consoleapp/META-INF  has the package name <package-name>javax.xml.*</package-name> defined under the section <prefer-application-packages>

This package has been removed and bounced the server using xlStartWLS.sh and the server started without any exception and I am able to access the WebLogic console properly.

 

Learn Oracle Weblogic Server Administration

 

Get 100 USD OFF + 100% Money Back Guarantee

Click here to get Early Bird Discounts

About the Author Mahendra

I am engulfed in Oracle Identity & Access Management domain. I have expertise on providing the optimized solutions for user provisioning, web access management, Single Sign-On and federation capabilities etc., I am also well versed with complex integrations within Identity Management and other product domains. I have expertise on building demos and implementation experience on products Oracle Access Manager, Oracle Adaptive Access Manager, Oracle Entitlement Server, Oracle Virtual Directory, Oracle Internet Directory etc., Look @ my blog: http://talkidentity.blogspot.com

Leave a Comment:

4 comments
Add Your Reply