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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to