loftuxab / alfresco-ubuntu-install

Alfresco script based install for Ubuntu
https://loftux.com/products-and-add-ons/alfresco-utilities
166 stars 122 forks source link

Install troubles #148

Open DavidJMac opened 3 years ago

DavidJMac commented 3 years ago

Excellent tool, kudos to the writers, however i am having a few issues on Mint 19.1

I created a brand new patched Mint VM and everything worked until a reboot, following the reboot i get 404 on 8080\alfresco and incorrect password on 8080\share. So i tried again, exactly the same problem. in the logs i get;

12-Apr-2021 17:50:25.817 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/alfresco]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:731) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:620) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 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] at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2098) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2044) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1989) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1959) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1913) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1156) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:773) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:307) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) ... 10 more

I have tried various JAVA memory options from JAVA_OPTS="-Xms1G -Xmx2G -Xss1024k" to JAVA_OPTS="-Xms1G -Xmx6G -Xss1024k"

I have tried changing the default JRE from export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre to the default java and i get NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED Unrecognized option: -d64

And i have tried setting tomcat to use the same JRE using setenv.sh

Does anyone have any idea what is happening here?