how to make client cross the firewall on tcp connector?
"杜娟" <dujuan-Lg/[email protected]> Mon, 18 Sep 2006 15:26:56 +0800
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
hi all
I an using openjms-0.7.7-alpha-1
I have a remote client behind a firewall/router that I am trying to listen to messages.
I used http connector but it's so slowly,so i want to change to use tcp connector ,and i get error as follow
javax.jms.JMSException: Failed to connect to URI=tcp://218.30.254.80:5000/
at org.exolab.jms.client.net.JMSExceptionAdapter.adapt(JMSExceptionAdapter.java:79)
at org.exolab.jms.server.net.RemoteServerConnection__Proxy.getConnectionId(RemoteServerConnection__Proxy.java:89)
at org.exolab.jms.client.net.JmsConnectionStubImpl.getConnectionId(JmsConnectionStubImpl.java:131)
at org.exolab.jms.client.JmsConnection.<init>(JmsConnection.java:176)
at org.exolab.jms.client.JmsTopicConnection.<init>(JmsTopicConnection.java:81)
at org.exolab.jms.client.JmsConnectionFactory.createTopicConnection(JmsConnectionFactory.java:353)
at org.exolab.jms.client.JmsConnectionFactory.createTopicConnection(JmsConnectionFactory.java:335)
my openjms.xml is
<ServerConfiguration host="219.142.80.35" embeddedJNDI="true" />
<Connectors>
<Connector scheme="rmi">
<ConnectionFactories>
<QueueConnectionFactory name="JmsQueueConnectionFactory" />
<TopicConnectionFactory name="JmsTopicConnectionFactory" />
</ConnectionFactories>
</Connector>
<Connector scheme="tcp">
<ConnectionFactories>
<ConnectionFactory name="TCPConnectionFactory"/>
</ConnectionFactories>
</Connector>
</Connectors>
<TcpConfiguration port="5000" internalHost="218.30.254.80" jndiPort="5000" adminPort="5000" bindAll="true" />
any one can give some advice?thank you very much!
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user