On 06/05/2010 13:54, Caldarale, Charles R wrote: >> From: Prathima Dandapani -X (pdandapa - HCL at Cisco) >> [mailto:pdand...@cisco.com] >> Subject: RE: Stream closed IO Exception when using Tomcat 5.5.28 >> >> Let me know if any other information is required. > > The full stack trace would be a start. > > (And send messages just to the list, not to individuals, and don't cc: anyone > or anything.)
+1 to both of those. This code seems a bit strange, what is it intended to achieve? String line = null; Object object = null; while ((line = dis.readLine()) != null) { ObjectInputStream ois = new ObjectInputStream(dis); object = ois.readObject(); ois.close(); } return object; The DataInputStream.readLine() method is deprecated since Java1.1, seems a bit odd to use that too... p > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
signature.asc
Description: OpenPGP digital signature