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], 1 year ago
via Atlassian JIRA by Adrian Hempel [Atlassian], 1 year ago
via Mirth Project by Peter Scholz, 1 year ago
via Oracle Community by gmilitel - oracle, 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:366)	at java.net.Socket.connect(Socket.java:525)	at java.net.Socket.connect(Socket.java:475)	at java.net.Socket.(Socket.java:372)	at java.net.Socket.(Socket.java:246)	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:132)	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)	at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.loadClass(AgentClassLoader.java:304)	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)	at org.apache.activemq.transport.tcp.TcpTransport.doStop(TcpTransport.java:469)	at org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:69)	at org.apache.activemq.transport.tcp.TcpTransport.stop(TcpTransport.java:499)	at org.apache.activemq.transport.InactivityMonitor.stop(InactivityMonitor.java:113)	at org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64)	at org.apache.activemq.transport.WireFormatNegotiator.stop(WireFormatNegotiator.java:87)	at org.apache.activemq.util.ServiceSupport.dispose(ServiceSupport.java:43)	at org.apache.activemq.transport.failover.FailoverTransport.handleTransportFailure(FailoverTransport.java:201)	at org.apache.activemq.transport.failover.FailoverTransport$3.onException(FailoverTransport.java:173)	at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:99)	at org.apache.activemq.transport.WireFormatNegotiator.onException(WireFormatNegotiator.java:152)	at org.apache.activemq.transport.InactivityMonitor.onException(InactivityMonitor.java:244)	at org.apache.activemq.transport.TransportSupport.onException(TransportSupport.java:96)	at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:189)	at java.lang.Thread.run(Thread.java:619)