dev@glassfish.java.net

Re: querying for v3 capabilties?

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Fri, 29 Feb 2008 13:56:39 -0800

On Feb 28, 2008, at 2:14 PM, Peter Williams wrote:

> Is or could it be it possible to have an HTTP api command that would
> query a running V3 server about whether it can run a certain
> container or not (e.g. JRuby, Phobos, etc.) without actually
> starting the container? Bonus points if the result included
> container runtime version information and/or the container's
> installation location. Or maybe query for the list of what
> containers are startable by the current environment.
~/glassfish/bin/asadmin list-containers

however, so far it only tells you all the supported containers, some
may actually missing bits to run successfully, like you may need to
install the jruby runtime, or configure it at least and so on...

> Also, in the resolution of the how list-applications works if
> invoked immediately after server restart, has this been favorably
> resolved? If so, what was the resolution? If not, would it be
> possible at least for the command (any other whose integrity cannot
> be guaranteed at such a time) to indicate that it return an
> incomplete and/or invalid result and to try again later (ie the
> command didn't fail, the result just isn't ready yet.)
>
this should have been (or will be) resolved. I will always give you
the complete and accurate list (until someone does deploy/undeploy of
course).

Jerome

> -Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>