org.mule.module.launcher.DeploymentStartException: BindException: Address already in use

MuleSoft JIRA | Alejandro Dobniewski | 7 months ago
  1. 0

    Mule prints a long stack trace on this error but no useful information about which port is conflicting or which connector is trying to bind to it. Printing information about it would help to troubleshot the issue. {quote} org.mule.module.launcher.DeploymentStartException: BindException: Address already in use at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:156) ~[?:?] at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:98) ~[?:?] at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) ~[?:?] at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:93) ~[?:?] at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26) ~[?:?] at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:310) ~[?:?] at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:330) ~[?:?] at org.mule.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:297) ~[?:?] at org.mule.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:108) ~[?:?] at org.mule.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290) ~[?:?] at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151) ~[?:?] at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:100) ~[?:?] at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_92] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_92] at org.mule.module.reboot.GatewayContainerWrapper.start(GatewayContainerWrapper.java:32) ~[mule-module-boot-gw-2.1.0.jar:2.1.0] at org.tanukisoftware.wrapper.WrapperManager$11.run(WrapperManager.java:4163) ~[wrapper-3.5.26.jar:3.5.26] Caused by: org.mule.api.lifecycle.LifecycleException: Failed to start inbound endpoint "endpoint.http.localhost.8084.leopard" at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:118) ~[?:?] at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325) ~[?:?] at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:353) ~[?:?] at org.mule.construct.Flow.doStart(Flow.java:90) ~[?:?] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:136) ~[?:?] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:132) ~[?:?] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[?:?] at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[?:?] at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:131) ~[?:?] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_92] at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[?:?] at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91) ~[?:?] at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67) ~[?:?] at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140) ~[?:?] at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111) ~[?:?] at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[?:?] at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[?:?] at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:294) ~[?:?] at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[?:?] ... 18 more Caused by: org.mule.api.MuleRuntimeException: java.net.BindException: Address already in use at org.mule.transport.http.HttpConnectionManager.addConnection(HttpConnectionManager.java:70) ~[?:?] at org.mule.transport.http.HttpConnector.connect(HttpConnector.java:574) ~[?:?] at org.mule.transport.http.HttpMessageReceiver.doConnect(HttpMessageReceiver.java:43) ~[?:?] at org.mule.transport.AbstractMessageReceiver.connectHandler(AbstractMessageReceiver.java:447) ~[?:?] at org.mule.transport.AbstractTransportMessageHandler.connect(AbstractTransportMessageHandler.java:214) ~[?:?] at org.mule.transport.AbstractConnector.registerListener(AbstractConnector.java:1272) ~[?:?] at org.mule.transport.http.HttpConnector.registerListener(HttpConnector.java:363) ~[?:?] at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:104) ~[?:?] at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325) ~[?:?] at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:353) ~[?:?] at org.mule.construct.Flow.doStart(Flow.java:90) ~[?:?] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:136) ~[?:?] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:132) ~[?:?] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[?:?] at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[?:?] at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:131) ~[?:?] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_92] at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[?:?] at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91) ~[?:?] at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67) ~[?:?] at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140) ~[?:?] at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111) ~[?:?] at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[?:?] at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[?:?] at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:294) ~[?:?] at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[?:?] ... 18 more Caused by: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) ~[?:1.8.0_92] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387) ~[?:1.8.0_92] at java.net.ServerSocket.bind(ServerSocket.java:375) ~[?:1.8.0_92] at org.mule.transport.tcp.TcpServerSocketFactory.configure(TcpServerSocketFactory.java:60) ~[?:?] at org.mule.transport.tcp.TcpServerSocketFactory.createServerSocket(TcpServerSocketFactory.java:44) ~[?:?] at org.mule.transport.tcp.TcpServerSocketFactory.createServerSocket(TcpServerSocketFactory.java:38) ~[?:?] at org.mule.transport.tcp.TcpConnector.getServerSocket(TcpConnector.java:500) ~[?:?] at org.mule.transport.http.HttpConnector.getServerSocket(HttpConnector.java:734) ~[?:?] at org.mule.transport.http.HttpConnectionManager.addConnection(HttpConnectionManager.java:61) ~[?:?] at org.mule.transport.http.HttpConnector.connect(HttpConnector.java:574) ~[?:?] at org.mule.transport.http.HttpMessageReceiver.doConnect(HttpMessageReceiver.java:43) ~[?:?] at org.mule.transport.AbstractMessageReceiver.connectHandler(AbstractMessageReceiver.java:447) ~[?:?] at org.mule.transport.AbstractTransportMessageHandler.connect(AbstractTransportMessageHandler.java:214) ~[?:?] at org.mule.transport.AbstractConnector.registerListener(AbstractConnector.java:1272) ~[?:?] at org.mule.transport.http.HttpConnector.registerListener(HttpConnector.java:363) ~[?:?] at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:104) ~[?:?] at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325) ~[?:?] at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:353) ~[?:?] at org.mule.construct.Flow.doStart(Flow.java:90) ~[?:?] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:136) ~[?:?] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:132) ~[?:?] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[?:?] at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[?:?] at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:131) ~[?:?] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_92] at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[?:?] at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91) ~[?:?] at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67) ~[?:?] at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140) ~[?:?] at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111) ~[?:?] at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[?:?] at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[?:?] at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:294) ~[?:?] at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[?:?] ... 18 more {quote}

    MuleSoft JIRA | 7 months ago | Alejandro Dobniewski
    org.mule.module.launcher.DeploymentStartException: BindException: Address already in use
  2. 0

    Mule prints a long stack trace on this error but no useful information about which port is conflicting or which connector is trying to bind to it. Printing information about it would help to troubleshot the issue. {quote} org.mule.module.launcher.DeploymentStartException: BindException: Address already in use at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:156) ~[?:?] at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:98) ~[?:?] at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) ~[?:?] at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:93) ~[?:?] at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26) ~[?:?] at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:310) ~[?:?] at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:330) ~[?:?] at org.mule.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:297) ~[?:?] at org.mule.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:108) ~[?:?] at org.mule.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290) ~[?:?] at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151) ~[?:?] at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:100) ~[?:?] at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_92] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_92] at org.mule.module.reboot.GatewayContainerWrapper.start(GatewayContainerWrapper.java:32) ~[mule-module-boot-gw-2.1.0.jar:2.1.0] at org.tanukisoftware.wrapper.WrapperManager$11.run(WrapperManager.java:4163) ~[wrapper-3.5.26.jar:3.5.26] Caused by: org.mule.api.lifecycle.LifecycleException: Failed to start inbound endpoint "endpoint.http.localhost.8084.leopard" at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:118) ~[?:?] at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325) ~[?:?] at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:353) ~[?:?] at org.mule.construct.Flow.doStart(Flow.java:90) ~[?:?] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:136) ~[?:?] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:132) ~[?:?] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[?:?] at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[?:?] at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:131) ~[?:?] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_92] at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[?:?] at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91) ~[?:?] at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67) ~[?:?] at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140) ~[?:?] at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111) ~[?:?] at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[?:?] at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[?:?] at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:294) ~[?:?] at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[?:?] ... 18 more Caused by: org.mule.api.MuleRuntimeException: java.net.BindException: Address already in use at org.mule.transport.http.HttpConnectionManager.addConnection(HttpConnectionManager.java:70) ~[?:?] at org.mule.transport.http.HttpConnector.connect(HttpConnector.java:574) ~[?:?] at org.mule.transport.http.HttpMessageReceiver.doConnect(HttpMessageReceiver.java:43) ~[?:?] at org.mule.transport.AbstractMessageReceiver.connectHandler(AbstractMessageReceiver.java:447) ~[?:?] at org.mule.transport.AbstractTransportMessageHandler.connect(AbstractTransportMessageHandler.java:214) ~[?:?] at org.mule.transport.AbstractConnector.registerListener(AbstractConnector.java:1272) ~[?:?] at org.mule.transport.http.HttpConnector.registerListener(HttpConnector.java:363) ~[?:?] at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:104) ~[?:?] at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325) ~[?:?] at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:353) ~[?:?] at org.mule.construct.Flow.doStart(Flow.java:90) ~[?:?] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:136) ~[?:?] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:132) ~[?:?] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[?:?] at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[?:?] at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:131) ~[?:?] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_92] at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[?:?] at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91) ~[?:?] at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67) ~[?:?] at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140) ~[?:?] at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111) ~[?:?] at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[?:?] at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[?:?] at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:294) ~[?:?] at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[?:?] ... 18 more Caused by: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) ~[?:1.8.0_92] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387) ~[?:1.8.0_92] at java.net.ServerSocket.bind(ServerSocket.java:375) ~[?:1.8.0_92] at org.mule.transport.tcp.TcpServerSocketFactory.configure(TcpServerSocketFactory.java:60) ~[?:?] at org.mule.transport.tcp.TcpServerSocketFactory.createServerSocket(TcpServerSocketFactory.java:44) ~[?:?] at org.mule.transport.tcp.TcpServerSocketFactory.createServerSocket(TcpServerSocketFactory.java:38) ~[?:?] at org.mule.transport.tcp.TcpConnector.getServerSocket(TcpConnector.java:500) ~[?:?] at org.mule.transport.http.HttpConnector.getServerSocket(HttpConnector.java:734) ~[?:?] at org.mule.transport.http.HttpConnectionManager.addConnection(HttpConnectionManager.java:61) ~[?:?] at org.mule.transport.http.HttpConnector.connect(HttpConnector.java:574) ~[?:?] at org.mule.transport.http.HttpMessageReceiver.doConnect(HttpMessageReceiver.java:43) ~[?:?] at org.mule.transport.AbstractMessageReceiver.connectHandler(AbstractMessageReceiver.java:447) ~[?:?] at org.mule.transport.AbstractTransportMessageHandler.connect(AbstractTransportMessageHandler.java:214) ~[?:?] at org.mule.transport.AbstractConnector.registerListener(AbstractConnector.java:1272) ~[?:?] at org.mule.transport.http.HttpConnector.registerListener(HttpConnector.java:363) ~[?:?] at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:104) ~[?:?] at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325) ~[?:?] at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:353) ~[?:?] at org.mule.construct.Flow.doStart(Flow.java:90) ~[?:?] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:136) ~[?:?] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:132) ~[?:?] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[?:?] at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[?:?] at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:131) ~[?:?] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_92] at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[?:?] at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91) ~[?:?] at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67) ~[?:?] at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140) ~[?:?] at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111) ~[?:?] at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[?:?] at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[?:?] at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[?:?] at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:294) ~[?:?] at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[?:?] ... 18 more {quote}

    MuleSoft JIRA | 7 months ago | Alejandro Dobniewski
    org.mule.module.launcher.DeploymentStartException: BindException: Address already in use
  3. 0

    LocalPortForwarding doesn't free the port after SSH is disconnected

    GitHub | 5 years ago | oleg-malakhov
    java.net.BindException: Address already in use
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Newest KitPVP Errors

    GitHub | 3 years ago | RovertS
    java.net.BindException: Address already in use
  6. 0

    Newest Vanilla Errors

    GitHub | 3 years ago | RovertS
    java.net.BindException: Address already in use

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.BindException

      Address already in use

      at java.net.PlainSocketImpl.socketBind()
    2. Java RT
      ServerSocket.bind
      1. java.net.PlainSocketImpl.socketBind(Native Method)[?:1.8.0_92]
      2. java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)[?:1.8.0_92]
      3. java.net.ServerSocket.bind(ServerSocket.java:375)[?:1.8.0_92]
      3 frames
    3. TCP Transport
      TcpConnector.getServerSocket
      1. org.mule.transport.tcp.TcpServerSocketFactory.configure(TcpServerSocketFactory.java:60)[?:?]
      2. org.mule.transport.tcp.TcpServerSocketFactory.createServerSocket(TcpServerSocketFactory.java:44)[?:?]
      3. org.mule.transport.tcp.TcpServerSocketFactory.createServerSocket(TcpServerSocketFactory.java:38)[?:?]
      4. org.mule.transport.tcp.TcpConnector.getServerSocket(TcpConnector.java:500)[?:?]
      4 frames
    4. HTTP Transport
      HttpMessageReceiver.doConnect
      1. org.mule.transport.http.HttpConnector.getServerSocket(HttpConnector.java:734)[?:?]
      2. org.mule.transport.http.HttpConnectionManager.addConnection(HttpConnectionManager.java:61)[?:?]
      3. org.mule.transport.http.HttpConnector.connect(HttpConnector.java:574)[?:?]
      4. org.mule.transport.http.HttpMessageReceiver.doConnect(HttpMessageReceiver.java:43)[?:?]
      4 frames
    5. Mule Core
      AbstractConnector.registerListener
      1. org.mule.transport.AbstractMessageReceiver.connectHandler(AbstractMessageReceiver.java:447)[?:?]
      2. org.mule.transport.AbstractTransportMessageHandler.connect(AbstractTransportMessageHandler.java:214)[?:?]
      3. org.mule.transport.AbstractConnector.registerListener(AbstractConnector.java:1272)[?:?]
      3 frames
    6. HTTP Transport
      HttpConnector.registerListener
      1. org.mule.transport.http.HttpConnector.registerListener(HttpConnector.java:363)[?:?]
      1 frame
    7. Mule Core
      AbstractFlowConstruct.start
      1. org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:104)[?:?]
      2. org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325)[?:?]
      3. org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:353)[?:?]
      4. org.mule.construct.Flow.doStart(Flow.java:90)[?:?]
      5. org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:136)[?:?]
      6. org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:132)[?:?]
      7. org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138)[?:?]
      8. org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92)[?:?]
      9. org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:131)[?:?]
      9 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)[?:?]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_92]
      3. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_92]
      3 frames
    9. Mule Core
      DefaultMuleContext.start
      1. org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237)[?:?]
      2. org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91)[?:?]
      3. org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67)[?:?]
      4. org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140)[?:?]
      5. org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111)[?:?]
      6. org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88)[?:?]
      7. org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141)[?:?]
      8. org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91)[?:?]
      9. org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87)[?:?]
      10. org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69)[?:?]
      11. org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61)[?:?]
      12. org.mule.DefaultMuleContext.start(DefaultMuleContext.java:294)[?:?]
      12 frames
    10. Mule 3 Launcher
      MuleContainer.start
      1. org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134)[?:?]
      2. org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:98)[?:?]
      3. org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129)[?:?]
      4. org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:93)[?:?]
      5. org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26)[?:?]
      6. org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:310)[?:?]
      7. org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:330)[?:?]
      8. org.mule.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:297)[?:?]
      9. org.mule.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:108)[?:?]
      10. org.mule.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290)[?:?]
      11. org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151)[?:?]
      12. org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:100)[?:?]
      13. org.mule.module.launcher.MuleContainer.start(MuleContainer.java:170)[?:?]
      13 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_92]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_92]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_92]
      4. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_92]
      4 frames
    12. Mule 3 Container
      GatewayContainerWrapper.start
      1. org.mule.module.reboot.GatewayContainerWrapper.start(GatewayContainerWrapper.java:32)[mule-module-boot-gw-2.1.0.jar:2.1.0]
      1 frame
    13. Java Service Wrapper
      WrapperManager$11.run
      1. org.tanukisoftware.wrapper.WrapperManager$11.run(WrapperManager.java:4163)[wrapper-3.5.26.jar:3.5.26]
      1 frame