dev@glassfish.java.net

Re: asadmin get throws NoSuchMethodError: java.lang.System.console()Ljava/io/Console;

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Thu, 23 Jul 2009 11:31:42 -0700

Kedar Mhaswade wrote:
>
>
> Marina Vatkina wrote:
>
>> Jerome Dochez wrote:
>>
>>>
>>> On Jul 21, 2009, at 6:54 PM, Marina Vatkina wrote:
>>>
>>>> Jeanfrancois Arcand wrote:
>>>>
>>>>> Salut,
>>>>> Marina Vatkina wrote:
>>>>>
>>>>>> This is on today's ws (as of 10am+).
>>>>>
>>>>>
>>>>> You need JDK 6 as the default :-) The error should be a little
>>>>> more understandable :-)
>>>>
>>>>
>>>>
>>>> That was it. Yes, it's not user-friendly :( - should I file a bug?
>>>
>>>
>>> yes.
>>
>>
>> Kedar,
>>
>> Will https://glassfish.dev.java.net/issues/show_bug.cgi?id=8460 cover
>> it or is it about something else?
>
>
> Yes Marina, I do think checking for 1.6 early on during asadmin startup
> would
> make life much easier. Yes, and 8460 is the right issue number, not 8480
> like
> I wrote earlier. Apologies.

What is the difference between the 2?

In my cases I started GF via java -jar on one terminal (where JDK version was
correct), and called asdamin get in another, where it wasn't.

So any asadmin call needs to check the version...

thanks,
-marina

>
> -Kedar
>
>> thanks,
>> -marina
>>
>>>
>>>>
>>>> thanks,
>>>> -marina
>>>>
>>>>> A+
>>>>> -- Jeanfrancois
>>>>>
>>>>>>
>>>>>> thanks,
>>>>>> -marina
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>