14 Ответы Последний ответ: 19.11.2013 20:22, автор: Satish Kumar SK

    Unable to access enterprise manager in weblogic!!

    ManojC
      Hi,

      I am trying to access enterprise manager (EM) in weblogic11g(http://localhost:7001/em). it throwing the Error 404--Not Found in IE. I have checked in the weblogic console deployments and the status of 'em' is failed and tried to start it but it was throwing the following error.

      Warning : The library adf.oracle.domain(1.0,11.1.1.2.0) has been excluded. Libraries are always managed as part of another application
      Error :java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener

      Please find the log trace below and help me to resolve this issue.

      ####<Oct 1, 2012 11:24:30 AM IST> <Warning> <Deployer> <IPAddress> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <fc5f14331811fb2d:4f888a4c:13a01c13438:-8000-00000000000001a8> <1349070870398> <BEA-149004> <Failures were detected while initiating start task for application 'em'.>
      ####<Oct 1, 2012 11:24:30 AM IST> <Warning> <Deployer> <IpAddress> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <fc5f14331811fb2d:4f888a4c:13a01c13438:-8000-00000000000001a8> <1349070870398> <BEA-149078> <Stack trace for message 149004
      weblogic.management.DeploymentException:
           at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:176)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
           at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:104)
           at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
           at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:103)
           at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:175)
           at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:281)
           at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
           at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
           at weblogic.deploy.internal.targetserver.operations.StartOperation.createAndPrepareContainer(StartOperation.java:85)
           at weblogic.deploy.internal.targetserver.operations.StartOperation.doPrepare(StartOperation.java:98)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
           at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      Caused By: java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener     
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
           at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
           at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Class.java:247)
           at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:140)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
           at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:104)
           at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
           at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:103)
           at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:175)
           at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:281)
           at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
           at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
           at weblogic.deploy.internal.targetserver.operations.StartOperation.createAndPrepareContainer(StartOperation.java:85)
           at weblogic.deploy.internal.targetserver.operations.StartOperation.doPrepare(StartOperation.java:98)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
           at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
        • 1. Re: Unable to access enterprise manager in weblogic!!
          Kalyan Pasupuleti-Oracle
          Hi,

          there are various factor behind this error.

          Make sure when you start your OAM server under Nodemanager properties files startScript enabled must be true.

          and restart entire services again and you will find EM application will show active.

          Still you have query please let me know.

          Regards,
          Kal
          • 2. Re: Unable to access enterprise manager in weblogic!!
            ManojC
            Thanks for the reply Kalyan..

            The 'StartScriptEnabled' property value has been already set to true (D:\Oracle\Middleware\wlserver_10.3\common\nodemanager\nodemanager.properties). I would like to know another fix available to resolve this issue. Please advise me.
            • 3. Re: Unable to access enterprise manager in weblogic!!
              Kalyan Pasupuleti-Oracle
              Hi Prabhu,

              Try to clear cache and tmp and data from Admin server and try to restart the server again.

              Regards,
              Kal
              • 4. Re: Unable to access enterprise manager in weblogic!!
                ManojC
                I have tried the above steps to clear the folders under the admin server and restarted it, but still I am not able to access the EM (Error 404--Not Found).
                • 5. Re: Unable to access enterprise manager in weblogic!!
                  Kalyan Pasupuleti-Oracle
                  Hi Prabhu,

                  you still see similar problem.

                  I appreciate if you can provide me config.xml and server log on this issue.

                  Regards,
                  Kal
                  • 6. Re: Unable to access enterprise manager in weblogic!!
                    ManojC
                    Hi Kalyan,

                    please find the details below.

                    --> Find the Config.xml file in the below link.

                    http://www.filedropper.com/config_4

                    --> The logs throw the same error as i mentioned in the inital thread.
                    • 7. Re: Unable to access enterprise manager in weblogic!!
                      ManojC
                      Hi Kalyan,

                      please find the details below.

                      --> Find the Config.xml file in the below link.

                      http://www.filedropper.com/config_4

                      --> The logs throw the same error as i mentioned in the inital thread.

                      In our environment we have two domains available. We have turned off the admin server for the first domain. The second domains admin server is up and running. But I didn't change the admin server port for second domain. Is it causing any issues?
                      • 8. Re: Unable to access enterprise manager in weblogic!!
                        Kalyan Pasupuleti-Oracle
                        Hi Prabu,

                        Ensure that all WebLogic domains in which the Business Transaction Management central servers and monitors are installed include the Java Required Files (JRF) template.

                        If any of these domains does not include the JRF template, extend the domain and add the template. You will get the following exception when you attempt to start the server if the JRF template is not included in the domain:

                        java.lang.ClassNotFoundException:
                        oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener

                        Note: The JRF template is part of the Oracle Application Development Framework (ADF) runtime, which means that you must install the ADF runtime into your WebLogic installation before you can extend any domain with the JRF template. When installing the ADF runtime, take care to install the release version that matches your version of WebLogic. You can download the ADF runtime at:

                        http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html

                        Depending upon the type of WebLogic installation you are working with the ADF runtime may have already been installed for you. For example, when you install SOA Suite or Oracle Service Bus (OSB) the ADF runtime, including the JRF template, is installed with WebLogic.

                        Check to make sure that your WebLogic installation does not include the JRF template before installing the ADF runtime files. You can do this by starting up the WebLogic configuration wizard and looking to see if the "Oracle JRF" template is one of the domain creation options.

                        Regards,
                        Kal
                        • 9. Re: Unable to access enterprise manager in weblogic!!
                          ManojC
                          Hi Kalyan,

                          I have installed ECM content management suite in weblogic server domain. The 'Oracle JRF' template has already installed in that domain. I am not sure how to check the ADF runtime is installed in that domain. Currently I am using weblogic server 10.1.3.5 but the download like what you have mentioned is doesn't have the that particular version of ADF runtime. Please help me to proceed further.
                          • 10. Re: Unable to access enterprise manager in weblogic!!
                            Kalyan Pasupuleti-Oracle
                            open a ticket with Oracle support to clarify the issue.
                            • 11. Re: Unable to access enterprise manager in weblogic!!
                              ManojC
                              Hi Kalyan,

                              The above issue has been resolved after removing the 'oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener' command from the EM's application.xml file. After restarting the admin server i am facing the below issue.

                              ####<Oct 15, 2012 11:41:00 AM IST> <Warning> <Deployer> <appche001> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <fc5f14331811fb2d:6cb8d4a4:13a6308ae2b:-8000-0000000000000018> <1350281460700> <BEA-149078> <Stack trace for message 149004
                              weblogic.application.ModuleException: Failed to load webapp: '/em'
                                   at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
                                   at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
                                   at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
                                   at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
                                   at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                                   at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
                                   at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
                                   at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
                                   at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                                   at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
                                   at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
                                   at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
                                   at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
                                   at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
                                   at weblogic.deploy.internal.targetserver.operations.StartOperation.createAndPrepareContainer(StartOperation.java:85)
                                   at weblogic.deploy.internal.targetserver.operations.StartOperation.doPrepare(StartOperation.java:98)
                                   at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
                                   at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
                                   at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
                                   at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
                                   at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
                                   at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
                                   at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
                                   at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
                                   at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
                                   at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
                                   at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
                              Caused By: java.lang.ClassNotFoundException: oracle.adf.share.security.authentication.AuthenticationServlet     
                              at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
                                   at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
                                   at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
                                   at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
                                   at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
                                   at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
                                   at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
                                   at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:225)
                                   at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:209)
                                   at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:105)
                                   at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1368)
                                   at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:449)
                                   at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:493)
                                   at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
                                   at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:972)
                                   at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:382)
                                   at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
                                   at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
                                   at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
                                   at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                                   at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
                                   at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
                                   at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
                                   at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                                   at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
                                   at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
                                   at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
                                   at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
                                   at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
                                   at weblogic.deploy.internal.targetserver.operations.StartOperation.createAndPrepareContainer(StartOperation.java:85)
                                   at weblogic.deploy.internal.targetserver.operations.StartOperation.doPrepare(StartOperation.java:98)
                                   at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
                                   at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
                                   at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
                                   at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
                                   at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
                                   at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
                                   at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
                                   at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
                                   at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
                                   at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
                                   at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
                              >

                              I have deleted the 'tmp' folder in admin directory and restarted the server, still the above issue occurs. Please help me to resolve this issue.

                              Regards,
                              Prabhu
                              • 12. Re: Unable to access enterprise manager in weblogic!!
                                Kalyan Pasupuleti-Oracle
                                Hi Prabhu,

                                There are several bugs available for this issue.

                                I would suggest to open a ticket with Oracle weblogic support to get exact bug on this issue.

                                Regards,
                                Kal
                                • 13. Re: Unable to access enterprise manager in weblogic!!
                                  mhaljasim

                                  Hello, i have faced the same problem but my error was with another library,

                                  and my solution was strangely i found that the library files were deleted from the weblogic server which i dont know how !!!!

                                  all i did was copy the library files back from another weblogic installation, and restarted the server.


                                  In my case the library was jsf 2 which is located at \Oracle\Middleware\oracle_common\modules\oracle.jsf_2.0

                                  check where is the deployment path for the library you are facing this problem with maybe it is the same as my problem.

                                  • 14. Re: Unable to access enterprise manager in weblogic!!
                                    Satish Kumar SK

                                    Hi,

                                     

                                    I am also getting the same error message

                                    ""Java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener""


                                    while trying to start the deployed  EAR files on the BTM managed server -WLS 10.3.6


                                    Any clue ?