Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 89560 invoked from network); 22 Aug 2006 17:21:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Aug 2006 17:21:44 -0000 Received: (qmail 4781 invoked by uid 500); 22 Aug 2006 17:21:44 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 4591 invoked by uid 500); 22 Aug 2006 17:21:43 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 4582 invoked by uid 99); 22 Aug 2006 17:21:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 10:21:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 10:21:42 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GFZwH-0006xQ-Rw for activemq-users@geronimo.apache.org; Tue, 22 Aug 2006 10:21:21 -0700 Message-ID: <5929905.post@talk.nabble.com> Date: Tue, 22 Aug 2006 10:21:21 -0700 (PDT) From: brodyc To: activemq-users@geronimo.apache.org Subject: Http Tunneling in activemq MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Can anyone comment on how to configure HttpTunneling in activemq. From what I've been able to find in forums and the web is that there is a HttpTunnelServlet on the server side and it delegates messages to a queue per description found in HttpTunnelServlet.java: /** * A servlet which handles server side HTTP transport, delegating to the * ActiveMQ broker. This servlet is designed for being embedded inside an * ActiveMQ Broker using an embedded Jetty or Tomcat instance. * * @version $Revision$ */ How do you embed this servlet in the activemq broker using jetty? I am a bit lost on a details how to accomplish this. I've tried the following in my activemq config file but the broker on startup throws the following: ACTIVEMQ_HOME: C:\dev\incubator-activemq-4.0.1\bin\.. Loading message broker from: xbean:activemq.xml INFO BrokerService - ActiveMQ 4.0.1 JMS Message Broker (receiv er) is starting INFO BrokerService - For help or more information please see: http://incubator.apache.org/activemq/ INFO ManagementContext - JMX consoles can connect to service:jmx:r mi:///jndi/rmi://localhost:1099/jmxrmi :INFO: Logging to STDERR via org.mortbay.log.StdErrLog :INFO: Started SocketConnector @ localhost:62302 INFO TransportConnector - Connector http://localhost:62302 Started INFO NetworkConnector - Establishing network connection between f rom vm://receiver?network=true to http://localhost:62301 INFO VMTransportFactory - binding to broker: receiver INFO TransportConnector - Connector vm://receiver Started INFO DemandForwardingBridge - Starting a network connection between vm: //receiver#0 and HTTP Reader http://localhost:62301 has been established. INFO NetworkConnector - Network Connector bridge Started INFO BrokerService - ActiveMQ JMS Message Broker (receiver, ID :cwiklikt40-3482-1156264910927-0:0) started WARN HttpClientTransport - Failed to perform GET on: http://localhos t:62301 due to: java.net.ConnectException: Connection refused: connect java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:233) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:378) at java.net.Socket.connect(Socket.java:536) at java.net.Socket.connect(Socket.java:486) at java.net.Socket.(Socket.java:394) at java.net.Socket.(Socket.java:207) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.c reateSocket(DefaultProtocolSocketFactory.java:86) I suspect that this is caused by the fact that the jetty is not started. If possible I appreciate a step-by-step instruction for what needs to be done to enable tunneling with activemq. I'd prefer embedding jetty in the activemq broker as opposed to running it as separate process. Thanks -- View this message in context: http://www.nabble.com/Http-Tunneling-in-activemq-tf2147588.html#a5929905 Sent from the ActiveMQ - User forum at Nabble.com.