Giter Site home page Giter Site logo

alfresco-dockerx-builder's Introduction

Welcome to Angel Borroy @ Hyland

About Me

Hi there! I'm Angel Borroy, and I'm passionate about Alfresco, Docker and Open Source. I'm a developer evangelist by day and a coding enthusiast by night. This is my GitHub playground, where I tinker with various projects and share my work with the world.

๐Ÿ”ญ What I'm Currently Working On

๐ŸŒฑ I'm Learning

I'm always eager to learn and explore new technologies and tools. Right now, I'm focusing on:

๐Ÿ’ฌ Get in Touch

Feel free to reach out to me if you have any questions, want to collaborate on a project, or just want to chat!

๐Ÿ“Š GitHub Stats

GitHub Stats

Thank you for visiting my GitHub profile! Don't forget to star โญ๏ธ your favorite repositories and explore my work.

alfresco-dockerx-builder's People

Contributors

aborroy avatar mteodori avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

alfresco-dockerx-builder's Issues

Enterprise Image not working

Noticed behavior

When trying to use Enterprise images, the repository somehow doesn't have the group "Alfresco" or the user "alfresco" anymore, which are normally used when using the official Docker images.

That's why when starting it up, as used to with Dockerfile containing:

RUN chown -R root:Alfresco ${TOMCAT_DIR}/webapps/alfresco ${TOMCAT_DIR}/amps ${TOMCAT_DIR}/lib ${TOMCAT_DIR}/shared/classes && \
    chmod -R u=rwX,g=rX,o= ${TOMCAT_DIR}/webapps/alfresco && \
    chmod -R u=rwX,g=rX,o= ${TOMCAT_DIR}/shared && \
    chmod -R u=rwX,g=rX,o= ${TOMCAT_DIR}/lib && \
    chmod 664 ${TOMCAT_DIR}/amps/*

    USER alfresco

I get multiple permission issues.

Also I noticed, when starting a standalone container with that generated image for enterprise, there are multiple ClassNotFoundExceptions, for example:

java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver```

Add support for custom repository when tagging

In the script att support for a custom repository in the tagging

For example:

REPOSITORY=alfresco
docker buildx build . --load --platform linux/arm64 -t $REPOSITORY/alfresco-content-repository-community:$REPO_COM_VERSION

That way you can replace the REPOSITORY variable and build custom images, and not mix the up with the official ones.

Wrong JRE with 7.4.1.

Hi,

it seems like when using the Builder with 7.4.1 the Share-Enterprise image seems to use CentOs with JRE 11 as a base image.

That's why when using it in a project, we get errors since Repo is on Rocky Linux JRE17 and the code also is compiled to 17.

Alfresco Search Service 1.4.3.4 - Invalid Java version 11.0.16.1

When the ASS image is built for ARM64, it will use Java 11.0.16.1.

If we start the ASS container, we will have the error:

solr6-1     | Invalid Java version 11.0.16.1
solr6-1 exited with code 251

I think that the root of the error is the image below, which you can find in the Dockerfile for a search image:
FROM alfresco/alfresco-base-java:jre11-rockylinux8-202209261621

You provided more information about this bug:

https://hub.alfresco.com/t5/alfresco-content-services-forum/solr-6-5-5-is-not-starting-invalid-java-version-11-0-14-1/td-p/311564

I found issue using the image:

alfresco/alfresco-search-services:1.4.3.4

transform 2.4.0 fails and there's no target to build the "control center"

I was trying to build a 7.2 stack, but when I tried to use the buildx script to build transform 2.4.0 (trying to conform with the supported platforms doc) I got a 404. I tried 2.4, 2.0, and 2.0.0 as well; no joy.

So I decided to spin up a 7.4 stack, but that requires the "control center" which is apparently the new name for the "admin app" and buildx doesn't seem to have a target for that.

I'll see if I can cut/paste the admin app to make a control center target. If I'm successful, I'll submit a PR.

ggrep fails to retrieve correct version information

Hello, after installing all dependencies (ggrep from brew) and running the buildx script ./buildx.sh repo 7.3.0 share 7.3.0 search 2.0.3 aca 3.1.0, I get this error while trying to execute line 49.

error: unknown switch `n'

The output of SHARE_INTERNAL_VERSION is

Line Content 0 .travis.yml:56 - travis_wait 60 mvn -B install -ntp -f tests/tas-restapi/pom.xml -Pall-tas-[...] 1 .travis.yml:64 - travis_wait 60 mvn -B install -ntp -f tests/tas-restapi/pom.xml -Pall-tas-[...] 2 .travis.yml:72 - travis_wait 60 mvn -B install -ntp -f tests/tas-restapi/pom.xml -Pall-tas-[...] 3 .travis.yml:80 - travis_wait 40 mvn -B install -ntp -f tests/tas-cmis/pom.xml -Pall-tas-tes[...] 4 .travis.yml:88 - travis_wait 40 mvn -B install -ntp -f tests/tas-cmis/pom.xml -Pall-tas-tes[...] 5 .travis.yml:96 - travis_wait 40 mvn -B install -ntp -f tests/tas-cmis/pom.xml -Pall-tas-tes[...] 6 .travis.yml:104 - travis_wait 30 mvn -B install -ntp -f tests/tas-email/pom.xml -Pall-tas-te[...] 7 .travis.yml:112 - travis_wait 20 mvn -B install -ntp -f tests/tas-webdav/pom.xml -Pall-tas-t[...] 8 .travis.yml:120 - travis_wait 30 mvn -B install -ntp -f tests/tas-integration/pom.xml -Pall-[...] 9 .travis.yml:126 - travis_wait 20 mvn -B install -ntp -f tests/tas-distribution-zip/pom.xml -[...] 10 dev/README.md:36 pom.xml files of each downstream project so that they reference the SNAPSHOT[...] 11 pom.xml:11 <relativePath>../alfresco-community-repo/pom.xml</relativePath> 12 scripts/dev/dev_functions.sh:11 ed -s pom.xml &>/tmp/$$.log << EOF 13 scripts/dev/dev_functions.sh:38 ed -s pom.xml &>/tmp/$$.log << EOF 14 scripts/dev/linkPoms.sh:98 VERSION=$(readTopLevelTag version pom.xml) 15 scripts/dev/linkPoms.sh:102 echo "\"readTopLevelTagContent version pom.xml\" failed on ${PROJECT}" 16 scripts/dev/linkPoms.sh:118 PROPERTY_VALUE=$(sed -n '/<parent>/,/<\/parent>/p' pom.xml | sed -n "s/.*<ve[...] 17 scripts/dev/linkPoms.sh:122 echo "\"sed -n '/<parent>/,/<\/parent>/p' pom.xml | sed -n \\\"s/.*<version>[...] 18 scripts/dev/linkPoms.sh:140 PROPERTY_VALUE=$(sed -n '/<properties>/,/<\/properties>/p' pom.xml | sed -n [...] 19 scripts/dev/linkPoms.sh:144 echo "\"sed -n '/<properties>/,/<\/properties>/p' pom.xml | sed -n \\\"s/.*<[...] 20 scripts/dev/start-compose.sh:2 export TRANSFORMERS_TAG=$(mvn -f acs-community-packaging/pom.xml help:evalua[...] 21 scripts/travis/build_functions.sh:37 sed -n '/<parent>/,/<\/parent>/p' pom.xml \ 22 scripts/travis/build_functions.sh:56 sed -n '/<properties>/,/<\/properties>/p' pom.xml \ 23 scripts/travis/build_functions.sh:139 mvn -B -ntp -V -q install -DskipTests -f packaging/tests/pom.xml 24 scripts/travis/build_functions.sh:173 mvn -B -ntp -V -q install -DskipTests -f packaging/tests/pom.xml 25 scripts/travis/verify_release_tag.sh:22 ALFRESCO_DOCKER_IMAGE="$(mvn -B -q help:evaluate -f ./docker-alfresco/pom.xm[...] 26 tests/tas-distribution-zip/src/test/java/org/alfresco/distribution/CheckDistributionZipContents.java:129 String parentPom = Paths.get("").toAbsolutePath().getParent().getParent().to[...]

The output of REPO_VERSION is

Line Content 0 .travis.yml:56 - travis_wait 60 mvn -B install -ntp -f tests/tas-restapi/pom.xml -Pall-tas-[...] 1 .travis.yml:64 - travis_wait 60 mvn -B install -ntp -f tests/tas-restapi/pom.xml -Pall-tas-[...] 2 .travis.yml:72 - travis_wait 60 mvn -B install -ntp -f tests/tas-restapi/pom.xml -Pall-tas-[...] 3 .travis.yml:80 - travis_wait 40 mvn -B install -ntp -f tests/tas-cmis/pom.xml -Pall-tas-tes[...] 4 .travis.yml:88 - travis_wait 40 mvn -B install -ntp -f tests/tas-cmis/pom.xml -Pall-tas-tes[...] 5 .travis.yml:96 - travis_wait 40 mvn -B install -ntp -f tests/tas-cmis/pom.xml -Pall-tas-tes[...] 6 .travis.yml:104 - travis_wait 30 mvn -B install -ntp -f tests/tas-email/pom.xml -Pall-tas-te[...] 7 .travis.yml:112 - travis_wait 20 mvn -B install -ntp -f tests/tas-webdav/pom.xml -Pall-tas-t[...] 8 .travis.yml:120 - travis_wait 30 mvn -B install -ntp -f tests/tas-integration/pom.xml -Pall-[...] 9 .travis.yml:126 - travis_wait 20 mvn -B install -ntp -f tests/tas-distribution-zip/pom.xml -[...] 10 dev/README.md:36 pom.xml files of each downstream project so that they reference the SNAPSHOT[...] 11 pom.xml:11 <relativePath>../alfresco-community-repo/pom.xml</relativePath> 12 scripts/dev/dev_functions.sh:11 ed -s pom.xml &>/tmp/$$.log << EOF 13 scripts/dev/dev_functions.sh:38 ed -s pom.xml &>/tmp/$$.log << EOF 14 scripts/dev/linkPoms.sh:98 VERSION=$(readTopLevelTag version pom.xml) 15 scripts/dev/linkPoms.sh:102 echo "\"readTopLevelTagContent version pom.xml\" failed on ${PROJECT}" 16 scripts/dev/linkPoms.sh:118 PROPERTY_VALUE=$(sed -n '/<parent>/,/<\/parent>/p' pom.xml | sed -n "s/.*<ve[...] 17 scripts/dev/linkPoms.sh:122 echo "\"sed -n '/<parent>/,/<\/parent>/p' pom.xml | sed -n \\\"s/.*<version>[...] 18 scripts/dev/linkPoms.sh:140 PROPERTY_VALUE=$(sed -n '/<properties>/,/<\/properties>/p' pom.xml | sed -n [...] 19 scripts/dev/linkPoms.sh:144 echo "\"sed -n '/<properties>/,/<\/properties>/p' pom.xml | sed -n \\\"s/.*<[...] 20 scripts/dev/start-compose.sh:2 export TRANSFORMERS_TAG=$(mvn -f acs-community-packaging/pom.xml help:evalua[...] 21 scripts/travis/build_functions.sh:37 sed -n '/<parent>/,/<\/parent>/p' pom.xml \ 22 scripts/travis/build_functions.sh:56 sed -n '/<properties>/,/<\/properties>/p' pom.xml \ 23 scripts/travis/build_functions.sh:139 mvn -B -ntp -V -q install -DskipTests -f packaging/tests/pom.xml 24 scripts/travis/build_functions.sh:173 mvn -B -ntp -V -q install -DskipTests -f packaging/tests/pom.xml 25 scripts/travis/verify_release_tag.sh:22 ALFRESCO_DOCKER_IMAGE="$(mvn -B -q help:evaluate -f ./docker-alfresco/pom.xm[...] 26 tests/tas-distribution-zip/src/test/java/org/alfresco/distribution/CheckDistributionZipContents.java:129 String parentPom = Paths.get("").toAbsolutePath().getParent().getParent().to[...]

I'm not familiar with ggrep, but I assume these are not the desired version values.

7.3.1 Repository Image not working

When building the Repo Enterprise image for 7.3.1, I get following error, when trying to start:

2023-02-16 13:27:04 16-Feb-2023 12:27:04.699 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/usr/local/tomcat/webapps/api-explorer.war]
2023-02-16 13:27:04 16-Feb-2023 12:27:04.729 SEVERE [main] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/api-explorer]
2023-02-16 13:27:04     java.util.zip.ZipException: zip END header not found
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1469)
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1477)
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1315)
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1277)
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:709)
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:243)
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:172)
2023-02-16 13:27:04             at java.base/java.util.jar.JarFile.<init>(JarFile.java:347)
2023-02-16 13:27:04             at java.base/sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:103)
2023-02-16 13:27:04             at java.base/sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:72)
2023-02-16 13:27:04             at java.base/sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:168)
2023-02-16 13:27:04             at java.base/sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:131)
2023-02-16 13:27:04             at java.base/sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:92)
2023-02-16 13:27:04             at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:128)
2023-02-16 13:27:04             at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:820)
2023-02-16 13:27:04             at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:959)
2023-02-16 13:27:04             at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:182)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:129)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:149)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:139)
2023-02-16 13:27:04             at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:696)
2023-02-16 13:27:04             at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
2023-02-16 13:27:04             at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1024)
2023-02-16 13:27:04             at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1911)
2023-02-16 13:27:04             at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
2023-02-16 13:27:04             at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2023-02-16 13:27:04             at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
2023-02-16 13:27:04             at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
2023-02-16 13:27:04             at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:825)
2023-02-16 13:27:04             at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
2023-02-16 13:27:04             at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618)
2023-02-16 13:27:04             at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
2023-02-16 13:27:04             at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
2023-02-16 13:27:04             at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2023-02-16 13:27:04             at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
2023-02-16 13:27:04             at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
2023-02-16 13:27:04             at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-02-16 13:27:04             at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-02-16 13:27:04             at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-02-16 13:27:04             at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
2023-02-16 13:27:04             at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2023-02-16 13:27:04             at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2023-02-16 13:27:04             at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2023-02-16 13:27:04             at java.base/java.lang.reflect.Method.invoke(Method.java:568)
2023-02-16 13:27:04             at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
2023-02-16 13:27:04             at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)
2023-02-16 13:27:04 16-Feb-2023 12:27:04.747 SEVERE [main] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/usr/local/tomcat/webapps/api-explorer.war]
2023-02-16 13:27:04     java.lang.IllegalStateException: Error starting child
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:729)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:129)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:149)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:139)
2023-02-16 13:27:04             at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:696)
2023-02-16 13:27:04             at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
2023-02-16 13:27:04             at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1024)
2023-02-16 13:27:04             at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1911)
2023-02-16 13:27:04             at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
2023-02-16 13:27:04             at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2023-02-16 13:27:04             at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
2023-02-16 13:27:04             at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
2023-02-16 13:27:04             at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:825)
2023-02-16 13:27:04             at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
2023-02-16 13:27:04             at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618)
2023-02-16 13:27:04             at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
2023-02-16 13:27:04             at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
2023-02-16 13:27:04             at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2023-02-16 13:27:04             at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
2023-02-16 13:27:04             at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
2023-02-16 13:27:04             at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-02-16 13:27:04             at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-02-16 13:27:04             at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-02-16 13:27:04             at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
2023-02-16 13:27:04             at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2023-02-16 13:27:04             at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2023-02-16 13:27:04             at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2023-02-16 13:27:04             at java.base/java.lang.reflect.Method.invoke(Method.java:568)
2023-02-16 13:27:04             at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
2023-02-16 13:27:04             at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)
2023-02-16 13:27:04     Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.WarResourceSet@266374ef]
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
2023-02-16 13:27:04             at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:727)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-02-16 13:27:04             at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4885)
2023-02-16 13:27:04             at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5023)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-02-16 13:27:04             at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
2023-02-16 13:27:04             ... 41 more
2023-02-16 13:27:04     Caused by: java.lang.IllegalArgumentException: java.io.IOException: java.lang.reflect.InvocationTargetException
2023-02-16 13:27:04             at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:143)
2023-02-16 13:27:04             at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
2023-02-16 13:27:04             ... 48 more
2023-02-16 13:27:04     Caused by: java.io.IOException: java.lang.reflect.InvocationTargetException
2023-02-16 13:27:04             at org.apache.tomcat.util.compat.Jre9Compat.jarFileNewInstance(Jre9Compat.java:209)
2023-02-16 13:27:04             at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:226)
2023-02-16 13:27:04             at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:140)
2023-02-16 13:27:04             ... 49 more
2023-02-16 13:27:04     Caused by: java.lang.reflect.InvocationTargetException
2023-02-16 13:27:04             at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2023-02-16 13:27:04             at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
2023-02-16 13:27:04             at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
2023-02-16 13:27:04             at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
2023-02-16 13:27:04             at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
2023-02-16 13:27:04             at org.apache.tomcat.util.compat.Jre9Compat.jarFileNewInstance(Jre9Compat.java:206)
2023-02-16 13:27:04             ... 51 more
2023-02-16 13:27:04     Caused by: java.util.zip.ZipException: zip END header not found
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1469)
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1477)
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1315)
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1277)
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:709)
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:243)
2023-02-16 13:27:04             at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:172)
2023-02-16 13:27:04             at java.base/java.util.jar.JarFile.<init>(JarFile.java:347)

And also:

2023-02-16 13:27:16 2023-02-16 12:27:16,077  ERROR [web.context.ContextLoader] [main] Context initialization failed
2023-02-16 13:27:16 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.CustomEditorConfigurer#0' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'customPropertyEditorRegistrar' while setting bean property 'propertyEditorRegistrars' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customPropertyEditorRegistrar' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'NamespaceService' while setting bean property 'namespaceService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'tenantService' while setting bean property 'tenantService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantService' defined in URL [jar:file:/usr/local/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-repository-18.15.jar!/alfresco/mt/mt-context.xml]: Cannot resolve reference to bean 'tenantAdminDAO' while setting bean property 'tenantAdminDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantAdminDAO' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'repoSqlSessionTemplate' while setting bean property 'sqlSessionTemplate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repoSqlSessionTemplate' defined in class path resource [alfresco/ibatis/ibatis-context.xml]: Cannot resolve reference to bean 'repoSqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repoSqlSessionFactory' defined in class path resource [alfresco/ibatis/ibatis-context.xml]: Cannot resolve reference to bean 'dialectResourceLoader' while setting bean property 'resourceLoader'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectResourceLoader' defined in class path resource [alfresco/ibatis/ibatis-context.xml]: Cannot create inner bean 'org.springframework.beans.factory.config.PropertyPathFactoryBean#568549af' of type [org.springframework.beans.factory.config.PropertyPathFactoryBean] while setting bean property 'dialectClass'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPathFactoryBean#568549af' defined in class path resource [alfresco/ibatis/ibatis-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialect': FactoryBean threw exception on object creation; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (The connection attempt failed.)

With 7.3.0 I didn't have any issue. Probably Tomcat configuration issue, which changed in 7.3.1?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.