Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D7739993A for ; Wed, 22 Aug 2012 13:06:47 +0000 (UTC) Received: (qmail 41829 invoked by uid 500); 22 Aug 2012 13:06:47 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 41728 invoked by uid 500); 22 Aug 2012 13:06:46 -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 41719 invoked by uid 99); 22 Aug 2012 13:06:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2012 13:06:46 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.250.139 is neither permitted nor denied by domain of hiram@hiramchirino.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2012 13:06:40 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1T4AdX-0006E7-VT for users@activemq.apache.org; Wed, 22 Aug 2012 06:06:19 -0700 Date: Wed, 22 Aug 2012 06:06:19 -0700 (PDT) From: chirino To: users@activemq.apache.org Message-ID: <1345640779963-4655422.post@n4.nabble.com> In-Reply-To: <1345570715786-4655390.post@n4.nabble.com> References: <1345570715786-4655390.post@n4.nabble.com> Subject: Re: Apollo as Windows Service MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Dean, Windows is known to be tricky to get classpaths right when jars are in a path with a space in it. Perhaps this is going on here. Did you by any chance install to a directory path that has a space in it? Regards, Hiram dean.ward wrote > > Hi all, > I've followed the instructions at > http://activemq.apache.org/apollo/documentation/user-manual.html#On_Windows > to install a broker as a Windows Service. Unfortunately I it fails to > start the service with the following error in > apollo-broker-service.err.log: > > Exception in thread "main" java.lang.ClassNotFoundException: > org.apache.activemq.apollo.cli.Apollo > at java.net.URLClassLoader$1.run(Unknown Source) > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at org.apache.activemq.apollo.boot.Apollo.main(Apollo.java:92) > > If I run the broker from the command line (from > apollo-broker-service.wrapper.log) it runs just fine. Any ideas? > > Cheers, > Dean > -- View this message in context: http://activemq.2283324.n4.nabble.com/Apollo-as-Windows-Service-tp4655390p4655422.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.