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

  5. 0

    How can I cope with "IllegalStateException: BeanFactory not initialized or already closed"?

    Stack Overflow | 6 years ago | user569825
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  6. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c all 'refresh' before multicasting events via the context: Root WebApplicationCon text: startup date [Wed Mar 27 11:31:56 CDT 2013]; root of context hierarchy at org.springframework.context.support.AbstractApplic ationContext.getApp licationEventMulticaster(AbstractApplicationContex t.java:347) [spring-context-3. 2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.publis hEvent(AbstractApplicationContext.java:334) [spring-context-3.2.2.RELEASE.jar:3. 2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.doClos e(AbstractApplicationContext.java:1049) [spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.context.support.AbstractApplic ationContext.close( AbstractApplicationContext.java:1010) [spring-context-3.2.2.RELEASE.jar:3.2.2.RE LEASE] at org.springframework.web.context.ContextLoader.clos eWebApplicationCont ext(ContextLoader.java:558) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextDestroye d(ContextLoaderListener.java:143) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS top(StandardContext .java:4831) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.stopInter nal(StandardContext .java:5478) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.stop(Lifecy cleBase.java:232) [ tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:160) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    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