java.lang.IllegalStateException: Cannot bind to specific port: http://localhost:8080/rest/hello/%7Bname%7D 2016-07-05 11:27:55,321 ERROR [stderr] (main) at org.jboss.gravia.utils.IllegalStateAssertion.assertTrue(IllegalStateAssertion.java:59)

GitHub | tdiesler | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Possible race condition with undertow port binding

    GitHub | 10 months ago | tdiesler
    java.lang.IllegalStateException: Cannot bind to specific port: http://localhost:8080/rest/hello/%7Bname%7D 2016-07-05 11:27:55,321 ERROR [stderr] (main) at org.jboss.gravia.utils.IllegalStateAssertion.assertTrue(IllegalStateAssertion.java:59)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot bind to specific port: http://localhost:8080/rest/hello/%7Bname%7D 2016-07-05 11:27:55,321 ERROR [stderr] (main) at org.jboss.gravia.utils.IllegalStateAssertion.assertTrue(IllegalStateAssertion.java:59)

      at org.wildfly.extension.camel.undertow.CamelUndertowHostService$WildFlyUndertowHost.validateEndpointURI()
    2. org.wildfly.extension
      CamelUndertowHostService$WildFlyUndertowHost.validateEndpointURI
      1. org.wildfly.extension.camel.undertow.CamelUndertowHostService$WildFlyUndertowHost.validateEndpointURI(CamelUndertowHostService.java:177)
      1 frame
    3. org.apache.camel
      UndertowConsumer.doStart
      1. org.apache.camel.component.undertow.UndertowConsumer.doStart(UndertowConsumer.java:72)
      1 frame
    4. org.wildfly.extension
      WildFlyUndertowComponent$WildFlyUndertowUndertowConsumer.doStart
      1. org.wildfly.extension.camel.undertow.WildFlyUndertowComponent$WildFlyUndertowUndertowConsumer.doStart(WildFlyUndertowComponent.java:91)
      1 frame
    5. Camel :: Core
      DefaultCamelContext.safelyStartRouteServices
      1. org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
      2. org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3275)
      3. org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:3569)
      4. org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:3505)
      5. org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3435)
      5 frames