[jira] [Commented] (OFBIZ-7155) Remove jce-jdk13-154.jar

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-7155) Remove jce-jdk13-154.jar

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-7155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15344225#comment-15344225 ]

Nicolas Malin commented on OFBIZ-7155:
--------------------------------------

I loaded this library needed by tika to analyse on test case the screen engine result on page rendering by view type screenfop.

If jce-jdk13-154.jar is problematic when can disable this test and remove it

> Remove jce-jdk13-154.jar
> ------------------------
>
>                 Key: OFBIZ-7155
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7155
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk, Release Branch 15.12
>            Reporter: Christian Geisert
>            Assignee: Christian Geisert
>             Fix For: Upcoming Branch, 15.12.01
>
>
> After updating our project to the latest release15.12 branch we got the following error when accessing OFBiz pages:
> {code}
> 2016-06-01 14:37:14,040 |http-nio-8443-exec-2 |NioEndpoint                   |E|
> java.lang.RuntimeException: Could not generate DH keypair
>     at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1429) ~[?:1.8.0_77]
>     ...
> Caused by: java.security.InvalidAlgorithmParameterException: parameter object not a ECParameterSpec
>     at org.bouncycastle.jcajce.provider.asymmetric.ec.KeyPairGeneratorSpi$EC.initialize(Unknown Source) ~[jce-jdk13-154.jar:1.54.0]
>     ...
> {code}
> It turned out that jce-jdk13-154.jar was the culprit. After removing this Jar everything worked as expected. As this jar is an optional dependency of PDFBox (which is used by Tika) and is only need for Java < 1.7 I propose to remove it from OFBiz.
> I'll wait a few days and if there are no objections I'll remove the jar



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)