com.sun.messaging.jms.JMSException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

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

  • OpenScript : Unable to Launch Brower
    via by 844496,
  • Limiting RMI to localhost
    via by hai...@gmail.com,
  • Why connection to localhost is refused?
    via by Unknown author,
  • Java to NET interop?
    via j-interop by dhoffer6
    ,
  • The attempted logon is invalid
    via j-interop by nooomi
    ,
  • how to install BI server on weblogic
    via by 575729,
  • Error logging on to OBIEE Dashboards
    via by 612389,
    • com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [localhost:6027]. - cause: java.net.ConnectException: Connection refused: connect at com.sun.messaging.jmq.jmsclient.ExceptionHandler.throwConnectionException(ExceptionHandler.java:274) at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleConnectException(ExceptionHandler.java:220) at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:241) at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:150) at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:92) at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:164) at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:135) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:778) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionNew(ConnectionInitiator.java:254) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:208) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:158) at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:816) at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:1529) at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:2327) at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:1024) at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:418) at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:60) at com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionImpl.java:58) at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:91) at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:69) at com.sun.messaging.jms.ra.ResourceAdapter.onException(ResourceAdapter.java:709) at com.sun.messaging.jmq.jmsclient.notification.EventHandler.deliverException(EventHandler.java:210) at com.sun.messaging.jmq.jmsclient.notification.EventHandler.run(EventHandler.java:184) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.ConnectException: Connection refused: connect 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:519) at java.net.Socket.connect(Socket.java:469) at java.net.Socket.<init>(Socket.java:366) at java.net.Socket.<init>(Socket.java:180) at com.sun.messaging.jmq.jmsclient.PortMapperClient.makeSocketWithTimeout(PortMapperClient.java:268) at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:220) ... 21 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    CasperCasper
    6 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    820 more bugmates