Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] ERROR Could not start Jetty server

hi all
please help me, i create simple job on Talend Open Studio for ESB based on Services that i create from wsdl, after i run the job i got this error
Exception in thread "Thread-1" org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 8,080: Cannot assign requested address: bind
at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:386)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:179)
at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:49)
at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:95)
at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:895)
at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:131)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:204)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
please help me how to solve this problem

Labels (3)
15 Replies
Anonymous
Not applicable
Author

Hi,
As per your error
>>Could not start Jetty server on port 8,080: Cannot assign requested address: bind
Jetty server port setting is not correct or the port setting which refers to jetty server has extra "," in the 8080... can you pl check once
Thanks
vaibhav
_AnonymousUser
Specialist III
Specialist III

Hi all,
I got the same problem but I am using netbeans with org.apache.cxf and maven. The error is:

Exception in thread "main" org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 8.081: Cannot assign requested address: bind
    at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:410)
    at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:179)
    at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:49)
    at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:95)
    at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:893)
    at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:122)
    at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:205)
    at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
I believe the problem lies with the port "8.081" where there is a dot within. But I dont know where and how to fix that port....
Could you please tell me how did you check on the comma in your case?
Thanks and best regards,
Cuong Truong
_AnonymousUser
Specialist III
Specialist III

I see this thread as resolved but it doesn't look like there is any post pointing toward a definitive solution. I got the same problem as OP and the last poster, except that in my case, the post in question is "5 555", with a space in the the port number instead.
_AnonymousUser
Specialist III
Specialist III

Hello,
1 year after the last response, I got the same problem, but I can't find the solution ?
Anyone has an idea about this ?
Thanks
ashok5
Contributor III
Contributor III

This happens only when IP specified is not own IP or port is used by some other application .Socket is not able to bind to that IP, Actually error is correct but error message is wrong because it shows wrong port format in the error message.

Cherichoc-
Creator
Creator

For some reason I cant view the string on the webpage but when I right click and inspect element it is there 

0683p000009M6Np.png

 

0683p000009M6Hg.png

 

Java row

0683p000009M6Nz.png