quality@glassfish.java.net

Re: [Issue 5573] java.io.StreamCorruptedException: invalid stream header: 47455420

From: Dick Davies <rasputnik_at_hellooperator.net>
Date: Tue, 26 Aug 2008 22:37:56 +0100

On Sat, Aug 23, 2008 at 4:04 PM, Survivant <survivant00_at_gmail.com> wrote:
> it was my bug :(
>
> no jokes.. what will happen if a user enter a bogus context ? GF won't be
> able to handle it and give the user a popup to download a stream ? don't
> make sens to me. Suppose your site is indexed on google, and you move the
> page to another context.. when the user click on the link indexed by Google
> (in cache of Google).. what is the expected result ?

I don't think Glassfish expects you to try to talk http on that port,
that seems fair
enough to be honest.
I'd expect Glassfish not to crash, and the browser not to try to render it.

It's a binary protocol, right? If the browser can't handle it, it's
not something the
appserver can do much about.

Appreciate it's not really a duplicate of the same bug symptoms, but
it appears to be
a side-effect of the port number rejigging. Once the dust settles I
think things will be ok :)

>
> ----- Original Message ----- From: <km_at_dev.java.net>
> To: <survivant_at_dev.java.net>
> Sent: Saturday, August 23, 2008 10:21 AM
> Subject: [Issue 5573] java.io.StreamCorruptedException: invalid stream
> header: 47455420
>
>
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5573
>>
>>
>>
>> User km changed the following:
>>
>> What |Old value |New value
>>
>> ================================================================================
>> Status|UNCONFIRMED |RESOLVED
>>
>> --------------------------------------------------------------------------------
>> Resolution| |DUPLICATE
>>
>> --------------------------------------------------------------------------------
>>
>>
>>
>>
>> ------- Additional comments from km_at_dev.java.net Sat Aug 23 14:21:45 +0000
>> 2008 -------
>> You are not supposed to enter http://host:8888 in browser. It's not meant
>> for
>> that. I am going to close this one as a duplicate of 5590 (it should be
>> the
>> other way, but for now ...)
>>
>> *** This issue has been marked as a duplicate of 5590 ***
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>



-- 
Rasputnik :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/