camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5766) Configuring jetty component with a different dont work with jetty consumer
Date Fri, 02 Nov 2012 11:41:12 GMT
Claus Ibsen created CAMEL-5766:
----------------------------------

             Summary: Configuring jetty component with a different dont work with jetty consumer
                 Key: CAMEL-5766
                 URL: https://issues.apache.org/jira/browse/CAMEL-5766
             Project: Camel
          Issue Type: Bug
          Components: camel-jetty
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.11.0


For example if you do
{code}
		<route>
			<from uri="jetty2:http://localhost:9090/myapp"/>
			<transform>
				<simple>Hello ${body}</simple>
			</transform>
		</route>
{code}

Then it fails with
{code}
java.net.SocketException: Unresolved address
	at sun.nio.ch.Net.translateToSocketException(Net.java:58)
	at sun.nio.ch.Net.translateException(Net.java:84)
	at sun.nio.ch.Net.translateException(Net.java:90)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:61)
	at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
	at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
	at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.eclipse.jetty.server.Server.doStart(Server.java:286)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.apache.camel.component.jetty.JettyHttpComponent.connect(JettyHttpComponent.java:315)
	at org.apache.camel.component.http.HttpEndpoint.connect(HttpEndpoint.java:149)
	at org.apache.camel.component.http.HttpConsumer.doStart(HttpConsumer.java:56)
	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)
...
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message