You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2023/05/17 19:44:00 UTC

[jira] [Resolved] (TOMEE-4049) Cannot Upgrade BouncyCastle libs due to incompatibility with Geronimo javamail

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

Richard Zowalla resolved TOMEE-4049.
------------------------------------
    Resolution: Auto Closed

Hi there!

We wanted to reach out and let you know that we're currently working on cleaning up open issues in Jira that specifically impact unsupported versions, including 1.7.x, 7.0.x, and 7.1.x.

If you had previously reported this issue on one of these unsupported versions, we kindly ask you to check if the problem still persists and can be reproduced on a supported version such as 8.0.x or 9.0.x. If you find that it is indeed reproducible on a supported version, you're more than welcome to re-open this issue.

Thanks!


> Cannot Upgrade BouncyCastle libs due to incompatibility with Geronimo javamail
> ------------------------------------------------------------------------------
>
>                 Key: TOMEE-4049
>                 URL: https://issues.apache.org/jira/browse/TOMEE-4049
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>            Reporter: Tim Clapp
>            Priority: Major
>         Attachments: Signature.java, pom.xml
>
>
> I'm using BouncyCastle + JavaMail to implement AS2 services.
>  
> I tried to upgrade the BouncyCastle libs to 1.6.* and 1.7.* and in both cases when I create a multi-part body, the signing of the message fails to return a digest.
>  
> I tracked down the problem to the geronimo lib which includes java.mail:
> geronimo-javamail_1.4_mail-1.9.0-alpha-2.jar (used in TomEE 7.1)
> geronimo-javamail_1.6_mail-1.0.1.jar (used in TomEE8)
>  
> If I remove the geronimo library, signing works as expected, but I cannot remove geronimo from TomEE as it will fail to start, so I'm in a bit of a pickle.
>  
> I'm currently running:
>  * TomEE 7.1 
>  * BC 1.54
>  * geronimo-javamail_1.4_mail-1.9.0-alpha-2.jar
>  
> I'm not sure how to get around this  incompatibility and looking for some help.
>  
> I've attached a pom+driver to demonstrate the issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)