Hi Prash, Well there are lots of reasons that can happen. What exactly are you trying to do? Post some code (be sure to use the CODE button) and let us try to figure out what the exact problem is. Michael Morris
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Prashanth, This is usually the problem - The Java code which is throwing this exception has previously connected (or, is in the process of getting connected) to an other socket. This other socket could be a server, or a client. (This is the other end, or the peer.) This exception means that the peer has closed the connection. It may be due to many reasons, most of which are related to TCP/IP, more than to Java. As pointed out by M., posting of relevant code may help in isolating the cause of the exception. -GB. [ February 05, 2003: Message edited by: Gopi Balaji ]
Thank you very much for your replies :-) Well, till recently I used to work on j2ee.. that was great fun, because I do all the coding.. but since our back-end is AS/400,.. i was told to do some work using IBM Web-Facing tool, which does the conversion of cobol/RPG code to servlets/jsp/java-bean; and unfortunately I can only see the compiled .class files of the Servlets... So i dunno what exactly is happening.. This tool is basically for people who worked on AS/400 using cobol.. ( i dunno about AS/400, cobol hehe ) In my application, when I post a request, it actually calls the web-facing server, which calls the cobol code... and all... but I get this error: While doing a version handshake with the WebFacing Server the following exception was thrown: java.net.SocketException: Connection reset by peer: socket closed It was then I thought i'll do some research on this... I dunno what to do, how to solve my problem.. thanks anyway, i appreciate...
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop