Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 1713 invoked from network); 20 Aug 2006 18:55:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Aug 2006 18:55:09 -0000 Received: (qmail 11305 invoked by uid 500); 20 Aug 2006 18:55:08 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 11227 invoked by uid 500); 20 Aug 2006 18:55:07 -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 11147 invoked by uid 99); 20 Aug 2006 18:55:07 -0000 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 (hermes.apache.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; Sun, 20 Aug 2006 11:55:05 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GEsOW-0002U5-2S for activemq-users@geronimo.apache.org; Sun, 20 Aug 2006 11:51:36 -0700 Message-ID: <5896258.post@talk.nabble.com> Date: Sun, 20 Aug 2006 11:51:36 -0700 (PDT) From: archaeopteryx To: activemq-users@geronimo.apache.org Subject: Re: whitespace in directory for broker config file In-Reply-To: <5774209.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <5774209.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If someone searches the archives: I just came across the solution to allowing whitespace in a file URL: You have to triple encode the space, like that: See also the following thread: http://lists.cocoondev.org/pipermail/daisy/2006-August/004838.html Regards -- Andreas --------------- Everything works fine. However, as soon as the file activemq-conf.xml is located in a directory that contains spaces, this fails: I read in the configuraton that you have to be careful about whitespace, since URI configurations are based on the java.net.URI class. Is there any workaround for that? Or how else can I overcome that problem (other than to not use a directory which contains spaces)? Thanks in advance for any hint. Andreas -- View this message in context: http://www.nabble.com/whitespace-in-directory-for-broker-config-file-tf2094676.html#a5896258 Sent from the ActiveMQ - User forum at Nabble.com.