I went looking for the Apollo JIRA database, but I couldn't find it, so I'm not sure where to report any issues. As a follow-on to this problem, the generated apollo-broker.cmd needs to be updated to support paths with spaces. Simple enough fix to modify the last line to add quotation marks:
"%APOLLO_HOME%\bin\apollo" %* On Thu, May 5, 2011 at 9:21 AM, Jim Gomes <[email protected]> wrote: > Thanks, Hiram. Great catch. That new CMD file works with spaces in the > path. I was able to successfully create a broker instance using Java > 1.6.0.24. > > Changing my vote on current build to a *+1*, with a provision that an > errata be added that it be tested in a path with no spaces. > > Thanks for the quick fix! I'll start playing with the product now. I also > understand now that the config file doesn't ship with the product, it is > created in the broker instance folders. > > On Thu, May 5, 2011 at 4:22 AM, Hiram Chirino <[email protected]>wrote: > >> Ok I've verified that it works if you install to a path without a >> space. I've also committed a fix so that the next release of apollo >> does not have this issue. If you want to test out the fix, just >> replace the bin/apollo.cmd in the binary distribution with this >> version: >> http://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo.cmd >> >> >> Regards, >> Hiram >> >> FuseSource >> Web: http://fusesource.com/ >> >> Connect at CamelOne May 24-26 >> The Open Source Integration Conference >> >> >> >> On Thu, May 5, 2011 at 5:04 AM, Hiram Chirino <[email protected]> >> wrote: >> > Thanks for trying it out. I got a feeling it has something to do with >> > it being installed in a directory with spaces in it. I'll try that >> > out later on today. >> > >> > >> > Regards, >> > Hiram >> > >> > FuseSource >> > Web: http://fusesource.com/ >> > >> > Connect at CamelOne May 24-26 >> > The Open Source Integration Conference >> > >> > >> > >> > On Wed, May 4, 2011 at 3:49 PM, Jim Gomes <[email protected]> wrote: >> >> I'm a bit new to Apollo, so forgive me for newbie style questions and >> >> mistakes. I read in the Getting Started guide that I'm supposed to >> create a >> >> Broker Instance. When I run the command on a Windows 2003 server (that >> is >> >> currently running ActiveMQ 5.5.0), I get the following error: >> >> >> >> C:\Program Files\Apache Software Foundation\Apollo\data> >> ..\bin\apollo.cmd >> >> create mybroker >> >> Exception in thread "main" java.lang.NoClassDefFoundError: >> >> org/apache/activemq/apollo/cli/Apollo >> >> Caused by: java.lang.ClassNotFoundException: >> >> org.apache.activemq.apollo.cli.Apollo >> >> at java.net.URLClassLoader$1.run(URLClassLoader.java:202) >> >> at java.security.AccessController.doPrivileged(Native Method) >> >> at java.net.URLClassLoader.findClass(URLClassLoader.java:190) >> >> at java.lang.ClassLoader.loadClass(ClassLoader.java:307) >> >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) >> >> at java.lang.ClassLoader.loadClass(ClassLoader.java:248) >> >> Could not find the main class: org.apache.activemq.apollo.cli.Apollo. >> >> Program will exit. >> >> >> >> >> >> On Wed, May 4, 2011 at 12:35 PM, Jim Gomes <[email protected]> wrote: >> >> >> >>> -1 >> >>> >> >>> No default apollo.xml file included in the Windows distribution zip >> file. >> >>> I attempted to install the optional BDB Store as a recommended >> optional >> >>> feature, and found that the etc/apollo.xml file was not included. >> >>> >> >>> On Tue, May 3, 2011 at 4:32 PM, Hiram Chirino <[email protected] >> >wrote: >> >>> >> >>>> Hi Everyone, >> >>>> >> >>>> I'd like to thank everyone who gave feedback on the Apollo 1.0 beta 1 >> >>>> release. It's helped us find and resolve lots of issues. I'd like >> to >> >>>> keep the momentum going by cutting a beta 2 release. You can find a >> >>>> full list of the stuff that's changed at: >> >>>> >> >>>> >> http://activemq.apache.org/apollo/versions/1.0-beta2/website/blog/releases/release-1-0-beta2.html >> >>>> >> >>>> The new release candidate has been staged to nexus under: >> >>>> >> https://repository.apache.org/content/repositories/orgapacheactivemq-013/ >> >>>> >> >>>> Binary distros can be found at: >> >>>> >> >>>> >> https://repository.apache.org/content/repositories/orgapacheactivemq-013/org/apache/activemq/apache-apollo/1.0-beta2/ >> >>>> >> >>>> Source code distros can be found at: >> >>>> >> >>>> >> https://repository.apache.org/content/repositories/orgapacheactivemq-013/org/apache/activemq/apollo-project/1.0-beta2/ >> >>>> >> >>>> The build was tagged at: >> >>>> >> >>>> >> http://svn.apache.org/repos/asf/activemq/activemq-apollo/tags/apollo-project-1.0-beta2/ >> >>>> >> >>>> The project website for that version has been staged to: >> >>>> >> http://activemq.apache.org/apollo/versions/1.0-beta2/website/index.html >> >>>> >> >>>> Please vote to approve this release >> >>>> >> >>>> [ ] +1 Release Apache ActiveMQ Apollo 1.0 Beta 2 >> >>>> [ ] -1 Veto the release (provide specific comments) >> >>>> >> >>>> Here's my +1 >> >>>> >> >>>> >> >>>> Regards, >> >>>> Hiram >> >>>> >> >>>> FuseSource >> >>>> Web: http://fusesource.com/ >> >>>> >> >>>> Connect at CamelOne May 24-26 >> >>>> The Open Source Integration Conference >> >>>> >> >>> >> >>> >> >> >> > >> > >
