Hi Stefano,
> Can you run a "netstat -n" and a "jstack <jamespid>" when it happens, to
> understand what the server is doing and what are the active connections?
here is the netstat output:
*** snip ***
# netstat -nap|grep 10025
tcp 0 0 ::ffff:127.0.0.1:10025 :::* LISTEN
31286/java
tcp 0 0 ::ffff:127.0.0.1:10025 ::ffff:127.0.0.1:53498 TIME_WAIT
-
tcp 0 0 ::ffff:127.0.0.1:10025 ::ffff:127.0.0.1:53496 TIME_WAIT
-
*** snip ***
trying to deliver a mail to JAMES
*** snip ***
# telnet localhost 10025
Trying 127.0.0.1...
Connected to nospamv3.net4you.at.
Escape character is '^]'.
220 nospamv3 SMTP Server (JAMES SMTP Server 2.3.1) ready Tue, 2 Oct 2007
11:10:38 +0200 (CEST)
EHLO localhost
250-nospamv3 Hello localhost (nospamv3.net4you.at [127.0.0.1])
250-PIPELINING
250 ENHANCEDSTATUSCODES
MAIL FROM: <[EMAIL PROTECTED]>
250 2.1.0 Sender <[EMAIL PROTECTED]> OK
RCPT TO: <[EMAIL PROTECTED]>
250 2.1.5 Recipient <[EMAIL PROTECTED]> OK
DATA
354 Ok Send data ending with <CRLF>.<CRLF>
subject: testing 123
.
Connection closed by foreign host.
*** snip ***
accompaning log entry:
*** snip ***
02/10/07 11:11:39 INFO smtpserver: Connection from nospamv3.net4you.at
(127.0.0.1)
02/10/07 11:11:39 ERROR smtpserver: Exception opening socket: null
java.lang.NullPointerException
at java.io.SequenceInputStream.read(SequenceInputStream.java)
at java.io.SequenceInputStream.read(SequenceInputStream.java:152)
at
org.apache.james.core.MimeMessageInputStreamSource.<init>(MimeMessageInputStreamSource.java:78)
at org.apache.james.core.MailImpl.<init>(MailImpl.java:181)
at
org.apache.james.smtpserver.DataCmdHandler.processMail(DataCmdHandler.java:266)
at
org.apache.james.smtpserver.DataCmdHandler.doDATA(DataCmdHandler.java:133)
at
org.apache.james.smtpserver.DataCmdHandler.onCommand(DataCmdHandler.java:81)
at
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:393)
at
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:432)
at
org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
at
org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
*** snip ***
Unfortunately I cannot run jstack, since I'm using IBM JDK. I will now switch to
Sun JDK and report back if i can get a jstack output.
thanks,
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]