Questions tagged [connection-close]

37 questions
0
votes
0 answers

AWS PutObject Connection reset

My AWS Java Client is throwing javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Connection reset at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1541) ~[na:1.8.0_60] …
Tim
  • 435
  • 1
  • 4
  • 12
0
votes
1 answer

Simulating maxIdleTime in Jetty 6

I'm starting an embedded Jetty Server and using SelectChannelConnector for this. For legacy reasons I have to use Jetty 6. I'm unable to correctly simulate a connection close from the Server's end. On setting the connector.setMaxIdleTime to a very…
RD.
  • 300
  • 4
  • 12
0
votes
4 answers

java.sql.SQLRecoverableException: Closed Connection; State=08003; ErrorCode=17008

I am getting the below error while inserting some rows in oracle database table by using loops java my loop will go nearly 25000 times: java.sql.SQLRecoverableException: Closed Connection; State=08003; ErrorCode=1700 8 at…
TMKS
  • 121
  • 1
  • 3
  • 14
0
votes
1 answer

The connection was not closed error for Visual Studio load test

In my page consists of a repeater and bind some data using store procedure from SQL Server 2008. rptTour.DataSource = GetData(); rptTour.DataBind(); Data binding GetData() SqlCommand cmdSelectAllMatch = new SqlCommand("sp_sel_Tour", Global.conn); …
My2ndLovE
  • 397
  • 4
  • 18
0
votes
2 answers

return execute reader result with close connection command behavior, order of excecution

It's a very simple question..I want to know based on the code below..Is the connection closed and then return estatement will be executed or the return estatement will be executed without closing the connection?..because I set the CommandBehavior to…
Paridokht
  • 1,374
  • 6
  • 20
  • 45
-2
votes
1 answer

WCF + "The underlying connection was closed: The connection was closed unexpectedly."

It's been a nightmare learning and getting a working WCF to transfer "web crawling" data. First it was GoDaddy's server creating a non-traceable error that closed my WCF connection every 15 seconds on the dot after the first connection/call,…
Jim Broker
  • 39
  • 7
-3
votes
1 answer

Closing a null sql connection

I have a question about closing an opened connection to a database in C#. Let's say we abandon the "using" method and use a try/catch/finally block to open and close the connection. try { connection = new SqlConnection(); …
1 2
3