Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat 5, IIS 6, and SSL

Status
Not open for further replies.

tdion

MIS
Dec 18, 2003
61
US
We have two websites on one Windows 2000 Server box.

Both of them are SSL.

One is ASP oriented and the other is JSP.

The JSPs are being redirected to Tomcat with the ISAPI_redirector2 file.

When too much traffic is on the JSP site, there is the error

java.net.SocketException: Software caused connection abort: recv failed

That appears on the Tomcat window. Does anyone have any insight?

PS) Is IIS handling the SSL connection and then sending the redirected request for JSPs as a non-SSL request?
 
>>>> java.net.SocketException: Software caused connection abort: recv failed

Its not an answer, but its an "insight" ...

This message "recv failed" is actually being sent by the base OS dll or so library (depending on your OS). When java makes a TCP/IP or UDP call, it shells out to the C/C++ on the OS via something called JNI, and basically interfaces with OS dependant machine code. In unix/linux, this is generally via the berkeley socket paradigm, in win32, it is via WSA/winsock32.

Anyway, basically, Java is reporting a failure at the machine code OS level when calling a TCP/UDP socket for data, and saying that the recv (receive) of sata failed.

This is usually because the socket is closed , disconnected, IO is shutdown, or someother netwrok failure.



--------------------------------------------------
Free Database Connection Pooling Software
 
The stacktrace on Tomcat for this error doesn't show anything useful.

Is there any way to pinpoint exactly what Java was attempting to use the Winsock32 .dll for?

If I knew what Java was attempting to do when it made that call to the OS, I might be able to come up with a workaround.

help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top