0 Replies Latest reply: Mar 27, 2013 8:39 AM by 969453 RSS

    Deployment Failure

    969453
      Hi,

      Im trying to deploy an ATG application. JDK used 1.6.0_29, Weblogic 12.1 and Oracle 11g. But the application deployment to the server keeps getting failed.

      Here is the complete stacktrace from the log file:

      java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=KPTMerch,Name=FileServlet,ApplicationRuntime=kptMerch,Type=ServletRuntime,WebAppComponentRuntime=KPTMerch_/PubPortlets new:weblogic.servlet.internal.ServletRuntimeMBeanImpl@b5c292 existing weblogic.servlet.internal.ServletRuntimeMBeanImpl@52a22d
      at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)
      at weblogic.management.mbeanservers.internal.WLSObjectNameManager.lookupObjectName(WLSObjectNameManager.java:131)
      at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
      at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
      at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
      at weblogic.management.provider.core.RegistrationManagerBase.register(RegistrationManagerBase.java:110)
      at weblogic.management.runtime.RuntimeMBeanDelegate.register(RuntimeMBeanDelegate.java:317)
      at weblogic.management.runtime.RuntimeMBeanDelegate.<init>(RuntimeMBeanDelegate.java:255)
      at weblogic.management.runtime.RuntimeMBeanDelegate.<init>(RuntimeMBeanDelegate.java:220)
      at weblogic.servlet.internal.ServletRuntimeMBeanImpl.<init>(ServletRuntimeMBeanImpl.java:42)
      at weblogic.servlet.internal.ServletRuntimeMBeanImpl.<init>(ServletRuntimeMBeanImpl.java:25)
      at weblogic.servlet.internal.ServletRuntimeMBeanImpl$1.run(ServletRuntimeMBeanImpl.java:53)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:64)
      at weblogic.servlet.internal.ServletRuntimeMBeanImpl.newInstance(ServletRuntimeMBeanImpl.java:49)
      at weblogic.servlet.internal.ServletStubImpl.initRuntime(ServletStubImpl.java:114)
      at weblogic.servlet.internal.ServletStubFactory.registerToContext(ServletStubFactory.java:164)
      at weblogic.servlet.internal.ServletStubFactory.getInstance(ServletStubFactory.java:78)
      at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1386)
      at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1360)
      at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1060)
      at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1005)
      at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:392)
      at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:367)
      at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:1239)
      at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:723)
      at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
      at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:83)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:167)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
      at weblogic.application.internal.flow.ModuleStateDriver.prepare(ModuleStateDriver.java:38)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:139)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:55)
      at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
      at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)
      at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:61)
      at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
      at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:155)
      at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
      at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
      at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
      at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
      at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
      at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:186)
      at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:94)
      at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366761> <BEA-149061> <Module /PubPortlets of application kptMerch failed to transition from STATE_NEW to STATE_PREPARED on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366762> <BEA-149059> <Module Merchandising of application kptMerch is transitioning from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366765> <BEA-149060> <Module Merchandising of application kptMerch successfully transitioned from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366766> <BEA-149059> <Module Merchandising2 of application kptMerch is transitioning from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366769> <BEA-149060> <Module Merchandising2 of application kptMerch successfully transitioned from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366769> <BEA-149059> <Module atg_bootstrap_ejb.jar of application kptMerch is transitioning from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366789> <BEA-149060> <Module atg_bootstrap_ejb.jar of application kptMerch successfully transitioned from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366790> <BEA-149059> <Module /dyn/admin of application kptMerch is transitioning from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366792> <BEA-149060> <Module /dyn/admin of application kptMerch successfully transitioned from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366793> <BEA-149059> <Module store of application kptMerch is transitioning from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366795> <BEA-149060> <Module store of application kptMerch successfully transitioned from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366796> <BEA-149059> <Module kptmerch of application kptMerch is transitioning from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366798> <BEA-149060> <Module kptmerch of application kptMerch successfully transitioned from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366798> <BEA-149059> <Module /dyn of application kptMerch is transitioning from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Info> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366802> <BEA-149060> <Module /dyn of application kptMerch successfully transitioned from STATE_PREPARED to STATE_NEW on server KPTMerch.>
      ####<Mar 27, 2013 5:26:06 PM IST> <Error> <Deployer> <ADMIN-PC> <KPTMerch> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1364385366822> <BEA-149205> <Failed to initialize the application "kptMerch" due to error weblogic.application.ModuleException: Failed to properly unregister weblogic.servlet.internal.ServletRuntimeMBeanImpl@b5c292 for ObjectName com.bea:ServerRuntime=KPTMerch,Name=FileServlet,ApplicationRuntime=kptMerch,Type=ServletRuntime,WebAppComponentRuntime=KPTMerch_/PubPortlets
      weblogic.application.ModuleException: Failed to properly unregister weblogic.servlet.internal.ServletRuntimeMBeanImpl@b5c292 for ObjectName com.bea:ServerRuntime=KPTMerch,Name=FileServlet,ApplicationRuntime=kptMerch,Type=ServletRuntime,WebAppComponentRuntime=KPTMerch_/PubPortlets
      at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:732)
      at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
      at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:83)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:167)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
      at weblogic.application.internal.flow.ModuleStateDriver.prepare(ModuleStateDriver.java:38)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:139)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:55)
      at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
      at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)
      at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:61)
      at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
      at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:155)
      at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
      at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
      at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
      at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
      at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
      at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:186)
      at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:94)
      at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      Caused By: java.lang.IllegalArgumentException: Failed to properly unregister weblogic.servlet.internal.ServletRuntimeMBeanImpl@b5c292 for ObjectName com.bea:ServerRuntime=KPTMerch,Name=FileServlet,ApplicationRuntime=kptMerch,Type=ServletRuntime,WebAppComponentRuntime=KPTMerch_/PubPortlets
      at weblogic.management.jmx.ObjectNameManagerBase.unregisterObject(ObjectNameManagerBase.java:219)
      at weblogic.management.jmx.ObjectNameManagerBase.unregisterObjectInstance(ObjectNameManagerBase.java:192)
      at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.unregisteredInternal(RuntimeMBeanAgent.java:124)
      at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.unregistered(RuntimeMBeanAgent.java:108)
      at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:187)
      at weblogic.management.provider.core.RegistrationManagerBase.unregister(RegistrationManagerBase.java:126)
      at weblogic.management.runtime.RuntimeMBeanDelegate.unregister(RuntimeMBeanDelegate.java:287)
      at weblogic.servlet.internal.ServletRuntimeMBeanImpl$2.run(ServletRuntimeMBeanImpl.java:70)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:64)
      at weblogic.servlet.internal.ServletRuntimeMBeanImpl.destroy(ServletRuntimeMBeanImpl.java:67)
      at weblogic.servlet.internal.ServletStubImpl.destroy(ServletStubImpl.java:478)
      at weblogic.servlet.internal.WebAppServletContext.registerServletStub(WebAppServletContext.java:1977)
      at weblogic.servlet.internal.ServletStubFactory.registerToContext(ServletStubFactory.java:165)
      at weblogic.servlet.internal.ServletStubFactory.getInstance(ServletStubFactory.java:78)
      at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1386)
      at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1360)
      at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1060)
      at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1005)
      at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:392)
      at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:367)
      at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:1239)
      at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:723)
      at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
      at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:83)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:167)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
      at weblogic.application.internal.flow.ModuleStateDriver.prepare(ModuleStateDriver.java:38)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:139)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:55)
      at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
      at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)
      at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:61)
      at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
      at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:155)
      at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
      at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
      at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
      at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
      at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
      at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:186)
      at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:94)
      at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

      Can anyone please help me out?

      Thanks,

      Nithin Kayithi

      Edited by: NithinKayithi on Mar 27, 2013 7:09 PM