org.springframework.beans.factory.BeanCreationException

tip

Try changing the port in core-site.xml from 9000 to 9001 as it seems port 9000 doesn't work.

tip

Change the connection port and ip adress. If you're trying to connect to your server from your own computer, check if you haven't already connected to the server in another instance.


rafaelrafael
tip

It might be that there's another process connecting to the same port you're trying to use, try to kill it or change the connection port.


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • This plugin seems to complete break the startup of Jenkins if the websockets port is in use :( {code} org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at jenkins.InitReactorRunner.run(InitReactorRunner.java:43) at jenkins.model.Jenkins.executeReactor(Jenkins.java:815) at jenkins.model.Jenkins.<init>(Jenkins.java:736) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:804) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:8081 at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:303) at org.webbitserver.netty.NettyWebServer.start(NettyWebServer.java:141) at org.webbitserver.netty.NettyWebServer.start(NettyWebServer.java:36) at org.codefirst.jenkins.wsnotifier.WsServer.reset(WsServer.java:40) at org.codefirst.jenkins.wsnotifier.WsServer.init(WsServer.java:23) ... 13 more Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:137) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.bind(NioServerSocketPipelineSink.java:148) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleServerSocket(NioServerSocketPipelineSink.java:100) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:74) at org.jboss.netty.channel.Channels.bind(Channels.java:468) at org.jboss.netty.channel.AbstractChannel.bind(AbstractChannel.java:200) at org.jboss.netty.bootstrap.ServerBootstrap$Binder.channelOpen(ServerBootstrap.java:348) at org.jboss.netty.channel.Channels.fireChannelOpen(Channels.java:176) at org.jboss.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServerSocketChannel.java:85) at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:142) at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:90) at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:282) ... 17 more {code}
    via by R. Tyler Croy,
  • We have another service running on 8081 on a jenkins-master. Enabling the Websocket Plugin leads to a crash after restart with the stack trace [1]. The config does not contain any entries for the plugin yet, so no manual change of the port is possible (without guessing the correct xml). Cheers, Igor [1] Stack trace on start: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at hudson.model.Hudson.executeReactor(Hudson.java:753) at hudson.model.Hudson.<init>(Hudson.java:667) at hudson.model.Hudson.<init>(Hudson.java:607) at hudson.WebAppMain$2.run(WebAppMain.java:215) Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:114) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:174) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$4.runTask(Hudson.java:735) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:110) ... 8 more Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:8081 at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:303) at org.webbitserver.netty.NettyWebServer.start(NettyWebServer.java:141) at org.webbitserver.netty.NettyWebServer.start(NettyWebServer.java:36) at org.codefirst.jenkins.wsnotifier.WsServer.reset(WsServer.java:40) at org.codefirst.jenkins.wsnotifier.WsServer.init(WsServer.java:23) ... 13 more Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.bind(NioServerSocketPipelineSink.java:148) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleServerSocket(NioServerSocketPipelineSink.java:100) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:74) at org.jboss.netty.channel.Channels.bind(Channels.java:468) at org.jboss.netty.channel.AbstractChannel.bind(AbstractChannel.java:200) at org.jboss.netty.bootstrap.ServerBootstrap$Binder.channelOpen(ServerBootstrap.java:348) at org.jboss.netty.channel.Channels.fireChannelOpen(Channels.java:176) at org.jboss.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServerSocketChannel.java:85) at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:142) at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:90) at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:282) ... 17 more
    via by Igor Lankin,
  • This plugin seems to complete break the startup of Jenkins if the websockets port is in use :( {code} org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at jenkins.InitReactorRunner.run(InitReactorRunner.java:43) at jenkins.model.Jenkins.executeReactor(Jenkins.java:815) at jenkins.model.Jenkins.<init>(Jenkins.java:736) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:804) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:8081 at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:303) at org.webbitserver.netty.NettyWebServer.start(NettyWebServer.java:141) at org.webbitserver.netty.NettyWebServer.start(NettyWebServer.java:36) at org.codefirst.jenkins.wsnotifier.WsServer.reset(WsServer.java:40) at org.codefirst.jenkins.wsnotifier.WsServer.init(WsServer.java:23) ... 13 more Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:137) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.bind(NioServerSocketPipelineSink.java:148) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleServerSocket(NioServerSocketPipelineSink.java:100) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:74) at org.jboss.netty.channel.Channels.bind(Channels.java:468) at org.jboss.netty.channel.AbstractChannel.bind(AbstractChannel.java:200) at org.jboss.netty.bootstrap.ServerBootstrap$Binder.channelOpen(ServerBootstrap.java:348) at org.jboss.netty.channel.Channels.fireChannelOpen(Channels.java:176) at org.jboss.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServerSocketChannel.java:85) at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:142) at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:90) at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:282) ... 17 more {code}
    via by R. Tyler Croy,
  • We have another service running on 8081 on a jenkins-master. Enabling the Websocket Plugin leads to a crash after restart with the stack trace [1]. The config does not contain any entries for the plugin yet, so no manual change of the port is possible (without guessing the correct xml). Cheers, Igor [1] Stack trace on start: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at hudson.model.Hudson.executeReactor(Hudson.java:753) at hudson.model.Hudson.<init>(Hudson.java:667) at hudson.model.Hudson.<init>(Hudson.java:607) at hudson.WebAppMain$2.run(WebAppMain.java:215) Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:114) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:174) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$4.runTask(Hudson.java:735) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:110) ... 8 more Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:8081 at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:303) at org.webbitserver.netty.NettyWebServer.start(NettyWebServer.java:141) at org.webbitserver.netty.NettyWebServer.start(NettyWebServer.java:36) at org.codefirst.jenkins.wsnotifier.WsServer.reset(WsServer.java:40) at org.codefirst.jenkins.wsnotifier.WsServer.init(WsServer.java:23) ... 13 more Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.bind(NioServerSocketPipelineSink.java:148) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleServerSocket(NioServerSocketPipelineSink.java:100) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:74) at org.jboss.netty.channel.Channels.bind(Channels.java:468) at org.jboss.netty.channel.AbstractChannel.bind(AbstractChannel.java:200) at org.jboss.netty.bootstrap.ServerBootstrap$Binder.channelOpen(ServerBootstrap.java:348) at org.jboss.netty.channel.Channels.fireChannelOpen(Channels.java:176) at org.jboss.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServerSocketChannel.java:85) at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:142) at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:90) at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:282) ... 17 more
    via by Igor Lankin,
  • 급 문제가 생겼습니다.
    via GitHub by Terrorboy
    ,
    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'endpoint' defined in URL [jar:file:/usr/local/manager/lib/manager.biz-4.2.13.jar!/spring/otter-manager-remote.xml]: Invocation of init method failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Fail to start server(url: dubbo://127.0.0.1:1099/endpoint?channel.readonly.sent=true&codec=dubbo&connections=30&heartbeat=5000&iothreads=4&serialization=java&server=netty&threads=50) Failed to bind NettyServer on /127.0.0.1:1099, cause: Failed to bind to: /0.0.0.0:1099 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at com.alibaba.citrus.webx.context.WebxComponentsLoader.initWebApplicationContext(WebxComponentsLoader.java:117)[citrus-webx-all-3.2.0.jar:3.2.0] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)[spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:771)[jetty-server-8.1.7.v20120910.jar:8.1.7.v20120910] at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:411)[jetty-servlet-8.1.7.v20120910.jar:8.1.7.v20120910] at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:763)[jetty-server-8.1.7.v20120910.jar:8.1.7.v20120910] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:247)[jetty-servlet-8.1.7.v20120910.jar:8.1.7.v20120910] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1238)[jetty-webapp-8.1.7.v20120910.jar:8.1.7.v20120910] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)[jetty-server-8.1.7.v20120910.jar:8.1.7.v20120910] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:480)[jetty-webapp-8.1.7.v20120910.jar:8.1.7.v20120910] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.7.v20120910.jar:8.1.7.v20120910] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[jetty-server-8.1.7.v20120910.jar:8.1.7.v20120910] at org.eclipse.jetty.server.Server.doStart(Server.java:277)[jetty-server-8.1.7.v20120910.jar:8.1.7.v20120910] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.7.v20120910.jar:8.1.7.v20120910] at com.alibaba.otter.manager.deployer.JettyEmbedServer.start(JettyEmbedServer.java:61)[manager.deployer-4.2.13.jar:na] at com.alibaba.otter.manager.deployer.OtterManagerLauncher.main(OtterManagerLauncher.java:49)[manager.deployer-4.2.13.jar:na] Caused by: com.alibaba.dubbo.rpc.RpcException: Fail to start server(url: dubbo://127.0.0.1:1099/endpoint?channel.readonly.sent=true&codec=dubbo&connections=30&heartbeat=5000&iothreads=4&serialization=java&server=netty&threads=50) Failed to bind NettyServer on /127.0.0.1:1099, cause: Failed to bind to: /0.0.0.0:1099 at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.createServer(DubboProtocol.java:289)[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.openServer(DubboProtocol.java:266)[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.export(DubboProtocol.java:253)[dubbo-2.5.3.jar:2.5.3] at com.alibaba.otter.shared.communication.core.impl.dubbo.DubboCommunicationEndpoint.initial(DubboCommunicationEndpoint.java:54)[shared.communication-4.2.13.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_79] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_79] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_79] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_79] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1581)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1522)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] ... 26 more Caused by: com.alibaba.dubbo.remoting.RemotingException: Failed to bind NettyServer on /127.0.0.1:1099, cause: Failed to bind to: /0.0.0.0:1099 at com.alibaba.dubbo.remoting.transport.AbstractServer.<init>(AbstractServer.java:72)[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.remoting.transport.netty.NettyServer.<init>(NettyServer.java:63)[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.remoting.transport.netty.NettyTransporter.bind(NettyTransporter.java:33)[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.remoting.Transporter$Adpative.bind(Transporter$Adpative.java)[na:2.5.3] at com.alibaba.dubbo.remoting.Transporters.bind(Transporters.java:48)[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchanger.bind(HeaderExchanger.java:41)[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.remoting.exchange.Exchangers.bind(Exchangers.java:63)[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.createServer(DubboProtocol.java:287)[dubbo-2.5.3.jar:2.5.3] ... 36 more Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:1099 at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:303)[netty-3.2.2.Final.jar:na] at com.alibaba.dubbo.remoting.transport.netty.NettyServer.doOpen(NettyServer.java:94)[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.remoting.transport.AbstractServer.<init>(AbstractServer.java:67)[dubbo-2.5.3.jar:2.5.3] ... 43 more Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method)[na:1.7.0_79] at sun.nio.ch.Net.bind(Net.java:444)[na:1.7.0_79] at sun.nio.ch.Net.bind(Net.java:436)[na:1.7.0_79] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)[na:1.7.0_79] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)[na:1.7.0_79] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.bind(NioServerSocketPipelineSink.java:148)[netty-3.2.2.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleServerSocket(NioServerSocketPipelineSink.java:100)[netty-3.2.2.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:74)[netty-3.2.2.Final.jar:na] at org.jboss.netty.channel.Channels.bind(Channels.java:468)[netty-3.2.2.Final.jar:na] at org.jboss.netty.channel.AbstractChannel.bind(AbstractChannel.java:200)[netty-3.2.2.Final.jar:na] at org.jboss.netty.bootstrap.ServerBootstrap$Binder.channelOpen(ServerBootstrap.java:348)[netty-3.2.2.Final.jar:na] at org.jboss.netty.channel.Channels.fireChannelOpen(Channels.java:176)[netty-3.2.2.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServerSocketChannel.java:85)[netty-3.2.2.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:142)[netty-3.2.2.Final.jar:na] at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:90)[netty-3.2.2.Final.jar:na] at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:282)[netty-3.2.2.Final.jar:na] ... 45 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    HandemelindoHandemelindo
    57 times, last one,
    davidvanlaatumdavidvanlaatum
    7 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    136 more bugmates