You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by se...@james.apache.org on 2004/08/08 01:06:19 UTC

[jira] Created: (JAMES-315) Socket to any_ip.com (xx.xx.xx.xx) closed remotely. java.net.SocketException: Connection reset

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-315

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-315
    Summary: Socket to any_ip.com (xx.xx.xx.xx) closed remotely. java.net.SocketException: Connection reset
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: James
 Components: 
             SMTPServer
   Versions:
             2.2.0

   Assignee: 
   Reporter: DASANCO

    Created: Sat, 7 Aug 2004 4:05 PM
    Updated: Sat, 7 Aug 2004 4:05 PM
Environment: Win2K SunJAVA

Description:
Although James seems to handling this, it looks to me as if it's doing it the hard (by resetting). If this IS what is suppose to happen or a 'by-design' reaction, I apologize for the false flag.

I did remove the ip from the log. It does happen several times a day, from several different sources.

excerpt from smtpserver.log

06/08/04 21:24:14 ERROR smtpserver: Socket to XX-XX-XX-XX-adsl-tpe.dynamic.so-net.net.tw (xx.xx.xx.xx) closed remotely.
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(Unknown Source)
	at java.io.BufferedInputStream.read1(Unknown Source)
	at java.io.BufferedInputStream.read(Unknown Source)
	at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
	at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
	at sun.nio.cs.StreamDecoder.read(Unknown Source)
	at java.io.InputStreamReader.read(Unknown Source)
	at java.io.BufferedReader.fill(Unknown Source)
	at java.io.BufferedReader.read(Unknown Source)
	at org.apache.james.util.CRLFTerminatedReader.readLine(CRLFTerminatedReader.java:98)
	at org.apache.james.smtpserver.SMTPHandler.readCommandLine(SMTPHandler.java:505)
	at org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:358)
	at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:417)
	at org.apache.james.util.thread.ExecutableRunnable.execute(ExecutableRunnable.java:55)
	at org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)


---------------------------------------------------------------------
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-315) Socket to any_ip.com (xx.xx.xx.xx) closed remotely. java.net.SocketException: Connection reset

Posted by se...@james.apache.org.
The following comment has been added to this issue:

     Author: DASANCO
    Created: Mon, 9 Aug 2004 6:25 PM
       Body:
Sorry, apparently no bug at all. If this exception list looks perfectly normal/acceptable to you, then I'm sorry to have waved the flag. We have been running James 2.1.3 for some time and never had an entry in the log like that. Now with 2.2.0 we have several a day. My thoughts were a 'new' entry that 'looked' that ungraceful in it's handling of a seeming normal occurrence, couldn't be good (or safe). But if that handling is acceptable and does not pose a DOS risk (or any other downside) then, .. I guess, .. "never mind"   :P
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAMES-315?page=comments#action_37124

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-315

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-315
    Summary: Socket to any_ip.com (xx.xx.xx.xx) closed remotely. java.net.SocketException: Connection reset
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: James
 Components: 
             SMTPServer
   Versions:
             2.2.0

   Assignee: 
   Reporter: DASANCO

    Created: Sat, 7 Aug 2004 4:05 PM
    Updated: Mon, 9 Aug 2004 6:25 PM
Environment: Win2K SunJAVA

Description:
Although James seems to handling this, it looks to me as if it's doing it the hard (by resetting). If this IS what is suppose to happen or a 'by-design' reaction, I apologize for the false flag.

I did remove the ip from the log. It does happen several times a day, from several different sources.

excerpt from smtpserver.log

06/08/04 21:24:14 ERROR smtpserver: Socket to XX-XX-XX-XX-adsl-tpe.dynamic.so-net.net.tw (xx.xx.xx.xx) closed remotely.
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(Unknown Source)
	at java.io.BufferedInputStream.read1(Unknown Source)
	at java.io.BufferedInputStream.read(Unknown Source)
	at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
	at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
	at sun.nio.cs.StreamDecoder.read(Unknown Source)
	at java.io.InputStreamReader.read(Unknown Source)
	at java.io.BufferedReader.fill(Unknown Source)
	at java.io.BufferedReader.read(Unknown Source)
	at org.apache.james.util.CRLFTerminatedReader.readLine(CRLFTerminatedReader.java:98)
	at org.apache.james.smtpserver.SMTPHandler.readCommandLine(SMTPHandler.java:505)
	at org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:358)
	at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:417)
	at org.apache.james.util.thread.ExecutableRunnable.execute(ExecutableRunnable.java:55)
	at org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)


---------------------------------------------------------------------
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JAMES-315) Socket to any_ip.com (xx.xx.xx.xx) closed remotely. java.net.SocketException: Connection reset

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-315?page=all ]
     
Stefano Bagnara resolved JAMES-315:
-----------------------------------

    Resolution: Invalid

This seems the standard/good behaviour when a connection is closed unexpectedly.

> Socket to any_ip.com (xx.xx.xx.xx) closed remotely. java.net.SocketException: Connection reset
> ----------------------------------------------------------------------------------------------
>
>          Key: JAMES-315
>          URL: http://issues.apache.org/jira/browse/JAMES-315
>      Project: James
>         Type: Bug
>   Components: SMTPServer
>     Versions: 2.2.0
>  Environment: Win2K SunJAVA
>     Reporter: DASANCO
>     Priority: Minor

>
> Although James seems to handling this, it looks to me as if it's doing it the hard (by resetting). If this IS what is suppose to happen or a 'by-design' reaction, I apologize for the false flag.
> I did remove the ip from the log. It does happen several times a day, from several different sources.
> excerpt from smtpserver.log
> 06/08/04 21:24:14 ERROR smtpserver: Socket to XX-XX-XX-XX-adsl-tpe.dynamic.so-net.net.tw (xx.xx.xx.xx) closed remotely.
> java.net.SocketException: Connection reset
> 	at java.net.SocketInputStream.read(Unknown Source)
> 	at java.io.BufferedInputStream.read1(Unknown Source)
> 	at java.io.BufferedInputStream.read(Unknown Source)
> 	at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
> 	at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
> 	at sun.nio.cs.StreamDecoder.read(Unknown Source)
> 	at java.io.InputStreamReader.read(Unknown Source)
> 	at java.io.BufferedReader.fill(Unknown Source)
> 	at java.io.BufferedReader.read(Unknown Source)
> 	at org.apache.james.util.CRLFTerminatedReader.readLine(CRLFTerminatedReader.java:98)
> 	at org.apache.james.smtpserver.SMTPHandler.readCommandLine(SMTPHandler.java:505)
> 	at org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:358)
> 	at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:417)
> 	at org.apache.james.util.thread.ExecutableRunnable.execute(ExecutableRunnable.java:55)
> 	at org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-315) Socket to any_ip.com (xx.xx.xx.xx) closed remotely. java.net.SocketException: Connection reset

Posted by se...@james.apache.org.
The following comment has been added to this issue:

     Author: Noel J. Bergman
    Created: Sun, 8 Aug 2004 5:38 PM
       Body:
What is the bug that you are reporting?  The exception is generated by the Java runtime when the other side of the connection drops the socket.  The closest JAMES code to the exception is reading from a BufferedReader.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAMES-315?page=comments#action_37109

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-315

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-315
    Summary: Socket to any_ip.com (xx.xx.xx.xx) closed remotely. java.net.SocketException: Connection reset
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: James
 Components: 
             SMTPServer
   Versions:
             2.2.0

   Assignee: 
   Reporter: DASANCO

    Created: Sat, 7 Aug 2004 4:05 PM
    Updated: Sun, 8 Aug 2004 5:38 PM
Environment: Win2K SunJAVA

Description:
Although James seems to handling this, it looks to me as if it's doing it the hard (by resetting). If this IS what is suppose to happen or a 'by-design' reaction, I apologize for the false flag.

I did remove the ip from the log. It does happen several times a day, from several different sources.

excerpt from smtpserver.log

06/08/04 21:24:14 ERROR smtpserver: Socket to XX-XX-XX-XX-adsl-tpe.dynamic.so-net.net.tw (xx.xx.xx.xx) closed remotely.
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(Unknown Source)
	at java.io.BufferedInputStream.read1(Unknown Source)
	at java.io.BufferedInputStream.read(Unknown Source)
	at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
	at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
	at sun.nio.cs.StreamDecoder.read(Unknown Source)
	at java.io.InputStreamReader.read(Unknown Source)
	at java.io.BufferedReader.fill(Unknown Source)
	at java.io.BufferedReader.read(Unknown Source)
	at org.apache.james.util.CRLFTerminatedReader.readLine(CRLFTerminatedReader.java:98)
	at org.apache.james.smtpserver.SMTPHandler.readCommandLine(SMTPHandler.java:505)
	at org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:358)
	at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:417)
	at org.apache.james.util.thread.ExecutableRunnable.execute(ExecutableRunnable.java:55)
	at org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)


---------------------------------------------------------------------
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org