RE: Problem mixing connectors TCP & HTTP
"Fernando Zuriaga" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
I cant't use the real IP because the server are inside an intranet, and the http clients must reach the server from Internet. I change this parameter for the name of the server, and add a line for the tcp configuration <TcpConfiguration port="3035" />, and works fine!!!. Thanks!!! -----Mensaje original----- De: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] En nombre de Ermengol Bota Enviado el: viernes, 23 de diciembre de 2005 11:19 Para: [email protected] Asunto: Re: [openjms-user] Problem mixing connectors TCP & HTTP We had a similar problem few days ago with the embedded JNDI.... take a look to the con figuration file openjms.xml and change the line <ServerConfiguration host="localhost" embeddedJNDI="true" /> to: <ServerConfiguration host="real_IP" embeddedJNDI="true" /> hope it helps * Ermengol * Fernando Zuriaga wrote: > Hi, I have an openjms server (0.7.7-alpha1) configured with two > conectors: one for http clients (tunnel servlet) and one for local > access (TCP). The configuration file is: > > <Configuration> > <!-- Optional. This represents the default configuration --> > <ServerConfiguration host="XXXXXXXXX" embeddedJNDI="true" /> change localhost to your IP > javax.naming.ServiceUnavailableException: Failed to connect to > URI=tcp://66.35.250.177:3035/ [Root exception is org.exolab.jms.net.c > onnector.ConnectException: Failed to connect to > URI=tcp://66.35.250.177:3035/] > > I don't know why openjms try to connect to 66.35.250.177 ???. I want > to connect to localhost, I don't write this Ip direcction into my > program. > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ openjms-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openjms-user ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click