Web service job complaints about port 80

One Star

Web service job complaints about port 80

Hello All!
I have a job as a web service wrapped in but since today on start-up it complaints about
port 80:
Exception in thread "Thread-0" java.lang.IllegalArgumentException: Cannot start provider with uri: /esb/provider. Port 80 already in use.
at di2012_distribution.warehouseuploadws_0_1.WarehouseUploadWS$HandlerThread_tESBProviderRequest_1.run(WarehouseUploadWS.java:703)
Could anybody give me a hint why that should be now a problem? Yesterday everything was fine and
I have nothing installed or started that would use that port. Could Talend bypass port 80 and instead using
another one?
Cheers
Hilderich
Moderator

Re: Web service job complaints about port 80

Hi,
I suspect the studio is open by twice which cause the issue Smiley Tongueort 80 already in use.
Use cmd or taskmaster to find the related pid and kill it see the related bug https://jira.talendforge.org/browse/TDI-26193
Could Talend bypass port 80 and instead using
another one?

You can click your service and open WSDL to change a port.
Let me know if it is OK with you.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Web service job complaints about port 80

Hello Sabrina!
The problem still exists.
I don't know why port 80 is used when the following is inside the WSDL:
<wsdl:service name="warehouseUploadService">
<wsdlSmiley Tongueort binding="tns:warehouseUploadServiceBinding" name="warehouseUpload">
<soap:address location="http://localhost:8081/esb/warehouseUploadService"/>
</wsdlSmiley Tongueort>
</wsdl:service>
The studio is not started twice.
Hilderich
One Star

Re: Web service job complaints about port 80

The Problem was that the WSDL under Services was
not recognized by Talend though it was obious listed unter services.
That was the reason the job fell back to Port 80 and used the URI /esb/provider.
Okay I did the following to get it work:
1. Delete the used WSDL under "Services"
2. Delete the whole Job.
3. Restart Talend Studio
4. Create WSDL under "Services"
5. Create a new Job with tESBProviderRequest again
Now it works. That's just Model Driven Development and its
detrimental side effects.
Cheers
Hilderich
Moderator

Re: Web service job complaints about port 80

Hi hilderich,
It is a good solution, Thanks for your feedback.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.