Hi

from org.apache.james.smtpserver.SMTPHandler.java

            // Initially greet the connector
            // Format is:  Sat,  24 Jan 1998 13:16:09 -0500

            timeServer.setAlarm(this.toString(), this,
conf.getConfiguration("connectiontimeout", "120000").getValueAsLong());
            out.println("220 " + this.servername + " SMTP Server (" +
softwaretype + ") ready " + RFC822DateFormat.toString(new Date()));

            while  (parseCommand(in.readLine())) {
                timeServer.resetAlarm(this.toString());
            }
            socket.close();
            timeServer.removeAlarm("RemoteManager");

it seem that the alarm is never removed because it referenced as
"RemoteManager" in the remove it should be changed to:
            timeServer.removeAlarm(this.toString());

I think the same problem is repeated in the pop3 handler

Regards,

Muly.



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/>
Problems?:           [EMAIL PROTECTED]

Reply via email to