admin@glassfish.java.net

Re: start-local-instance and start-instance commands

From: Bhakti Mehta <bhakti.mehta_at_sun.com>
Date: Wed, 09 Jun 2010 09:03:56 -0700

check the file under admin/cli/src/main/resources
I removed copy-config from there once I put in a basic impl for it
https://glassfish-svn.dev.java.net/source/browse/glassfish-svn/trunk/v3/admin/cli/src/main/resources/unsupported-legacy-command-names?view=diff&rev=37551&p1=trunk/v3/admin/cli/src/main/resources/unsupported-legacy-command-names&p2=trunk/v3/admin/cli/src/main/resources/unsupported-legacy-command-names&r1=37550&r2=37551

Carla Mott wrote:
> I updated my workspace again and have what looks like the right code
> for start-local-instance.
>
> I still need to get start-instance off the not implemented list.
>
>
> Carla Mott wrote:
>> Hi,
>>
>>
>> It seems that command is not implemented anymore? I looked at the
>> file and I see:
>>
>> @Service(name = "stop-local-instance")
>>
>> I'm implementing the start-instance command (also not available) so
>> wondering when the start-local-instance command will be "fixed".
>> I created a class that has implements AdminCommand and created a
>> service as follows:
>>
>> @Service(name = "start-instance")
>> @Async
>> @I18n("start.instance.command")
>> public class StartInstanceCommand implements AdminCommand,
>> PostConstruct {
>>
>>
>> When I try to run start-instance I get a message:
>>
>> asadmin start-instance
>> CLI194 Previously supported command: start-instance is not supported
>> for this release.
>>
>> What do I need to do here so I can run the command? Where is the
>> list of unsupported legacy commands?
>>
>> Thanks,
>> Carla
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>