[resolved] [ESB Studio] RouteBuilder support for jetty://

Highlighted
Employee

[resolved] [ESB Studio] RouteBuilder support for jetty://

Hi,

Does the Routebuilder support the jetty component?

I have http and file working on nice little app, but wanted to expose the App as a HTTP endpoint using the jetty component ("jetty://localhost:8000/MyApp").

Error >>>>>>>>>>
Starting job MyApp at 08:27 13/08/2011.
log4j:WARN No appenders could be found for logger (org.apache.camel.impl.MainSupport).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
org.eclipse.jetty.server.Server@6f579a30 STOPPED
+-SelectChannelConnector@0.0.0.0:80
+-qtp1153890100{8<=8<=8/254,0}
+-o.e.j.s.ServletContextHandler{/,null} started
+-{}
+-{}
+-org.eclipse.jetty.servlet.ServletHandler@6e20f237 started
+-=>org.apache.camel.component.jetty.CamelContinuationServlet-1281689746{}

Permission denied



Thanks
Employee

Re: [resolved] [ESB Studio] RouteBuilder support for jetty://

Hi

Apparently you are trying to open port 80

-SelectChannelConnector@0.0.0.0:80

On Linux/Unix systems you would need a root privileges to open ports less than 1024 so apparently the HTTP port configuration was not accepted/used. Check the component configuration that port is correctly defined and set in the Java code.

Renat
Employee

Re: [resolved] [ESB Studio] RouteBuilder support for jetty://

Hi,

I've set the URL of the component to be "jetty://localhost:8000/MyApp" though. Is there something else required to setup the listen endpoint?


Thanks
Employee

Re: [resolved] [ESB Studio] RouteBuilder support for jetty://

Hi

Can you try:

jetty:http://localhost:8000/MyApp
Employee

Re: [resolved] [ESB Studio] RouteBuilder support for jetty://

That worked!

Thanks

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read