james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Aldrich (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JDKIM-25) jdkim throwing illegal state exceptions while shutting down
Date Mon, 20 Sep 2010 21:15:37 GMT

     [ https://issues.apache.org/jira/browse/JDKIM-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ben Aldrich closed JDKIM-25.
----------------------------

    Resolution: Invalid

Looks like the issue was actually with the version of mime4j I was using. 



> jdkim throwing illegal state exceptions while shutting down
> -----------------------------------------------------------
>
>                 Key: JDKIM-25
>                 URL: https://issues.apache.org/jira/browse/JDKIM-25
>             Project: JAMES jDKIM
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: java version "1.6.0_18" ubuntu 10.04
>            Reporter: Ben Aldrich
>
> When processing a large mailbox I am now getting this exception with the latest version
of jdkim:
> java.lang.IllegalStateException: Shutdown in progress
>         at java.io.DeleteOnExitHook.add(DeleteOnExitHook.java:52)
>         at java.io.File.deleteOnExit(File.java:956)
>         at org.apache.james.mime4j.storage.TempFileStorageProvider.createStorageOutputStream(TempFileStorageProvider.java:105)
>         at org.apache.james.mime4j.storage.ThresholdStorageProvider$ThresholdStorageOutputStream.write0(ThresholdStorageProvider.java:113)
>         at org.apache.james.mime4j.storage.StorageOutputStream.write(StorageOutputStream.java:119)
>         at org.apache.james.mime4j.codec.CodecUtil.copy(CodecUtil.java:43)
>         at org.apache.james.mime4j.storage.AbstractStorageProvider.store(AbstractStorageProvider.java:57)
>         at org.apache.james.mime4j.message.BodyFactory.textBody(BodyFactory.java:171)
>         at org.apache.james.mime4j.message.EntityBuilder.body(EntityBuilder.java:162)
>         at org.apache.james.mime4j.parser.MimeStreamParser.parse(MimeStreamParser.java:136)
>         at org.apache.james.mime4j.message.MessageImpl.<init>(MessageImpl.java:194)
>         at org.apache.james.mime4j.message.MessageBuilderImpl.parse(MessageBuilderImpl.java:42)
>         at org.apache.james.jdkim.impl.Message.<init>(Message.java:58)
>         at org.apache.james.jdkim.DKIMVerifier.verify(DKIMVerifier.java:215)
>         at com.returnpath.mars.util.MessageVerify.checkDkim(MessageVerify.java:249)
>         at com.returnpath.mars.util.MessageVerify.run(MessageVerify.java:97)
>         at java.lang.Thread.run(Thread.java:636)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message