I am trying to use HTTP tunneling with swift_mq version 1.1 and squid
version 2.3
My set up is as follows:
I have a topic publisher running on a Solaris box and can successfully
connect to it directly from clients running on Solaris and NT. I have also
set up squid as a proxy on the Solaris box and set up the
httptunnel.properties file on my NT box. When I try and connect my NT client
to the publisher via the proxy I get these messages (see below). Note I have
removed my ip address and dns name to 'protect the innocent' and replaced
with [IP ADDRESS] and [DNS NAME]. The error seems to suggest it fails on the
second part with a dns error, but pinging etc works fine. I am at a loss to
know what to try next, as the initial connection seems to be OK. Any ideas
please?
Rowan
----------------------------------------------------------------------------
-----------------------------------
D:\java\swiftmq_1_1\samples>java -cp
.;../jars/swiftmq.jar;../jars/jndi.jar;../jars/jms.jar;../jars/jsse.jar;../j
ars/jnet.jar;../jars/jcert.jar
-Dswiftmq.httptunnel.file=../conf/httptunnel.properties
-Dswiftmq.httptunnel.debug=true MyAsynchTopicExample clientlog.techwatch
Topic name is clientlog.techwatch
To end program, enter Q or q, then <return>
HttpTunneling: Property filename = ../conf/httptunnel.properties
HttpTunneling: Property file found, HttpTunneling enabled
HttpTunneling: Properties = {noproxy.host.names=localhost, proxy.host=[DNS
NAME], proxy.port=3128}
HttpTunneling: Checking, if host '[IP ADDRESS]' goes through the proxy ...
HttpTunneling: Yes (does not match any entry in the exclude list)
HttpTunneling: Sending to proxy:
CONNECT [IP ADDRESS]:4001 HTTP/1.0
User-Agent: SwiftMQ JMS Enterprise Messaging System
HttpTunneling: Receiving from proxy:
HTTP/1.0 200 Connection established
HttpTunneling: Response from proxy is 200; tunneling starts ...
HttpTunneling: Checking, if host '[DNS NAME]' goes through the proxy ...
HttpTunneling: Yes (does not match any entry in the exclude list)
HttpTunneling: Sending to proxy:
CONNECT [DNS NAME]:4001 HTTP/1.0
User-Agent: SwiftMQ JMS Enterprise Messaging System
HttpTunneling: Receiving from proxy:
HTTP/1.0 404 Not Found
Server: Squid/2.3.STABLE4
Mime-Version: 1.0
Date: Mon, 20 Nov 2000 10:43:09 GMT
Content-Type: text/html
Content-Length: 811
Expires: Mon, 20 Nov 2000 10:43:09 GMT
X-Squid-Error: ERR_DNS_FAIL 0
HttpTunneling: Response from proxy is != 200; throwing exception
Connection problem: javax.jms.JMSException: error creating socket connection
to
[DNS NAME]:4001, message: Error during proxy setup. Proxy responds with:
HTTP/1.0 404 Not Found
Server: Squid/2.3.STABLE4
Mime-Version: 1.0
Date: Mon, 20 Nov 2000 10:43:09 GMT
Content-Type: text/html
Content-Length: 811
Expires: Mon, 20 Nov 2000 10:43:09 GMT
X-Squid-Error: ERR_DNS_FAIL 0
------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/