org.apache.camel.FailedToStartRouteException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Build RC2
    via wsabi4axis by mikeoliveraz
    ,
  • Problem with Policy
    via by 843811,
  • How to read a file
    via by saravana kumar,
  • How to add metadata and document file in batch mode
    via by Arpan Paramanik,
    • org.apache.camel.FailedToStartRouteException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.) (org.apache.camel.FailedToStartRouteException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.) at com.progress.sonic.esb.service.connect.ConnectService.init(ConnectService.java:134) at com.sonicsw.xqimpl.service.XQServiceChain.init(XQServiceChain.java:111) at com.sonicsw.xqimpl.service.XQServiceApplication.postInit(XQServiceApplication.java:581) Caused by: org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToStartRouteException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1039) at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:103) at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:562) at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78) at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:736) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:383) at com.progress.sonic.esb.service.connect.spring.SonicFileSystemXmlApplicationContext.<init>(SonicFileSystemXmlApplicationContext.java:28) at com.progress.sonic.esb.service.connect.ConnectService.initCamelContext(ConnectService.java:311) at com.progress.sonic.esb.service.connect.ConnectService.init(ConnectService.java:132) ... 3 more Caused by: org.apache.camel.FailedToStartRouteException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:938) at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:197) at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:101) ... 15 more Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:93) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:396) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:521) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:271) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:100) at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:105) at org.apache.camel.component.cxf.CxfConsumer.<init>(CxfConsumer.java:123) at org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.java:97) at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:60) at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:83) at org.apache.camel.impl.RouteService.doStart(RouteService.java:123) at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:55) at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:906) ... 18 more Caused by: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=PARSER_ERROR: Problem parsing 'wsType.xsd'.: java.io.FileNotFoundException: C:\Program Files\Progress\Sonic\Containers\Domain1.dev_ESBTest\wsType.xsd (The system cannot find the file specified) at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:229) at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:179) at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:91) ... 31 more Caused by: java.io.FileNotFoundException: C:\Program Files\Progress\Sonic\Containers\Domain1.dev_ESBTest\wsType.xsd (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source) at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) ... 41 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    batwalrus76batwalrus76
    3 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    AlebeyAlebey
    1 times, last one,
    DunmerDunmer
    2 times, last one,
    116 more bugmates