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.





Good hands-on exercises (installation, patching, cloning), very experienced trainer worth every penny 
2 users commented in " Unable to access WebLogic Console: Error is “Unable to set the activation state to true for the application ‘consoleapp’” "
Follow-up comment rss or Leave a TrackbackHi Mahendra,
I am curious to know
1)how this package playing role in WebLogic console.
2)When oracle has bundled this package with WL, shouldn’t we require it for any purpose.
3) How you came to know that this is creating problem.
Thanks,
KD
KD,
I am not a WebLogic expert, but as far as I know the weblogic console is itself an enterprise application deployed in weblogic app server.
Ideally we don’t modify the consoleapp application. However the error says the exception is due to SAXParserFactory. There were lot of trails made to fix this exception but atlast removing the sax class reference in weblogic-application.xml resolved the issue.
Thanks
Mahendra.
Leave A Reply