Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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)
Solution is to set the complete URL in "REST Endpoint" field in tRESTRequest component. This way you can define the port.
Solution is to set the complete URL in "REST Endpoint" field in tRESTRequest component. This way you can define the port.