TCP: Connection refused

"Ganebnyi Genadii" <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Organization home
Message-ID <opsuy5v8f3hh467t@localhost>
When trying to connect to the OpenJMS server, that runs on a separate  
machine, I receive the following error(when running on the same machine  
this does not happen)

8/4/05 10:52 AM  main  Debug: Connecting to JMS server at  
tcp://192.168.0.3:3035/ ...
8/4/05 10:52 AM  main  Error: javax.jms.JMSException: Failed to create  
connection: java.net.ConnectException: Connection refused 	at  
org.exolab.jms.client.mipc.IpcJmsServerStub.openConnection(IpcJmsServerStub.java:338)
	at  
org.exolab.jms.client.mipc.IpcJmsServerStub.createConnection(IpcJmsServerStub.java:197)
	at org.exolab.jms.client.JmsConnection.<init>(JmsConnection.java:189)
	at  
org.exolab.jms.client.JmsTopicConnection.<init>(JmsTopicConnection.java:81)
	at  
org.exolab.jms.client.JmsTopicConnectionFactory.createTopicConnection(JmsTopicConnectionFactory.java:113)
	at  
org.exolab.jms.client.JmsTopicConnectionFactory.createTopicConnection(JmsTopicConnectionFactory.java:103)
	at cinematic.messaging.jms.JMSClient.<init>(JMSClient.java:129)
	at cinematic.network.xmlrpc.server.Server.start(Server.java:151)
	at  
cinematic.network.xmlrpc.server.CommandLineEntryPoint.main(CommandLineEntryPoint.java:140)

The server configuration file is the following:

   <!-- Optional. This represents the default configuration  -->
   <ServerConfiguration host="192.168.0.15" embeddedJNDI="true" />
   <TcpConfiguration port="3030" jndiPort="3035"/>	

   <!-- Required -->
	<Connectors>
	  <Connector scheme="rmi">
	    <ConnectionFactories>
	      <QueueConnectionFactory name="RMIQueueConnectionFactory" />
	      <TopicConnectionFactory name="RMITopicConnectionFactory" />
	    </ConnectionFactories>
	  </Connector>
	  <Connector scheme="tcp">
	    <ConnectionFactories>
	      <QueueConnectionFactory name="TCPQueueConnectionFactory" />
	      <TopicConnectionFactory name="TCPTopicConnectionFactory" />
	    </ConnectionFactories>
	  </Connector>
	</Connectors>

Can anybody help?

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.