org.apache.camel.RuntimeCamelException: java.lang.IllegalStateException: Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)

servicemix-users | Scott Came | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problems with simple scenario (WS to Camel route to File)

    servicemix-users | 6 years ago | Scott Came
    org.apache.camel.RuntimeCamelException: java.lang.IllegalStateException: Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)
  2. 0

    Exception with cxfEndpoint address

    servicemix-users | 6 years ago | Scott Came
    org.apache.camel.RuntimeCamelException: java.lang.IllegalStateException: Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)
  3. 0

    Re: Exception with cxfEndpoint address

    servicemix-users | 6 years ago | Claus Ibsen
    java.lang.IllegalStateException: Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)

      at org.apache.cxf.transport.http_osgi.OsgiTransportFactory.getDestination()
    2. Apache CXF HTTP Transport for OSGi
      OsgiTransportFactory.getDestination
      1. org.apache.cxf.transport.http_osgi.OsgiTransportFactory.getDestination(OsgiTransportFactory.java:46)[138:org.apache.cxf.bundle:2.3.2]
      1 frame
    3. Apache CXF Runtime SOAP Binding
      SoapTransportFactory.getDestination
      1. org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:132)[138:org.apache.cxf.bundle:2.3.2]
      1 frame
    4. Apache CXF Core
      ServerImpl.<init>
      1. org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:92)[138:org.apache.cxf.bundle:2.3.2]
      2. org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:71)[138:org.apache.cxf.bundle:2.3.2]
      2 frames
    5. Apache CXF Runtime Simple Frontend
      ServerFactoryBean.create
      1. org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:149)[138:org.apache.cxf.bundle:2.3.2]
      1 frame
    6. Camel :: CXF
      CxfEndpoint.createConsumer
      1. org.apache.camel.component.cxf.CxfConsumer.<init>(CxfConsumer.java:251)[201:org.apache.camel.camel-cxf:2.6.0.SNAPSHOT]
      2. org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.java:127)[201:org.apache.camel.camel-cxf:2.6.0.SNAPSHOT]
      2 frames
    7. Camel :: Core
      DefaultCamelContext.doStart
      1. org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:61)[68:org.apache.camel.camel-core:2.6.0.SNAPSHOT]
      2. org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:75)[68:org.apache.camel.camel-core:2.6.0.SNAPSHOT]
      3. org.apache.camel.impl.RouteService.warmUp(RouteService.java:118)[68:org.apache.camel.camel-core:2.6.0.SNAPSHOT]
      4. org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:1803)[68:org.apache.camel.camel-core:2.6.0.SNAPSHOT]
      5. org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1729)[68:org.apache.camel.camel-core:2.6.0.SNAPSHOT]
      6. org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1528)[68:org.apache.camel.camel-core:2.6.0.SNAPSHOT]
      7. org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1420)[68:org.apache.camel.camel-core:2.6.0.SNAPSHOT]
      8. org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1321)[68:org.apache.camel.camel-core:2.6.0.SNAPSHOT]
      8 frames
    8. Camel :: Spring
      SpringCamelContext.doStart
      1. org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:164)[75:org.apache.camel.camel-spring:2.6.0.SNAPSHOT]
      1 frame
    9. Camel :: Core
      DefaultCamelContext.start
      1. org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:65)[68:org.apache.camel.camel-core:2.6.0.SNAPSHOT]
      2. org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:52)[68:org.apache.camel.camel-core:2.6.0.SNAPSHOT]
      3. org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1299)[68:org.apache.camel.camel-core:2.6.0.SNAPSHOT]
      3 frames
    10. Camel :: Spring
      CamelContextFactoryBean.onApplicationEvent
      1. org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:203)[75:org.apache.camel.camel-spring:2.6.0.SNAPSHOT]
      2. org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:101)[75:org.apache.camel.camel-spring:2.6.0.SNAPSHOT]
      3. org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:237)[75:org.apache.camel.camel-spring:2.6.0.SNAPSHOT]
      3 frames
    11. Spring Context
      AbstractApplicationContext.finishRefresh
      1. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[61:org.springframework.context:3.0.5.RELEASE]
      2. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)[61:org.springframework.context:3.0.5.RELEASE]
      3. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)[61:org.springframework.context:3.0.5.RELEASE]
      3 frames
    12. Spring OSGi Core
      AbstractDelegatedExecutionApplicationContext.completeRefresh
      1. org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[71:org.springframework.osgi.core:1.2.0]
      2. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[71:org.springframework.osgi.core:1.2.0]
      3. org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[71:org.springframework.osgi.core:1.2.0]
      4. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[71:org.springframework.osgi.core:1.2.0]
      4 frames
    13. org.springframework.osgi
      DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run
      1. org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)[72:org.springframework.osgi.extender:1.2.0]
      1 frame
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)[:1.6.0_22]
      1 frame