Deployment error on AS7 when deploying more than one quickstart
---------------------------------------------------------------
Key: SWITCHYARD-417
URL:
https://issues.jboss.org/browse/SWITCHYARD-417
Project: SwitchYard
Issue Type: Bug
Components: deployment
Affects Versions: 0.2
Reporter: Rob Cernich
Deploying all quickstarts on an AS7 SwitchYard build results in a failure, with no
quickstarts being deployed. If the JAXB example is removed, deployment will succeed for
all the other quickstarts.
The JAXB quickstart can only be deployed by itself. It can be deployed before or after
other quickstarts are deployed.
The following is the stack trace produced during deployment:
07:45:59,951 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed
to start service
jboss.deployment.unit."switchyard-quickstart-transform-jaxb-0.2.0-SNAPSHOT.jar".SwitchYardService:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."switchyard-quickstart-transform-jaxb-0.2.0-SNAPSHOT.jar".SwitchYardService:
javax.xml.ws.WebServiceException: java.lang.RuntimeException: java.net.BindException:
Address already in use
at
org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:90)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at
org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
Caused by: javax.xml.ws.WebServiceException: java.lang.RuntimeException:
java.net.BindException: Address already in use
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:350)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:239)
at
org.jboss.wsf.stack.cxf.client.ProviderImpl$DelegateEndpointImpl.publish(ProviderImpl.java:300)
at org.switchyard.component.soap.InboundHandler.start(InboundHandler.java:158)
at org.switchyard.component.soap.deploy.SOAPActivator.start(SOAPActivator.java:92)
at org.switchyard.deploy.internal.Activation.start(Deployment.java:478)
at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:380)
at org.switchyard.deploy.internal.Deployment.doStart(Deployment.java:122)
at org.switchyard.deploy.internal.AbstractDeployment.start(AbstractDeployment.java:168)
at
org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:99)
at
org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:83)
... 5 more
Caused by: java.lang.RuntimeException: java.net.BindException: Address already in use
at
org.jboss.wsf.stack.cxf.addons.transports.httpserver.HttpServerEngine.addHandler(HttpServerEngine.java:97)
at
org.jboss.wsf.stack.cxf.addons.transports.httpserver.HttpServerDestination.activate(HttpServerDestination.java:124)
at
org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:48)
at
org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:97)
at
org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:836)
at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:127)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:341)
... 15 more
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.ServerSocketChannelImpl.listen(Native Method) [:1.6.0_24]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:127) [:1.6.0_24]
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) [:1.6.0_24]
at org.jboss.sun.net.httpserver.ServerImpl.<init>(ServerImpl.java:112)
at org.jboss.sun.net.httpserver.HttpServerImpl.<init>(HttpServerImpl.java:47)
at
org.jboss.sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(DefaultHttpServerProvider.java:37)
at org.jboss.com.sun.net.httpserver.HttpServer.create(HttpServer.java:126)
at
org.jboss.wsf.stack.cxf.addons.transports.httpserver.HttpServerEngine.addHandler(HttpServerEngine.java:92)
... 21 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira