Kbase P102827: Adapter for SonicMQ - javax.jms.JMSException: java.net.ConnectException: Connection Refused
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  04/04/2005 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
Linux Intel
SonicMQ
SonicXQ
SYMPTOM(s):
setBrokerURL("<host_name>:<port>")
javax.jms.JMSException: java.net.ConnectException: Connection Refused
Error is generated after a call to the 4GL-JMS method beginSession()
specifying <IP_Address> instead of <host_name> in setBrokerURL() works
CAUSE:
<host_name> was defined incorrectly in etc/host file. It was pointing to the wrong host which did not have a broker running on the specified <port>
FIX:
Ensure the remote machine that hosts the SonicMQ Broker is defined correctly in the etc/host file