You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Stephen Goodey <st...@test-direct.net> on 2004/08/18 13:58:09 UTC

James 2.2.0 Server crash

Hi folks,
 
Something weird happened the other day to my Apache James server.  I think I
have tracked the problem down to the following section of the SMTP log.  
 
15/08/04 18:14:57 DEBUG smtpserver: Retrieving a
org.apache.james.smtpserver.SMTPHandler from the pool
15/08/04 18:14:57 DEBUG smtpserver: Getting SMTPHandler from pool.
15/08/04 18:14:57 INFO  smtpserver: Connection from MACHINE.DOMAIN.local
(192.168.102.xxx)
15/08/04 18:14:57 DEBUG smtpserver: Sent: 220 DOMAIN.com SMTP Server (JAMES
SMTP Server 2.2.0) ready Sun, 15 Aug 2004 18:14:57 +0100 (BST)
15/08/04 18:14:57 DEBUG smtpserver: Calling start()
15/08/04 18:14:57 ERROR smtpserver: Socket to MACHINE.DOMAIN.local
(192.168.102.xxx) closed remotely.
java.net.SocketException: Software caused connection abort: recv failed
 at java.net.SocketInputStream.socketRead0(Native Method)
 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.jav
a:98)
 at
org.apache.james.smtpserver.SMTPHandler.readCommandLine(SMTPHandler.java:505
)
 at
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:35
8)
 at
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run
(ServerConnection.java:417)
 at
org.apache.james.util.thread.ExecutableRunnable.execute(ExecutableRunnable.j
ava:55)
 at org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)
15/08/04 18:14:57 DEBUG smtpserver: Calling disposeWatchdog() for inactive
watchdog
15/08/04 18:14:57 DEBUG smtpserver: Returning SMTPHandler to pool.
15/08/04 18:14:57 DEBUG smtpserver: Returning a
org.apache.james.smtpserver.SMTPHandler to the pool
 

I dont recall seeing this error before.  Can anyone explain why it might
have happened.  Moments after this appeared in the log the James Server
failed and Windows failed to restart the Service. Maybe it didn't crash
completely, so Windows didn't register it as "failed", it is setup to
restart it twice under such circumstances.

My James Server has been pretty damn stable since I installed it, recently I
started to monitor the SMTP service with the aid of the MARS tool.
http://www.altara.org/mars.html
Not sure if this is related.  The log extract shows the interaction between
the server and the machine running MARS, which is currently testing its SMTP
service.

Around the time it crashed, the Windows Server was also performing a full
backup, could this be related also?

Either way, James should have coped.  Anyone got any ideas?


Regards

Stephen



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