Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 86142 invoked from network); 14 Aug 2007 03:58:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2007 03:58:07 -0000 Received: (qmail 66999 invoked by uid 500); 14 Aug 2007 03:58:05 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 66980 invoked by uid 500); 14 Aug 2007 03:58:05 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 66970 invoked by uid 99); 14 Aug 2007 03:58:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 20:58:05 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 03:58:01 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IKnXI-0006RP-IV for users@activemq.apache.org; Mon, 13 Aug 2007 20:57:40 -0700 Message-ID: <12138415.post@talk.nabble.com> Date: Mon, 13 Aug 2007 20:57:40 -0700 (PDT) From: pplive To: users@activemq.apache.org Subject: Re: Blob Message is a skin game??? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: pplivedotcom@gmail.com References: <12123361.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org God.I have the same problem. According to what James mentioned, I use File/Inputstream for the blob messages, but still can't get anything. It seems that the inputstream received from the ActiveMQ is null. who knows what's wrong? James.Strachan wrote: > > Answered in your other thread. > http://www.nabble.com/Re%3A-Blob-Message-is-a-skin-game----not-real--%21---p12124257s2354.html > > On 8/13/07, OnlyLove wrote: >> >> I send the blob message using... >> >> BlobMessage message = session.createBlobMessage(new >> URL("http://localhost:8080/test.pdf")); >> >> then, I close the tomcat server, and try to get the message from the amq >> broker, >> fail ! (it seems that the blob message just send the url to the broker, >> but >> not the real data of the file!) >> >> Exception in thread "main" java.net.ConnectException: Connection refused: >> connect >> at java.net.PlainSocketImpl.socketConnect(Native Method) >> at java.net.PlainSocketImpl.doConnect(Unknown Source) >> at java.net.PlainSocketImpl.connectToAddress(Unknown Source) >> at java.net.PlainSocketImpl.connect(Unknown Source) >> at java.net.Socket.connect(Unknown Source) >> at java.net.Socket.connect(Unknown Source) >> at sun.net.NetworkClient.doConnect(Unknown Source) >> at sun.net.www.http.HttpClient.openServer(Unknown Source) >> at sun.net.www.http.HttpClient.openServer(Unknown Source) >> at sun.net.www.http.HttpClient.(Unknown Source) >> at sun.net.www.http.HttpClient.New(Unknown Source) >> at sun.net.www.http.HttpClient.New(Unknown Source) >> at >> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown >> Source) >> at >> sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) >> at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown >> Source) >> at >> sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown >> Source) >> at java.net.URL.openStream(Unknown Source) >> at >> org.apache.activemq.command.ActiveMQBlobMessage.getInputStream(ActiveMQBlobMessage.java:129) >> at BlobMessagesQueue.BlobConsumer.main(BlobConsumer.java:24) >> >> >> -- >> View this message in context: >> http://www.nabble.com/Blob-Message-is-a-skin-game----tf4260124s2354.html#a12123361 >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > -- > James > ------- > http://macstrac.blogspot.com/ > > -- View this message in context: http://www.nabble.com/Blob-Message-is-a-skin-game----not-real--%21---tf4260124s2354.html#a12138415 Sent from the ActiveMQ - User mailing list archive at Nabble.com.