Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Adrian Hempel [Atlassian], 2 years ago
via Atlassian JIRA by Adrian Hempel [Atlassian], 1 year ago
via Mirth Project by Peter Scholz, 1 year ago
via Coderanch by Pedro Fonseca, 1 year ago
via Oracle Community by user13684468, 1 year ago
Connection refused
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:430)	at java.net.Socket.connect(Socket.java:520)	at java.net.Socket.connect(Socket.java:470)	at java.net.Socket.(Socket.java:367)	at java.net.Socket.(Socket.java:240)	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)	at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.findClass(AgentClassLoader.java:99)	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)	at org.apache.activemq.command.ConsumerInfo.createRemoveCommand(ConsumerInfo.java:267)	at org.apache.activemq.ActiveMQMessageConsumer.close(ActiveMQMessageConsumer.java:542)	at org.jencks.amqpool.PooledSession.close(PooledSession.java:96)	at org.logicblaze.lingo.jms.impl.OneWayRequestor.close(OneWayRequestor.java:81)	at org.logicblaze.lingo.jms.impl.SingleThreadedRequestor.close(SingleThreadedRequestor.java:83)	at com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.close(BambooMultiplexingRequestor.java:49)	at org.logicblaze.lingo.jms.JmsClientInterceptor.destroy(JmsClientInterceptor.java:156)	at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:146)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:344)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:317)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:290)	at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:706)	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:684)	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:651)	at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.stop(RemoteAgent.java:110)	at com.atlassian.bamboo.agent.bootstrap.AgentRunner.stop(AgentRunner.java:38)	at com.atlassian.bamboo.agent.bootstrap.AgentContext.restart(AgentContext.java:112)	at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.findClass(AgentClassLoader.java:123)	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)	at org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:56)	at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:145)	at java.lang.Thread.run(Thread.java:613)