You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by ji...@apache.org on 2004/04/17 18:33:30 UTC
[jira] Closed: (CACTUS-2) Start/StopServerHelper should read the test URL data fully
Message:
The following issue has been closed.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/CACTUS-2
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CACTUS-2
Summary: Start/StopServerHelper should read the test URL data fully
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Cactus
Components:
Ant Integration
Fix Fors:
1.0
Assignee: Vincent Massol
Reporter: Arun Katkere
Created: Mon, 30 Apr 2001 2:16 PM
Updated: Sat, 17 Apr 2004 9:32 AM
Environment: Operating System: Solaris
Platform: Sun
Description:
Start/StopServerHelper classes connect and disconnect with the server to test
that the server is UP. On certain platforms (e.g., Solaris SPARC 8 JDK 1.3.0),
this causes an exception on the Tomcat side. The exception itself is harmless,
but it is disconcerting to see a stack trace when there is no problem. Sample
stack trace:
[java] 2001-04-30 02:06:37 - ContextManager: SocketException reading request,
ignored - java.net.SocketException: Connection reset by peer
[java] at java.net.PlainSocketImpl.socketAvailable(Native Method)
[java] at java.net.PlainSocketImpl.available(PlainSocketImpl.java:462)
[java] at java.net.SocketInputStream.available(SocketInputStream.java:137)
[java] at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
(HttpConnectionHandler.java:217)
[java] at org.apache.tomcat.service.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:416)
[java] at org.apache.tomcat.util.ThreadPool$ControlRunnable.run
(ThreadPool.java:498)
[java] at java.lang.Thread.run(Thread.java:484)
The solution is to read and discard the contents of the URL is connect()
succeeds. There are two places each in StartServerHelper and StopServerHelper
where connect()/disconnect() is called in sequence with no read.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org