activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiram Chirino <hi...@hiramchirino.com>
Subject Re: [VOTE] Apollo 1.0 Beta 1 Staged.. could
Date Fri, 01 Apr 2011 10:36:09 GMT
Going to update the run command so that it detects when it's NOT run
from the 'bin/apollo-broker' script and provide a nice message saying
how to properly run the broker.  I would have preferred the run
command not even be an option when executed from 'bin/apollo' but I'm
not sure I can get the karaf shell to hide that command at runtime.

Regards,
Hiram

FuseSource
Web: http://fusesource.com/




On Fri, Apr 1, 2011 at 6:28 AM, Hiram Chirino <hiram@hiramchirino.com> wrote:
> It does not look like you followed the getting started guide:
>
> http://activemq.apache.org/apollo/versions/1.0-beta1/website/documentation/getting-started.html
>
>
> But those seem like common mistakes.. so I think we need better error
> detection and resolution.
>
>
> Regards,
> Hiram
>
> FuseSource
> Web: http://fusesource.com/
>
>
>
>
> On Fri, Apr 1, 2011 at 4:02 AM, James Strachan <james@fusesource.com> wrote:
>> +1
>>
>> Looks good to me.
>>
>>
>> BTW if I tried running
>>
>>  $> apollo
>>  apollo> run
>>
>> log4j:WARN No appenders could be found for logger
>> (org.apache.karaf.shell.console.jline.Console).
>> log4j:WARN Please initialize the log4j system properly.
>> Error executing command: Configuration
>> file'/Users/jstrachan/Downloads/apache-apollo-1.0-beta1/etc/apollo.xml'
>> does not exist.
>>
>> or
>>
>> bin/apollo run
>> java.lang.RuntimeException: Configuration
>> file'/Users/jstrachan/Downloads/apache-apollo-1.0-beta1/etc/apollo.xml'
>> does not exist.
>>
>> Try creating a broker instance using the 'apollo create' command.
>>        at scala.Predef$.error(Predef.scala:58)
>>        at org.apache.activemq.apollo.cli.commands.Run.execute(Run.scala:63)
>>        at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
>>        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
>>        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
>>        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
>>        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
>>        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
>>        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:79)
>>        at org.apache.karaf.shell.console.Main.run(Main.java:150)
>>        at org.apache.karaf.shell.console.Main.run(Main.java:89)
>>        at org.apache.activemq.apollo.cli.Apollo$.main(Apollo.scala:38)
>>        at org.apache.activemq.apollo.cli.Apollo.main(Apollo.scala)
>>
>>
>> I wondered if there should be a default there?
>>
>>
>> Also after running
>>
>>  bin/apollo create foo
>>  bin/apollo run --conf foo/etc/apollo.xml
>>
>> I get
>>
>> Loading configuration file 'foo/etc/apollo.xml'.
>> log4j:WARN No appenders could be found for logger (console).
>> log4j:WARN Please initialize the log4j system properly.
>> org.eclipse.jetty.server.Server@62d337d3 STOPPED
>>  +-ConstraintSecurityHandler@18f63055 started
>>    +-WebAppContext@4adf2940@4adf2940/,file:/Users/jstrachan/Downloads/apache-apollo-1.0-beta1/tmp/webapp/,/Users/jstrachan/Downloads/apache-apollo-1.0-beta1/lib/apollo-web-1.0-beta1-slim.war
>> started
>>       +-SessionHandler@427ab40c started
>>          +-ConstraintSecurityHandler@2d14d18f started
>>             +-ServletHandler@5c2a1ed started
>>                +-[/*]/[]==0=>Jersey
>> Filter{com.sun.jersey.config.property.classnames=org.apache.activemq.apollo.web.resources.BrokerResource,
>>        org.apache.activemq.apollo.web.resources.JacksonJsonProvider,
>> com.sun.jersey.config.feature.Trace=false,
>> com.sun.jersey.config.feature.Redirect=true,
>> com.sun.jersey.config.feature.ImplicitViewables=true,
>> com.sun.jersey.config.feature.FilterForwardOn404=true,
>> com.sun.jersey.config.property.MediaTypeMappings=html : text/html, xml
>> : application/xml, json : application/json,
>> com.sun.jersey.config.property.resourceConfigClass=com.sun.jersey.api.core.ClassNamesResourceConfig}
>>
>> +-[/*]/[]==0=>TemplateEngineFilter{boot.class=org.apache.activemq.apollo.web.Boot}
>>                +-[/]=>default{maxCacheSize=256000000,
>> dirAllowed=true, gzip=true, maxCachedFileSize=10000000,
>> redirectWelcome=false, cacheType=both, acceptRanges=true,
>> welcomeServlets=false, aliases=false, useFileMappedBuffer=true,
>> maxCachedFiles=1000}
>>                +-[*.jsp, *.jspf, *.jspx, *.xsp, *.JSP, *.JSPF,
>> *.JSPX, *.XSP]=>jsp{logVerbosityLevel=DEBUG, fork=false,
>> xpoweredBy=false,
>> scratchdir=/Users/jstrachan/Downloads/apache-apollo-1.0-beta1/tmp/jsp}
>>             +=roles=[]
>>             +=/={TRACE={RoleInfo,F,C[]}}
>>    +=roles=[admins]
>>    +=/*={GET={RoleInfo,C[admins]}}
>>
>>
>>
>> wonder for beta-2 if we could add a little bit of lurve to run
>> straight away without logging warnings? Also showing the web UI URL on
>> the console when it starts might be good too.
>>
>> Incidentally the Home link on the web app points to /index.scaml rather than /
>>
>> On 31 March 2011 19:13, Hiram Chirino <hiram@hiramchirino.com> wrote:
>>> Hi all,
>>>
>>> I think it abut time we have at least a beta release of Apollo so that folks
>>> can kick it's tires and get more involved if they want to.
>>> I've just cut a release candidate for an Apollo 1.0-beta1 release.
>>> Could you review the artifacts and vote?
>>>
>>> The release has been staged to nexus under:
>>> https://repository.apache.org/content/repositories/orgapacheactivemq-055/
>>>
>>> Binary distros can be found at:
>>> https://repository.apache.org/content/repositories/orgapacheactivemq-055/org/apache/activemq/apache-apollo/1.0-beta1/
>>>
>>> Source code distros can be found at:
>>> https://repository.apache.org/content/repositories/orgapacheactivemq-055/org/apache/activemq/apollo-project/1.0-beta1/
>>>
>>> The build was tagged at:
>>> http://svn.apache.org/repos/asf/activemq/activemq-apollo/tags/apollo-project-1.0-beta1/
>>>
>>> The project website for that version has been staged to:
>>> http://activemq.apache.org/apollo/versions/1.0-beta1/website/index.html
>>>
>>> Please vote to approve this release
>>>
>>> [ ] +1 Release the binary as Apache ActiveMQ 5.5.0
>>> [ ] -1 Veto the release (provide specific comments)
>>>
>>> Here's my +1
>>>
>>>
>>> Regards,
>>> Hiram
>>>
>>> FuseSource
>>> Web: http://fusesource.com/
>>>
>>
>>
>>
>> --
>> James
>> -------
>> FuseSource
>> Email: james@fusesource.com
>> Web: http://fusesource.com
>> Twitter: jstrachan
>> Blog: http://macstrac.blogspot.com/
>>
>> Open Source Integration
>>
>

Mime
View raw message