aspose file tools
The moose likes I/O and Streams and the fly likes stream corrupted exception in Object streams Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Reply Bookmark "stream corrupted exception in Object streams" Watch "stream corrupted exception in Object streams" New topic
Author

stream corrupted exception in Object streams

satyendra adhikari
Ranch Hand

Joined: Aug 17, 2001
Posts: 51
Hello! one of our applications was running good in developement enviroment (apache/tomcat) but when we put it over internet it started showing stream corrupted exception at places where we were using ObjectInput/OutputStream.It involved
use of URLConnection in applet/servlet communication..and we were trying to read /write String/Hashtable/Vector. can someone please explain what actually is happening here.For the time
beeing we changed all sreams with byte streams and it is working fine.
Thank you for your time and help
regards
Rajasekaran Anand
Greenhorn

Joined: Sep 13, 2001
Posts: 23
Hi,
You have said that u got StreamCorruptedException
while using stream classes.Actually this is a
generalized exception occurs along with (type code) which u can see in the exception.There are many type codes.According to the type code
only we can find out what is the problem not
alone with the exception.Just e-mail the
type code so that it is possible to find the
exception.
Anand
 
 
subject: stream corrupted exception in Object streams
 
Threads others viewed
multithreading problem.....urgent
java.rmi.UnmarshalException: error unmarshalling arguments
Thread Concept
topics to pass SCJA
Efficient way to download an image
Two Laptop Bag