DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16770>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16770

JAMES silently consumes java.lang.Error thrown by Maillet.service()

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From [EMAIL PROTECTED]  2003-02-04 19:24 -------
Ironically, I fixed this defect yesterday and will be checking in code to the 
v2.1 branch that fixes it.

The description of the error is not quite accurate, however.  The problem was 
that JamesSpoolManager.run() did NOT catch the exception.  Nothing else did, 
either, until it got up to Excalibur's WorkerThread, which silently ate the 
exception.  What is necesary is for James to catch the exception, and then do 
whatever is necessary.  For now, I am just logging the exceptions, which will 
show up in the spoolmanager log, as shown:

java.lang.Error
        at org.apache.james.transport.mailets.Error.service(Error.java:27)
        at org.apache.james.transport.LinearProcessor.service
(LinearProcessor.java:362)
        at org.apache.james.transport.JamesSpoolManager.process
(JamesSpoolManager.java:385)
        at org.apache.james.transport.JamesSpoolManager.run
(JamesSpoolManager.java:315)
        at org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute
(ExecutableRunnable.java:47)
        at org.apache.avalon.excalibur.thread.impl.WorkerThread.run
(WorkerThread.java:80)

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

Reply via email to