There are connection timeouts defined in the config file for the smtpserver.
I think the default is 6 minutes, and if receiving an email takes more 
than 6 minutes
a timeout occurs. Problem is known, and maybe already fixed in cvs.
But you can simply increased this connection timeout for now, to solve 
the problem.


Bye,

Stephan Schiessling


Shal Jain wrote:

>HELP
>
>James ver. 2.01
>Somebody(external party) sent a 20Mb email yesterday.  Since then JAMES is
>stuck throwing the errors listed below
>Even after I shutdown and restart James, this error persists Any ideas how I
>get around it.
>the var/spool , var/pending , var/outgoing folders are empty.
>
>
>Fri Jan 11 10:40:19 CST 2002 [INFO   ] (smtpserver): SMTPServer init...
>Fri Jan 11 10:40:19 CST 2002 [INFO   ] (smtpserver): SMTPServer ...init end
>Fri Jan 11 10:42:08 CST 2002 [INFO   ] (smtpserver): Hello Name is: MY MAIL
>SERVER
>Fri Jan 11 10:42:08 CST 2002 [DEBUG  ] (smtpserver): Max message size is: 0
>Fri Jan 11 10:42:08 CST 2002 [INFO   ] (smtpserver): Connection from
>gw.myhost.com (10.0.0.222)
>Fri Jan 11 10:42:08 CST 2002 [INFO   ] (smtpserver): Command received: EHLO
>gw1.clienthost.com
>Fri Jan 11 10:42:08 CST 2002 [INFO   ] (smtpserver): Command received: MAIL
>From:<[EMAIL PROTECTED]>
>Fri Jan 11 10:42:08 CST 2002 [INFO   ] (smtpserver): Command received: RCPT
>To:<[EMAIL PROTECTED]>
>Fri Jan 11 10:42:09 CST 2002 [INFO   ] (smtpserver): Command received: DATA
>Fri Jan 11 10:48:08 CST 2002 [ERROR  ] (smtpserver): Connection timeout on
>socket
>Fri Jan 11 10:48:09 CST 2002 [DEBUG  ] (smtpserver): Exception opening
>socket: null
>java.lang.reflect.UndeclaredThrowableException:
>java.lang.reflect.InvocationTargetException: javax.mail.MessagingException:
>Exception spooling message: Exception caught while storing Message
>Container: java.net.SocketException: JVM_recv in socket input stream read
>(code=10004)
> at org.apache.james.James.sendMail(James.java:319)
> at java.lang.reflect.Method.invoke(Native Method)
> at
>org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invo
>ke(BlockInvocationHandler.java:88)
> at $Proxy9.sendMail(Unknown Source)
> at org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:564)
> at
>org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:243)
> at
>org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:16
>0)
>
>
>I need to get JAMES running now.
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to