• Find us:
    +1-669-900-5138   |   +44-203-372-5553
  • Free Newsletter

    Get Latest Updates

  • Make Training Enquiry


    Company

  • Categories

  • Archive

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

    Posted by "" in "troubleshooting, weblogic" on 2013-01-31

    Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInEmail this to someone

     

    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.

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

    1. kd_tcs_mumbai says:

      Hi 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

    2. Mahendra says:

      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.

    3. nares says:

      when I’m deploying war file we are getting the issue any one please help me.

      <User defined listener com.cingular.tv.web.StartupListener failed
      : com.cingular.tv.common.TvRuntimeException: Error loading channel parameters:.
      com.cingular.tv.common.TvRuntimeException: Error loading channel parameters:
      at com.cingular.tv.blio.ChannelParameterManager.initialize(ChannelParameterManager.java:135)
      at com.cingular.tv.blio.ChannelParameterManager.instance(ChannelParameterManager.java:52)
      at com.cingular.tv.blio.ConfigfDelegateImpl.(ConfigfDelegateImpl.java:17)
      at com.cingular.tv.blio.BlioConfig.initialize(BlioConfig.java:1569)
      at com.cingular.tv.blio.BlioConfig.instance(BlioConfig.java:1392)
      Truncated. see log file for complete stacktrace
      Caused By: org.hibernate.exception.NestableRuntimeException: Timeout waiting for stopped Hibernate service
      at com.cingular.tv.svr.hibutil.HibTps.waitIfNotOpen(HibTps.java:559)
      at com.cingular.tv.svr.hibutil.HibTps.cs(HibTps.java:176)
      at com.cingular.tv.blio.ChannelParameterManager.initialize(ChannelParameterManager.java:89)
      at com.cingular.tv.blio.ChannelParameterManager.instance(ChannelParameterManager.java:52)
      at com.cingular.tv.blio.ConfigfDelegateImpl.(ConfigfDelegateImpl.java:17)
      Truncated. see log file for complete stacktrace
      >

    Leave a Reply



  • K21 Technologies is among the most experienced Oracle Gold Partner for Identity Access Management service providers. We work with application development companies and in-house technology division to help achieve significant returns on their IT security investment. Our clientele includes some of the globally renowned corporate, which speaks of our expertise in our field.

    We have the most talented and experienced team that can swiftly deploy security solutions even in complex IT ecosystem. Our clients highly appreciate our timely implementation, interactive training, on-demand support and community resources.
  • CONTACTS

    K21 Technologies
    8 Magnolia Place, Harrow,
    London, HA2 6DS

    UK: +44(0)7476444481
    USA: +1-888-414-1821

  • 2014, K21 Technologies. All rights reserved DMCA.com
  • TOP