[ 
https://issues.apache.org/jira/browse/CAMEL-13890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16912174#comment-16912174
 ] 

Zoran Regvart commented on CAMEL-13890:
---------------------------------------

Thanks for reporting this, we launched the new website and it has directory 
listings turned off, so that might be an issue in this case.

Can you share the XML declarations you have, I'm guessing you don't have 
{{schemaLocation}} defined for {{https://camel.apache.org/schema/cxf/}}.

> Starting from yesterday cfxEndpoint wont start
> ----------------------------------------------
>
>                 Key: CAMEL-13890
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13890
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>            Reporter: Thomas Juul Malthesen
>            Priority: Blocker
>
> Starting from yesterday suddenly all cfxEndpoints won't start. This is in 
> production and all environments and on local machines.
> My suspicion is some problems loading xmlns from camel. I get 403 - forbidden:
>  
> https://camel.apache.org/schema/cxf/
> http://cxf.apache.org/jaxrs
>  
> It gives this exception:
>  
> springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in 
> XML document from ServletContext resource [/WEB-INF/applicationContext.xml] 
> is invalid; nested exception is org.xml.sax.SAXParseException: White spaces 
> are required between publicId and systemId.
>  at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399)
>  at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
>  at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)
>  at 
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)
>  at 
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217)
>  at 
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188)
>  at 
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
>  at 
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
>  at 
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)
>  at 
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:613)
>  at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:514)
>  at 
> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
>  at 
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
>  at 
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
>  at 
> com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:2376)
>  at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:1004)
>  at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6566)
>  at 
> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:467)
>  at 
> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApplication(DynamicVirtualHost.java:462)
>  at 
> com.ibm.ws.webcontainer.osgi.WebContainer.startWebApplication(WebContainer.java:1132)
>  at 
> com.ibm.ws.webcontainer.osgi.WebContainer.startModule(WebContainer.java:937)
>  at 
> com.ibm.ws.app.manager.module.internal.ModuleHandlerBase.deployModule(ModuleHandlerBase.java:99)
>  at 
> com.ibm.ws.app.manager.module.internal.DeployedModuleInfoImpl.installModule(DeployedModuleInfoImpl.java:49)
>  at 
> com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.deployModules(DeployedAppInfoBase.java:429)
>  at 
> com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.deployApp(DeployedAppInfoBase.java:415)
>  at 
> com.ibm.ws.app.manager.war.internal.WARApplicationHandlerImpl.install(WARApplicationHandlerImpl.java:65)
>  at 
> com.ibm.ws.app.manager.internal.statemachine.StartAction.execute(StartAction.java:140)
>  at 
> com.ibm.ws.app.manager.internal.statemachine.ApplicationStateMachineImpl.enterState(ApplicationStateMachineImpl.java:1258)
>  at 
> com.ibm.ws.app.manager.internal.statemachine.ApplicationStateMachineImpl.run(ApplicationStateMachineImpl.java:873)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>  at java.lang.Thread.run(Thread.java:812)
> Caused by: org.xml.sax.SAXParseException: White spaces are required between 
> publicId and systemId.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to