3 Replies Latest reply: Apr 29, 2013 4:39 PM by 996933 RSS

    Context path error

    996933
      Hi all,

      I have been struggling with this error from few days, Can you please help me figure out the reason for the error?

      ####<Apr 29, 2013 12:37:40 PM EDT> <Warning> <netuix> <HHQOP780JCJ0QN1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1367253460387> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=AppDeploymentsControlPage.>
      ####<Apr 29, 2013 12:38:03 PM EDT> <Error> <Deployer> <HHQOP780JCJ0QN1> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1367253483959> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1367253483780' for task '7'. Error is: 'weblogic.application.ModuleException: Context path '/NTools1' is already in use by the module: NTools1.war application: NTools1'
      weblogic.application.ModuleException: Context path '/NTools1' is already in use by the module: NTools1.war application: NTools1
           at weblogic.servlet.internal.WebAppModule.initAndValidateContextPath(WebAppModule.java:1214)
           at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:974)
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384)
           at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:435)
           at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
           at weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:194)
           at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:541)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:175)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:167)
           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.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
           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.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)
      >
      ####<Apr 29, 2013 12:38:03 PM EDT> <Error> <Deployer> <HHQOP780JCJ0QN1> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1367253483982> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'NTools1'.>
      ####<Apr 29, 2013 12:38:03 PM EDT> <Warning> <Deployer> <HHQOP780JCJ0QN1> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1367253483983> <BEA-149004> <Failures were detected while initiating deploy task for application 'NTools1'.>
      ####<Apr 29, 2013 12:38:03 PM EDT> <Warning> <Deployer> <HHQOP780JCJ0QN1> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1367253483983> <BEA-149078> <Stack trace for message 149004
      weblogic.application.ModuleException: Context path '/NTools1' is already in use by the module: NTools1.war application: NTools1
           at weblogic.servlet.internal.WebAppModule.initAndValidateContextPath(WebAppModule.java:1214)
           at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:974)
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384)
           at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:435)
           at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
           at weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:194)
           at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:541)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:175)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:167)
           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.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
           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.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)
      >
      ####<Apr 29, 2013 12:38:04 PM EDT> <Error> <Console> <HHQOP780JCJ0QN1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1367253484496> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: Context path '/NTools1' is already in use by the module: NTools1.war application: NTools1
           at weblogic.servlet.internal.WebAppModule.initAndValidateContextPath(WebAppModule.java:1214)
           at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:974)
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384)
           at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:435)
           at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
           at weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:194)
           at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:541)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:175)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:167)
           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.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
           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.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)
      >


      I don't have any other application with name NTools1 and Is it JMS problem??

      Could someone please explain me the error message.

      Thanks,
      Niharika
        • 1. Re: Context path error
          EonvanTonder
          It is not jms related, check the deployments section via the admin console. Look for any applications with "Failed" status. You can see the context root by expanding the application, then the war file. There is most likely more than one application with /NTools1
          • 2. Re: Context path error
            996933
            Thanks a lot!!

            I thought of the same reason and made sure that no application with that name exists. But we have weblogic_domain-> config -> deployment folder in which it is storing all the previous app's including the app's that I manually deleted.

            Deleting the app's in that folder, resolved my issue for a while i..e as soon as I deploy I don't get the previous error, but it says..

            <Apr 29, 2013 5:47:57 PM EDT> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.WrappedDeploymentException: gov.cns.common.listeners.GDHttpSessionListener
                 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:423)
                 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
                 at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
                 at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
                 at java.lang.ClassLoader.defineClass1(Native Method)
                 at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
                 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
                 at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
                 at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
                 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:423)
                 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
                 at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
                 at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
                 at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
                 at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
                 at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1848)
                 at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1198)
                 at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
                 at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
                 at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
                 at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384)
                 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:648)
                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                 at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
                 at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:44)
                 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:208)
                 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.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:545)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
            >

            The above mentioned class exists, so I click on "Activate Changes", which says deployment successful.

            Now if I click on 'Start', to change the application status from prepared to Active, it says the same previous error :

            ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1367253483959> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1367253483780' for task '7'. Error is: 'weblogic.application.ModuleException: Context path '/NTools1' is already in use by the module: NTools1.war application: NTools1'
            weblogic.application.ModuleException: Context path '/NTools1' is already in use by the module: NTools1.war application: NTools1
                 at weblogic.servlet.internal.WebAppModule.initAndValidateContextPath(WebAppModule.java:1214)
                 at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:974)
                 at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384)
                 at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:435)
                 at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                 at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
                 at weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:194)
                 at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
                 at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:541)
                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                 at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:175)
                 at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:167)
                 at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)

            Do you think the problem is with the class "gov.cns.common.listeners.GDHttpSessionListener" ??

            Thank you once again,
            Niharika

            Edited by: 993930 on Apr 29, 2013 2:48 PM
            • 3. Re: Context path error
              996933
              As soon as I click "Activate Changes", the same error is appearing again.