Actually, this exception is coming from Poor man's installer which is
Koshuke's brainchild so I hope he'll pipe in :-)
Shrikant,
there is also a possibility that this is caused by corrupted download.
If locale modification does not work for you, could you please try
downloading the distribution jar file once more?
Thanks,
Snjezana
Sivakumar Thyagarajan wrote:
> Hi Shrikant
>
> [copying Snjezana who handles GlassFish installation]
>
> What is your "java" pointing to? Could you please share the outputs
> for "which java" and "java -version"?
>
> I don't know if this would help, but it appears that usually the
> system's default encoding might cause this too, as explained in
> http://www.ibm.com/developerworks/forums/message.jspa?messageID=13896290#13896290
>
>
> Does the following workaround mentioned in that thread help?
>
>> You can also work around this |problem by removing the ".UTF-8"
>> suffix from the locale-specific environment |variables; for example,
>> if your machine has default locale of "en_US.UTF-8", |set LANG to
>> "en_US". |
>
>
> Thanks
> --Siva.
>
>
>
> glassfish_at_javadesktop.org wrote:
>
>> Hi Siva,
>> You can see below that the same error is coming:
>> [root_at_hdfc-stack-dev1 data1]# java -Xmx256m -jar
>> glassfish-installer-v2ur1-b09d-linux.jar -console
>> Exception in thread "main" sun.io.MalformedInputException
>> at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:262)
>> at
>> sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:314)
>> at
>> sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:364)
>> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:250)
>> at java.io.InputStreamReader.read(InputStreamReader.java:212)
>> at java.io.BufferedReader.fill(BufferedReader.java:157)
>> at java.io.BufferedReader.readLine(BufferedReader.java:320)
>> at java.io.BufferedReader.readLine(BufferedReader.java:383)
>> at
>> org.jvnet.poormans_installer.ConsoleForm.getLicense(ConsoleForm.java:63)
>> at
>> org.jvnet.poormans_installer.ConsoleForm.show(ConsoleForm.java:46)
>> at org.jvnet.poormans_installer.Main.doConsole(Main.java:79)
>> at org.jvnet.poormans_installer.Main.main(Main.java:47)
>> [Message sent by forum member 'shrikantbochare' (shrikantbochare)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=263291
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>