You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Didier McGillis <co...@hotmail.com> on 2005/01/28 21:08:29 UTC

reading encoded JPEG Stream

StandardWrapperValve[view]: Servlet.service() for servlet view threw 
exception
javax.servlet.ServletException: java.io.IOException: reading encoded JPEG 
Stream


arrrrrgggggggggggg not sure if this is a problem but I get a ton of these.  
this is in an old part of the application that I didnt write and the other 
developer has no idea either.

any have any idea on what could be the issue here.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


[OT] Re: reading encoded JPEG Stream

Posted by Dakota Jack <da...@gmail.com>.
>From the code you sent me privately, I suspect that the problem is
that you are using Java code which does not encode JPEGs to do so,
viz. ImageIO, although I don't know if the licensing on that has yet
led to a change..  To make sure what is happening, I would have to see
more of your ImageViewer servlet which is named
com.dynamic.servlet.ImageViewer.  The problem seems to be on line 304
in sendJpeg(...).

I don't know if this is your code or not.  Let me know.  At any rate,
I have changed the subject to OT as I am reasonably sure that this is
not a Tomcat issue.

Jack


-- 
------------------------------

"You can lead a horse to water but you cannot make it float on its back."

~Dakota Jack~

"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be
crows.  We are poor . . . but we are free."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

-----------------------------------------------

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation."

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: reading encoded JPEG Stream

Posted by Dakota Jack <da...@gmail.com>.
This is in the archives on this:
http://marc.theaimsgroup.com/?l=tomcat-user&m=100348895830765&w=2

Jack


On Fri, 28 Jan 2005 20:08:29 +0000, Didier McGillis
<co...@hotmail.com> wrote:
> 
> StandardWrapperValve[view]: Servlet.service() for servlet view threw
> exception
> javax.servlet.ServletException: java.io.IOException: reading encoded JPEG
> Stream
> 
> arrrrrgggggggggggg not sure if this is a problem but I get a ton of these.
> this is in an old part of the application that I didnt write and the other
> developer has no idea either.
> 
> any have any idea on what could be the issue here.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


-- 
------------------------------

"You can lead a horse to water but you cannot make it float on its back."

~Dakota Jack~

"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be
crows.  We are poor . . . but we are free."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

-----------------------------------------------

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation."

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org