9 Replies Latest reply: Dec 11, 2012 10:04 PM by Ganesh.. RSS

    Error when starting Enterprise Manager: java.lang.NoSuchMethodError

    carlos cortez
      Hi,

      When trying to access the EM i got Error 404--Not Found, so i went to start EM manually but i'm getting this error when trying to start the EM in weblogic 10.3.6 on Windows 7 64 bits:
      ####<12-10-2012 09:47:02 AM CST> <Warning> <Deployer> <Carlos-PC> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <28c4d4e1e4b85327:42e7543a:13b85623d16:-8000-00000000000001d1> <1355154422239> <BEA-149078> <Stack trace for message 149004
      weblogic.application.ModuleException: 
           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
           at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
           at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
           at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
           at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      Caused By: java.lang.NoSuchMethodError: org.apache.log4j.spi.LoggingEvent.getLevel()Lorg/apache/log4j/Level;
      What should i do to solve this ?? :(

      Regards
      Carlos
        • 1. Re: Error when starting Enterprise Manager: java.lang.NoSuchMethodError
          746690
          ####<12-10-2012 09:47:02 AM CST> <Warning>

          this is just a warning and not able to help to troubleshoot issues, paste error message from logs

          Regards
          Mukesh Negi
          • 2. Re: Error when starting Enterprise Manager: java.lang.NoSuchMethodError
            carlos cortez
            At the admin console the error shown is the one from the warning, the error from log is:
            ####<12-10-2012 09:47:02 AM CST> <Error> <Deployer> <Carlos-PC> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <28c4d4e1e4b85327:42e7543a:13b85623d16:-8000-00000000000001c8> <1355154422236> <BEA-149202> <Encountered an exception while attempting to commit the 7 task for the application 'em'.> 
            ####<12-10-2012 09:47:02 AM CST> <Warning> <Deployer> <Carlos-PC> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <28c4d4e1e4b85327:42e7543a:13b85623d16:-8000-00000000000001d1> <1355154422238> <BEA-149004> <Failures were detected while initiating start task for application 'em'.> 
            ####<12-10-2012 09:47:02 AM CST> <Warning> <Deployer> <Carlos-PC> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <28c4d4e1e4b85327:42e7543a:13b85623d16:-8000-00000000000001d1> <1355154422239> <BEA-149078> <Stack trace for message 149004
            weblogic.application.ModuleException: 
                 at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
                 at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
                 at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                 at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
                 at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
                 at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
                 at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                 at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
                 at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
                 at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                 at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
                 at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
                 at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
                 at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
                 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
                 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
                 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
                 at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
                 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
                 at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
                 at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
                 at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
                 at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
                 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
                 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
                 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
            Caused By: java.lang.NoSuchMethodError: org.apache.log4j.spi.LoggingEvent.getLevel()Lorg/apache/log4j/Level;
                 at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:215)
                 at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
                 at org.apache.log4j.Category.callAppenders(Category.java:190)
                 at org.apache.log4j.Category.forcedLog(Category.java:375)
                 at org.apache.log4j.Category.log(Category.java:838)
                 at oracle.sysman.util.logging.ApacheLogOperations.logp(ApacheLogOperations.java:251)
                 at oracle.sysman.util.logging.DualModeLogOperations.logp(DualModeLogOperations.java:244)
                 at oracle.sysman.emSDK.util.logging.Logger.logp(Logger.java:1104)
                 at oracle.sysman.emSDK.util.logging.Logger.log(Logger.java:810)
                 at oracle.sysman.util.logging.log4j.Log4jLogger.log(Log4jLogger.java:145)
                 at oracle.sysman.util.logging.log4j.Log4jLogger.debug(Log4jLogger.java:83)
                 at oracle.sysman.eml.app.ContextInitializer.storeOmsAdminOp(ContextInitializer.java:1727)
                 at oracle.sysman.eml.app.ContextInitializer.contextInitialized(ContextInitializer.java:1153)
                 at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
                 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                 at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
                 at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
                 at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868)
                 at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
                 at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
                 at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
                 at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                 at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
                 at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
                 at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
                 at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                 at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
                 at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
                 at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                 at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
                 at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
                 at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
                 at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
                 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
                 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
                 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
                 at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
                 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
                 at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
                 at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
                 at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
                 at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
                 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
                 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
                 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
             
            • 3. Re: Error when starting Enterprise Manager: java.lang.NoSuchMethodError
              Ganesh..
              Hi,
              Have you modified the classpath of the weblogic server in setDomainEnv.sh or startWeblogic.sh?
              I think you have specified wrong version of org.apache.log4j jar in the classpath.
              • 4. Re: Error when starting Enterprise Manager: java.lang.NoSuchMethodError
                carlos cortez
                Hi,
                Thanks for your reply
                Have you modified the classpath of the weblogic server in setDomainEnv.sh or startWeblogic.sh?
                No, i have not modified the classpath
                • 5. Re: Error when starting Enterprise Manager: java.lang.NoSuchMethodError
                  Ganesh..
                  Hi,
                  Did you install em at the time of domain creation or extend it later on?
                  • 6. Re: Error when starting Enterprise Manager: java.lang.NoSuchMethodError
                    carlos cortez
                    Hi,

                    I did install em at the time of domain creation, after that i extend it for my soa installation.
                    • 7. Re: Error when starting Enterprise Manager: java.lang.NoSuchMethodError
                      Ganesh..
                      Hi,
                      Could you please specify the versions of weblogic and soa installables? Are you installing SOA on an approved weblogic version for soa?
                      It seems some version mismatch is causing this problem.
                      • 8. Re: Error when starting Enterprise Manager: java.lang.NoSuchMethodError
                        carlos cortez
                        Hi,

                        My weblogic's version is 10.3.6 and soa suite version is 11.1.1.6
                        • 9. Re: Error when starting Enterprise Manager: java.lang.NoSuchMethodError
                          Ganesh..
                          Hi,
                          Is it possible for you to create a new domain? And while creation only select soa and em will automatically get selected.
                          Could you check if this scenario works?