Hello,
 
I try to deploy a webapp using pax web, but the following exception is thrown :
 
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected 
exception parsing XML document from ServletContext resource 
[/WEB-INF/applicationContext.xml]; nested exception is 
javax.xml.parsers.FactoryConfigurationError: Provider for 
javax.xml.parsers.DocumentBuilderFactory cannot be found
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
 
 
It seems the application uses Spring and tries to load the context xml file. 
Pax Runner is run with the following command :
pax-run "war:file:/tmp/myapp.war?Webapp-Context=app" "--profiles=war"
 
So, in the bundle classpath "." is there, then I don't understand why it can't 
access to this xml file. Headers extract :
Bundle-ClassPath = 
.,WEB-INF/classes,WEB-INF/lib/activation-1.1.jar,WEB-INF/lib/...
 
Did anybody success with spring webapp deployment ? Any idea ?
 
Thanks,
 
Stéphane
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to