Jörg-

  Can you list the contents of webapps/fedora/WEB-INF/lib under the
Tomcat directory?

- Ben

On Thu, Aug 9, 2012 at 11:14 AM, Jörg Knappen
<j.knap...@mx.uni-saarland.de> wrote:
> Hallo Ben,
>
> Zitat von Benjamin Armintor <armin...@gmail.com>:
>
>> Jörg-
>>   Can you give us a list of the steps you took to upgrade?  The short
>> answer is that the CXF Spring classes are not in your classpath, but I
>> need more information to have any idea why.
>>
>> - Ben
>
> - I downloaded fcrepo-installer-3.6.jar
> - I shut down the apache-tomcat
> - I moved the old fedora-commons installation to a safe place
> - I installed fedora-commons 3.6 using java -jar fcrepo-installer-3.6.jar
> - I restored FEDORA_HOME/conf/fedroa.fcfg
> - I restored FEDORA_HOME/server/config/spring/akubra-llstore.xml
> - I restored FEDORA_HOME/data
> - I restarted apache-tomcat
>
> The environment is:
>
> java -version
> java version "1.6.0_31"
> Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
>
> Apache Tomcat is 7.0.29
>
> The Operating system is SLES SP1 (Linux)
>
> I tried the following:
> - Download the binary distribution of Apache cxs from cxs.apache.org
> - Add /usr/local/apache-csx/lib to the ClASSPATH
>
> Failure with exactly the same error message resulted.
>
> --Jörg
>> On Thu, Aug 9, 2012 at 10:51 AM, Jörg Knappen
>> <j.knap...@mx.uni-saarland.de> wrote:
>>> 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
>>> Fedora-commons-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>
>> ------------------------------------------------------------------------------
>> 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
>> Fedora-commons-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>
>
>
>
>
> ------------------------------------------------------------------------------
> 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
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

------------------------------------------------------------------------------
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
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to