0 Replies Latest reply: Jul 22, 2013 2:05 AM by Reddy-bpl RSS

    Getting Deployment Error Weblogic 10.3.5  (org.springframework.web.context.ContextLoader - Context initialization failed)

    Reddy-bpl

      Hi,

       

               We have migrated the application from Weblogic 10.3.0 (32 bit JDK) to Weblogic 10.3.5 (64 bit JDK). While deploying the application we are getting blow deployment error. Please help me on this.

       

      Error:

       

       

      2013-07-22 09:58:30,539 47689 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  org.springframework.jdbc.datasource.DriverManagerDataSource - Loaded JDBC driver: oracle.jdbc.driver.OracleDriver

      2013-07-22 09:58:30,587 47737 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.springframework.web.context.ContextLoader - Context initialization failed

      java.lang.NoSuchMethodError: weblogic.spring.monitoring.SpringBeanDefinitionRuntimeMBeanImpl.<init>(Ljava/lang/String;Lweblogic/management/runtime/RuntimeMBean;Ljava/lang/String;Ljava/lang/String;ZZZLjava/lang/String;Ljava/lang/String;)V

              at weblogic.spring.monitoring.SpringRuntimeMBeanCreator.createSpringRuntimeMBeans(SpringRuntimeMBeanCreator.java:77)

              at weblogic.spring.monitoring.SpringRuntimeMBeanCreator.createSpringRuntimeMBeans(SpringRuntimeMBeanCreator.java:47)

              at weblogic.spring.monitoring.WeblogicSpringApplicationListener.onApplicationEvent(WeblogicSpringApplicationListener.java:80)

              at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)

              at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)

              at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)

              at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:275)

              at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)

              at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:384)

              at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)

              at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)

              at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)

              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:1872)

              at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)

              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)

              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)

              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:636)

              at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

              at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)

              at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)

              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:528)

              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

              at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

      <Jul 22, 2013 9:58:30 AM SGT> <Warning> <HTTP> <BEA-101162> <User defined listener weblogic.spring.monitoring.WeblogicContextLoaderListener failed: java.lang.NoSuchMethodError: weblogic.spring.monitoring.SpringBeanDefinitionRuntimeMBeanImpl.<init>(Ljava/lang/String;Lweblogic/management/runtime/RuntimeMBean;Ljava/lang/String;Ljava/lang/String;ZZZLjava/lang/String;Ljava/lang/String;)V.

      java.lang.NoSuchMethodError: weblogic.spring.monitoring.SpringBeanDefinitionRuntimeMBeanImpl.<init>(Ljava/lang/String;Lweblogic/management/runtime/RuntimeMBean;Ljava/lang/String;Ljava/lang/String;ZZZLjava/lang/String;Ljava/lang/String;)V

              at weblogic.spring.monitoring.SpringRuntimeMBeanCreator.createSpringRuntimeMBeans(SpringRuntimeMBeanCreator.java:77)

              at weblogic.spring.monitoring.SpringRuntimeMBeanCreator.createSpringRuntimeMBeans(SpringRuntimeMBeanCreator.java:47)

              at weblogic.spring.monitoring.WeblogicSpringApplicationListener.onApplicationEvent(WeblogicSpringApplicationListener.java:80)

              at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)

              at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)

              Truncated. see log file for complete stacktrace

      >

      <Jul 22, 2013 9:58:30 AM SGT> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.NullPointerException.

      java.lang.NullPointerException

              at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:234)

              at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)

              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

              at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)

              Truncated. see log file for complete stacktrace

      >

      <Jul 22, 2013 9:58:30 AM SGT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1374458240670' for task '10'. Error is: 'weblogic.application.ModuleException: '

      weblogic.application.ModuleException:

              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)

              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)

              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)

              Truncated. see log file for complete stacktrace

      Caused By: java.lang.NoSuchMethodError: weblogic.spring.monitoring.SpringBeanDefinitionRuntimeMBeanImpl.<init>(Ljava/lang/String;Lweblogic/management/runtime/RuntimeMBean;Ljava/lang/String;Ljava/lang/String;ZZZLjava/lang/String;Ljava/lang/String;)V

              at weblogic.spring.monitoring.SpringRuntimeMBeanCreator.createSpringRuntimeMBeans(SpringRuntimeMBeanCreator.java:77)

              at weblogic.spring.monitoring.SpringRuntimeMBeanCreator.createSpringRuntimeMBeans(SpringRuntimeMBeanCreator.java:47)

              at weblogic.spring.monitoring.WeblogicSpringApplicationListener.onApplicationEvent(WeblogicSpringApplicationListener.java:80)

              at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)

              at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)

              Truncated. see log file for complete stacktrace

      >

      <Jul 22, 2013 9:58:30 AM SGT> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'mcms'.>