Hi everyone,
in a JEE project with Spring 2.5.6, Hibernate 3.2.6.ga and Oracle 11.1.0.7.0, we are going through a technology upgrade phase.
The first thing we did was to upgrade the Oracle-JDBC driver to 11.2.0.2.0.
To resolve some problems we needed to upgrade to Hibernate 3.5.6-Final.
To make this upgrade possible we needed slf4j, which we did not use before.
We still use and will be using Spring 2.5.6 in our application.
And now we encounter with the problem:
After starting our server (weblogic-10.3).
We get the following errors:
java.lang.ExceptionInInitializerError
at
org.springframework.web.context.ContextLoaderListe ner.createContextLoader(ContextLoaderListener.java :53)
at
org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 44)
at
weblogic.servlet.internal.EventsManager$FireContex tListenerAction.run(EventsManager.java:465)
at
weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Un known Source)
at
weblogic.servlet.internal.EventsManager.notifyCont extCreatedEvent(EventsManager.java:175)
at
weblogic.servlet.internal.WebAppServletContext.pre loadResources(WebAppServletContext.java:1784)
at
weblogic.servlet.internal.WebAppServletContext.sta rt(WebAppServletContext.java:3000)
at
weblogic.servlet.internal.WebAppModule.startContex ts(WebAppModule.java:1371)
at weblogic.servlet.internal.WebAppModule.start(WebAp pModule.java:468)
at
weblogic.application.internal.flow.ModuleStateDriv er$3.next(ModuleStateDriver.java:205)
at
weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:37)
at
weblogic.application.internal.flow.ModuleStateDriv er.start(ModuleStateDriver.java:60)
at
weblogic.application.internal.flow.ScopedModuleDri ver.start(ScopedModuleDriver.java:201)
at
weblogic.application.internal.flow.ModuleListenerI nvoker.start(ModuleListenerInvoker.java:118)
at
weblogic.application.internal.flow.ModuleStateDriv er$3.next(ModuleStateDriver.java:205)
at
weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:37)
at
weblogic.application.internal.flow.ModuleStateDriv er.start(ModuleStateDriver.java:60)
at
weblogic.application.internal.flow.StartModulesFlo w.activate(StartModulesFlow.java:28)
at
weblogic.application.internal.BaseDeployment$2.nex t(BaseDeployment.java:636)
at
weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:37)
at
weblogic.application.internal.BaseDeployment.activ ate(BaseDeployment.java:212)
at
weblogic.application.internal.SingleModuleDeployme nt.activate(SingleModuleDeployment.java:16)
at
weblogic.application.internal.DeploymentStateCheck er.activate(DeploymentStateChecker.java:162)
at
weblogic.deploy.internal.targetserver.AppContainer Invoker.activate(AppContainerInvoker.java:79)
at
weblogic.deploy.internal.targetserver.BasicDeploym ent.activate(BasicDeployment.java:184)
at
weblogic.deploy.internal.targetserver.BasicDeploym ent.activateFromServerLifecycle(BasicDeployment.ja va:361)
at
weblogic.management.deploy.internal.DeploymentAdap ter$1.doActivate(DeploymentAdapter.java:52)
at
weblogic.management.deploy.internal.DeploymentAdap ter.activate(DeploymentAdapter.java:196)
at
weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:31)
at
weblogic.management.deploy.internal.ConfiguredDepl oyments.transitionApps(ConfiguredDeployments.java: 233)
at
weblogic.management.deploy.internal.ConfiguredDepl oyments.activate(ConfiguredDeployments.java:170)
at
weblogic.management.deploy.internal.ConfiguredDepl oyments.deploy(ConfiguredDeployments.java:124)
at
weblogic.management.deploy.internal.DeploymentServ erService.resume(DeploymentServerService.java:174)
at
weblogic.management.deploy.internal.DeploymentServ erService.start(DeploymentServerService.java:90)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemReq uest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread. java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java :173)
org.apache.commons.logging.LogConfigurationExcepti on: User-specified log class 'org.apache.commons.logging.impl.Log4JLo
ger' cannot be found or is not useable.
at org.apache.commons.logging.impl.LogFactoryImpl.dis coverLogImplementation(LogFactoryImpl.java:874)
at org.apache.commons.logging.impl.LogFactoryImpl.new Instance(LogFactoryImpl.java:604)
at org.apache.commons.logging.impl.LogFactoryImpl.get Instance(LogFactoryImpl.java:336)
at org.apache.commons.logging.impl.LogFactoryImpl.get Instance(LogFactoryImpl.java:310)
at org.apache.commons.logging.LogFactory.getLog(LogFa ctory.java:685)
at org.springframework.web.context.ContextLoader.<cli nit>(ContextLoader.java:146)
at org.springframework.web.context.ContextLoaderListe ner.createContextLoader(ContextLoaderListener.java :53)
at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 44)
at weblogic.servlet.internal.EventsManager$FireContex tListenerAction.run(EventsManager.java:465)
at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Un known Source)
at weblogic.servlet.internal.EventsManager.notifyCont extCreatedEvent(EventsManager.java:175)
It's a very urgent technical problem in our application. Any idea or suggestions would be greatly appreciated. Thanks in advance.


Reply With Quote
