com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [localhost:6027]. - cause: java.net.ConnectException: Connection refused: connect

Oracle Community | naptune890 | 6 years ago
  1. 0

    [I500]: Caught JVM Exception: java.lang.NullPointerException?

    Oracle Community | 7 years ago | hegalor
    com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [localhost:6027]. - cause: java.net.ConnectException: Connection refused: connect
  2. 0

    GlassFish 2.1.1 server hangs up due to unknown broker shutdown request from Admin

    Oracle Community | 6 years ago | naptune890
    com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [localhost:6027]. - cause: java.net.ConnectException: Connection refused: connect
  3. 0

    java.net.ConnectException: Connection refused | DaniWeb

    daniweb.com | 1 year ago
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Limiting RMI to localhost

    Google Groups | 8 years ago | hai...@gmail.com
    java.net.ConnectException: Connection refused: connect
  6. 0

    Why connection to localhost is refused?

    dolinked.com | 1 year ago
    java.net.ConnectException: Connection refused: connect

  1. michallos 1 times, last 1 week ago
  2. treefolk 2 times, last 4 days ago
  3. linxiaolong 18 times, last 1 month ago
  4. Kialandei 1 times, last 1 month ago
  5. DoktorDoener666 41 times, last 3 weeks ago
24 more registered users
65 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.ConnectException

    Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:519)
    7. java.net.Socket.connect(Socket.java:469)
    8. java.net.Socket.<init>(Socket.java:366)
    9. java.net.Socket.<init>(Socket.java:180)
    9 frames
  3. com.sun.messaging
    EventHandler.run
    1. com.sun.messaging.jmq.jmsclient.PortMapperClient.makeSocketWithTimeout(PortMapperClient.java:268)
    2. com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:220)
    3. com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:150)
    4. com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:92)
    5. com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:164)
    6. com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:135)
    7. com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:778)
    8. com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionNew(ConnectionInitiator.java:254)
    9. com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:208)
    10. com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:158)
    11. com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:816)
    12. com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:1529)
    13. com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:2327)
    14. com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:1024)
    15. com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:418)
    16. com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:60)
    17. com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionImpl.java:58)
    18. com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:91)
    19. com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:69)
    20. com.sun.messaging.jms.ra.ResourceAdapter.onException(ResourceAdapter.java:709)
    21. com.sun.messaging.jmq.jmsclient.notification.EventHandler.deliverException(EventHandler.java:210)
    22. com.sun.messaging.jmq.jmsclient.notification.EventHandler.run(EventHandler.java:184)
    22 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame