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 Server Fault by Dennis Röttger
, 1 year ago
Could not obtain connection to any of these urls: <servername>:1459 [Root exception is javax.naming.CommunicationException: Failed to connect to server <servername>:1459 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server <servername>:1459 [Root exception is java.net.ConnectException: Connection refused]]]
via serverfault.com by Unknown author, 1 year ago
Could not obtain connection to any of these urls: <servername>:1459 [Root exception is javax.naming.CommunicationException: Failed to connect to server <servername>:1459 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server <servername>:1459 [Root exception is java.net.ConnectException: Connection refused]]]
via genuitec.com by Unknown author, 1 year ago
Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
via jboss.org by Unknown author, 2 years ago
Could not obtain connection to any of these urls: 10.16.95.27:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server /10.16.95.27:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server /10.16.95.27:1099 [Root exception is java.net.ConnectException: 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:529)	at java.net.Socket.connect(Socket.java:478)	at java.net.Socket.(Socket.java:375)	at java.net.Socket.(Socket.java:276)	at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)	at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:244)	at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533)	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)	at javax.naming.InitialContext.lookup(InitialContext.java:392)	at org.jboss.Shutdown.main(Shutdown.java:214)