🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17719

Sockets Problems... someones can help me in that way?

#17719
From: Guy Bordeleau
Date: Mon, 05 Oct 1998 00:00
35 lines
1937 bytes
Hi,

I use a Servlet to make a safe connection to an Interbase Database. This
servant also answer an Applet to Http request using the outputStream of an
HttpServletRequest. I also use Jdbc drivers to make the connection...
Everything are working well except when the Servlet is in idle mode, waiting
for a request from the applet:

This is the exception I got when the Servlet terminate to send the data to
the Applet:

Java.net.SocketException: Connection reset by peer: JVM_recv in socket input
steam read
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:88)
        at sun.servlet.http.HttpInputStream.fill(HttpInputStream.java:346)
        at sun.servlet.http.HttpInputStream.readLine(Compiled Code)
        at sun.servlet.http.HttpRequestLine.readLine(Compiled Code)
        at sun.servlet.http.HttpRequestLine.parse(HttpRequestLine.java:148)
        at sun.servlet.http.HttpRequest.next(Compiled Code)
        at sun.servlet.http.HttpRequest.next(Compiled Code)
        at sun.servlet.http.HttpServerHandler.handleConnection(Compiled
Code)
        at sun.servlet.http.HttpServerHandler.run(Compiled Code)
        at java.lang.Thread.run(Thread.java:475)

I don't know what is a "JMV_recv", so I'm presently in the "mud" with that
king of error!...

Someone can help me?

thanks!

Guy Bordeleau
gbordeleau@isotechnologie.com
Technical Details
Message-ID: <6vb2hj$gh133@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,ad9f8f49dcc4fc7,start
X-Google-Attributes: gidf74b3,public
From: "Guy Bordeleau" <gbordeleau@isotechnologie.com>
Subject: Sockets Problems... someones can help me in that way?
Date: 1998/10/05
Message-ID: <6vb2hj$gh133@forums.borland.com>
X-Deja-AN: 397989350
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: borland.public.jbuilder.java.language