[nbusers] Software caused connection abort: recv failed

  • From: "FIREDANCEXS" < >
  • To:
  • Subject: [nbusers] Software caused connection abort: recv failed
  • Date: Tue, 28 Feb 2012 00:45:24 +0000

Hello everyone,

I have a problem using Netbeans where I keep on getting the following error. 
It happens after I have been using many pages on the site I am making using 
Tomcat and a MS SQL database. FYI alot of pages are referring to java classes 
through the <% ..%> syntax.

Error:

>  The start() method was called on component 
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Account]]
>  after start() had already been called. The second call will be ignored.
> NotifyUtil::java.net.SocketException: Software caused connection abort: 
> recv failed
>       at java.net.SocketInputStream.socketRead0(Native Method)
>       at java.net.SocketInputStream.read(SocketInputStream.java:129)
>       at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>       at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
>       at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
>       at java.io.FilterInputStream.read(FilterInputStream.java:116)
>       at 
> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2676)
>       at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
>       at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
>       at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
>       at java.io.InputStreamReader.read(InputStreamReader.java:167)
>       at java.io.BufferedReader.fill(BufferedReader.java:136)
>       at java.io.BufferedReader.readLine(BufferedReader.java:299)
>       at java.io.BufferedReader.readLine(BufferedReader.java:362)
>       at 
> org.netbeans.modules.web.monitor.server.NotifyUtil$RecordSender.run(NotifyUtil.java:299)



Can anyone please explain how I can stop it crashing?
All I am using is a datasource in my java classes like below:


Code:
InitialContext ic = new InitialContext();
            DataSource datasource = (DataSource) 
ic.lookup("java:comp/env/jdbc/TestDB");
            conn = datasource.getConnection();


> 


I am using tomcat 7.0.11.0 through netbeans and as mentioned, just a simple 
JSP/SQL system. I dont know what to do to stop it crashing and I need to fix 
it asap!!  [Crying or Very sad]






[nbusers] Software caused connection abort: recv failed

FIREDANCEXS 02/28/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close