I tried to upgrade our fedora commons repository from 3.5 to 3.6 (we  
are using an existing Tomcat 7).

Unfortunately, the upgrade failed for the following reason:

SEVERE: Exception sending context initialized event to listener  
instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:  
Configuration problem: Unable to locate Spring NamespaceHandler for  
XML schema n
amespace [http://cxf.apache.org/jaxws]
Offending resource: file  
[/usr/local/fedora-commons/server/config/spring/web/jaxws.xml]

         at  
org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
         at  
org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
         at  
org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:80)
         at  
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:284)
         at  
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1332)
         at  
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1325)
         at  
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
         at  
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
         at  
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
         at  
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
         at  
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
         at  
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
         at  
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
         at  
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
         at  
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
         at  
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
         at  
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
         at  
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
         at  
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
         at  
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
         at  
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
         at  
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
         at  
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
         at  
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
         at  
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
         at  
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
         at  
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
         at  
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
         at  
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
         at  
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650)
         at  
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)
         at  
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at  
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at  
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
Aug 9, 2012 4:45:49 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Aug 9, 2012 4:45:49 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/fedora] startup failed due to previous errors

I looked for the error message on Google; it occurred in other  
contexts. Adding Apache-cxs to my system and to the classpath changed  
nothing.

Any hints?

--Jörg Knappen


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to