Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

duplicate jars in alfresco.war #33

Open
asmbit opened this issue Oct 18, 2018 · 2 comments
Open

duplicate jars in alfresco.war #33

asmbit opened this issue Oct 18, 2018 · 2 comments

Comments

@asmbit
Copy link

asmbit commented Oct 18, 2018

bcmail-jdk15-1.46.jar
bcmail-jdk15on-1.54.jar
bcpkix-jdk15on-1.54.jar
bcprov-jdk15-1.46.jar
bcprov-jdk15on-1.54.jar

@erny
Copy link

erny commented Feb 23, 2022

This causes an error when tomcat starts:

alfhost_1    | 	Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/alfresco] due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.bouncycastle.asn1.ASN1Boolean->org.bouncycastle.asn1.DERBoolean->org.bouncycastle.asn1.ASN1Boolean]
alfhost_1    | 		at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2072)
alfhost_1    | 		at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2010)
...
alfhost_1    | 23-Feb-2022 08:47:59.910 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/usr/local/tomcat/conf/Catalina/localhost/alfresco.xml]
alfhost_1    | 	java.lang.IllegalStateException: Error starting child
alfhost_1    | 		at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:757)
alfhost_1    | 		at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:727)
...
alfhost_1    | 	Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/alfresco] due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.bouncycastle.asn1.ASN1Boolean->org.bouncycastle.asn1.DERBoolean->org.bouncycastle.asn1.ASN1Boolean]
alfhost_1    | 		at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2072)
alfhost_1    | 		at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2010)

@erny
Copy link

erny commented Feb 23, 2022

Removing bcprov-jdk15-1.46.jar and bcmail-jdk15-1.46.jar fixes this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants