users@glassfish.java.net

Re: which package contains list-instances command?

From: Ludovic Champenois <ludovic.champenois_at_oracle.com>
Date: Tue, 08 Mar 2011 07:40:12 -0800

On 3/8/11 6:39 AM, Tom Mueller wrote:
> The list-instances command is in the glassfish-cluster package.
>
Our REST module is too picky for missing commands exposed with
REST...Please file a bug and we can make it more modular, i.e if a cli
is not available, do not complain this way...

Ludo
> Tom
>
> On 3/8/2011 2:17 AM, thomas_at_randspringer.de wrote:
>>
>> Hi,
>>
>> I tried to reduce the installed GF packages because we use GF "only"
>> as runtime environment
>>
>> for our rails-application and hudson+apache-solr.
>>
>> However I get an error on deployment for the hudson.war.
>>
>> It is:
>>
>> >snip
>>
>> [#|2011-03-08T09:01:39.499+0100|INFO|glassfish3.1|com.sun.enterprise.module|_ThreadID=18;_ThreadName=Thread-1;|Command
>> list-instances not found.
>> Check the entry of command name. This command may be provided by a
>> package that is not installed.|#]
>>
>> [#|2011-03-08T09:01:39.499+0100|SEVERE|glassfish3.1|com.sun.jersey.spi.container.ContainerResponse|_ThreadID=18;_ThreadName=Thread-1;|The
>> RuntimeException could not be mapped to a response, re-throwing to
>> the HTTP container
>> java.lang.NullPointerException
>> at
>> org.glassfish.admin.rest.ResourceUtil.getParamMetaData(ResourceUtil.java:451)
>> at
>> org.glassfish.admin.rest.ResourceUtil.getMethodMetaData(ResourceUtil.java:257)
>>
>> >snip
>>
>> In which package is the "list-instances" command defined?
>>
>> My packages currently installed are:
>>
>> felix 3.0.8-0
>> installed ----
>> glassfish-common 3.1-43
>> installed ----
>> glassfish-corba-base 3.1.0-27
>> installed ----
>> glassfish-ejb-lite 3.1-43
>> installed ----
>> glassfish-grizzly 1.9.31-1
>> installed ----
>> glassfish-grizzly-full 1.9.31-1
>> installed ----
>> glassfish-gui 3.1-43
>> installed ----
>> glassfish-hk2 3.1-43
>> installed ----
>> glassfish-jca 3.1-43
>> installed ----
>> glassfish-jcdi 3.1-43
>> installed ----
>> glassfish-jdbc 3.1-43
>> installed ----
>> glassfish-jpa 3.1-43
>> installed ----
>> glassfish-jsf 2.1.0-11
>> installed ----
>> glassfish-jta 3.1-43
>> installed ----
>> glassfish-management 3.1-43
>> installed ----
>> glassfish-nucleus 3.1-43
>> installed ----
>> glassfish-registration 3.1-43
>> installed ----
>> glassfish-web 3.1-43
>> installed ----
>> jersey 1.5-1.0
>> installed ----
>> metro 2.1-30
>> installed ----
>> pkg 1.122.2-52.2817
>> installed ----
>> python2.4-minimal 2.4.4.0-52.2817
>> installed ----
>> updatetool 2.3.3-52.2817
>> installed ----
>> wxpython2.8-minimal 2.8.10.1-52.2817
>> installed ----
>>
>> Thomas
>>