-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: error: org.springframework.web.context.ContextLoader
PostPosted: Tue Oct 04, 2005 2:50 pm 
Newbie

Joined: Tue Oct 04, 2005 2:45 pm
Posts: 2
I keep getting this error when strating the wl 9.0 server.
Hibernate version: 3.0.5

<Oct 04, 2005 14:47:30> <ERROR> org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.dom4j.io.SAXReader.setMergeAdjacentText(Z)V
java.lang.NoSuchMethodError: org.dom4j.io.SAXReader.setMergeAdjacentText(Z)V
at org.hibernate.util.XMLHelper.createSAXReader(XMLHelper.java:38)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:398)
at org.hibernate.cfg.Configuration.addFile(Configuration.java:245)
at org.hibernate.cfg.Configuration.addDirectory(Configuration.java:530)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:649)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1003)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:348)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:336)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:79)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1549)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2565)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:859)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:321)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:114)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:257)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:383)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:560)
at weblogic.management.deploy.internal.DeploymentAdapter$1.activate(DeploymentAdapter.java:50)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:232)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:168)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:166)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:81)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
<Oct 4, 2005 2:47:30 PM EDT> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.dom4j.io.SAXReader.setMergeAdjacentText(Z)V.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.dom4j.io.SAXReader.setMergeAdjacentText(Z)V
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:355)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)
Truncated. see log file for complete stacktrace
java.lang.NoSuchMethodError: org.dom4j.io.SAXReader.setMergeAdjacentText(Z)V
at org.hibernate.util.XMLHelper.createSAXReader(XMLHelper.java:38)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:398)
at org.hibernate.cfg.Configuration.addFile(Configuration.java:245)
at org.hibernate.cfg.Configuration.addDirectory(Configuration.java:530)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:649)
Truncated. see log file for complete stacktrace
>
<Oct 4, 2005 2:47:30 PM EDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_TimeTracking_dir'.
weblogic.management.DeploymentException:
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:30)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:257)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
Truncated. see log file for complete stacktrace
java.lang.NoSuchMethodError: org.dom4j.io.SAXReader.setMergeAdjacentText(Z)V
at org.hibernate.util.XMLHelper.createSAXReader(XMLHelper.java:38)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:398)
at org.hibernate.cfg.Configuration.addFile(Configuration.java:245)
at org.hibernate.cfg.Configuration.addDirectory(Configuration.java:530)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:649)

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.