Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
markciano_d
Contributor
Contributor

[solved] Running 2 data services at the same time in Talend Studio

Hi, I'm working in Talend Studio, and I need to run 2 jobs which contain data services at the same time to test a route. I get an error because they cannot be run in same port (8090). Is there any way to set a different port when you run a data service?

Error message:

Endpoint deployed at: <localhost>:8090/ <myEndPoint>
[statistics] connecting to socket on port 3717
Exception in component tRESTRequest_1_Loop (<myDataService>)
java.lang.IllegalArgumentException: Cannot start provider with uri: <localhost>:8090/ <myEndPoint>. Port 8090 already in use.
at XXXXXXX.<myDataService>.checkEndpointUrl(<myDataService>.java:1250)
at XXXXXXX.<myDataService>.tRESTRequest_1_LoopProcess(<myDataService>.java:5300)
at XXXXXXX.<myDataService>.runJobInTOS(<myDataService>.java:6863)
at XXXXXXX.<myDataService>.main(<myDataService>.java:6171)

Labels (4)
1 Solution

Accepted Solutions
markciano_d
Contributor
Contributor
Author

Solution is to set the complete URL in "REST Endpoint" field in tRESTRequest component. This way you can define the port.

View solution in original post

1 Reply
markciano_d
Contributor
Contributor
Author

Solution is to set the complete URL in "REST Endpoint" field in tRESTRequest component. This way you can define the port.