One Star

[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

  • ESB
  • Talend Runtime
13 REPLIES
Employee

Re: [resolved] ERROR Could not start Jetty server

Hi Rifki,
Are you running this using the Run tab in Studio, or are you trying to deploy it to an ESB Runtime?
It looks like something is already using the port 8080 on your machine. If you're running this from Studio, try changing the port in the 'address' field in the WSDL itself - perhaps to 8090.
Best Regards,
Ben
One Star

Re: [resolved] ERROR Could not start Jetty server

Hi Rifki,
Are you running this using the Run tab in Studio, or are you trying to deploy it to an ESB Runtime?
It looks like something is already using the port 8080 on your machine. If you're running this from Studio, try changing the port in the 'address' field in the WSDL itself - perhaps to 8090.
Best Regards,
Ben

hi Ben
i running using Run tab in studio
port 8080 is empty not assign to any web server or any process, i attach my studio screenshot
Employee

Re: [resolved] ERROR Could not start Jetty server

OK. Can you share your WSDL, or the value of the Service Address from the WSDL?
One Star

Re: [resolved] ERROR Could not start Jetty server

OK. Can you share your WSDL, or the value of the Service Address from the WSDL?

Employee

Re: [resolved] ERROR Could not start Jetty server

For the sake of troubleshooting, can you change that address location to use :8090 and see what happens?
One Star

Re: [resolved] ERROR Could not start Jetty server

For the sake of troubleshooting, can you change that address location to use :8090 and see what happens?

still same error, i think the problem is jetty build in with studio, but how to fix it ?
Employee

Re: [resolved] ERROR Could not start Jetty server

Can you share what version your Studio is? Also, if you are able to share your WSDL I could try to reproduce the problem.
One Star

Re: [resolved] ERROR Could not start Jetty server

how to fix the issue?
Moderator

Re: [resolved] ERROR Could not start Jetty server

Hi prasadvudi,
Could you please give us more info about current situation so that we can address your issue quickly.
Best regards
Sabrina
Two Stars

Re: [resolved] ERROR Could not start Jetty server

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
One Star

Re: [resolved] ERROR Could not start Jetty server

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
One Star

Re: [resolved] ERROR Could not start Jetty server

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.
One Star

Re: [resolved] ERROR Could not start Jetty server

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