Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build for zimbra 8 #6

Open
tuxcrafter opened this issue Sep 28, 2022 · 5 comments
Open

how to build for zimbra 8 #6

tuxcrafter opened this issue Sep 28, 2022 · 5 comments

Comments

@tuxcrafter
Copy link

tuxcrafter commented Sep 28, 2022

Wen trying to compile zm-sso I on a zimbra centos 8 server I get a javac error

tried both:

yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel maven ant git
yum -y install java-11-openjdk java-11-openjdk-devel maven ant git

generate-buildinfo:
    [mkdir] Created dir: /root/projects/zimbra/zm-sso/build/buildinfo/com/iwayvietnam/buildinfo
    [javac] Compiling 1 source file to /root/projects/zimbra/zm-sso/build
    [javac] javac: invalid target release: 11
    [javac] Usage: javac <options> <source files>
    [javac] use -help for a list of possible options

BUILD FAILED
/root/projects/zimbra/zm-sso/build.xml:212: Compile failed; see the compiler error output for details.

# javac -version
javac 1.8.0_322

Release 8.8.15_GA_3953.RHEL8_64_20200629025823 RHEL8_64 FOSS edition, Patch 8.8.15_P33.

I first build zm-sso-1.0.0-1.jar on debian bullseye with no issues and copied the zm-sso-1.0.0-1.jar and files in the dependencies but then after zmmailboxdctl restart I got loads of java erros and it shows a network error when trying to login, if i remove the zm-sso-1.0.0-1.jar it started working again.

Please see my comment bellow:

@tuxcrafter
Copy link
Author

[root@zimbra02 zm-sso]# /opt/zimbra/common/lib/jvm/java/bin/java -version
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)

@tuxcrafter
Copy link
Author

any idea why my compiled jar is causing

zm-sso-1.0.0-1.zip


2022-09-28 23:23:49,790 INFO  [main] [] misc - ZimbraInvalidLoginFilter initialized
2022-09-28 23:23:49,799 INFO  [main] [] misc - Initialized with /service:max=80%, /zimbra:max=15%, /zimbraAdmin:max=5%
2022-09-28 23:23:49,799 INFO  [main] [] misc - Thread pool was configured to max=500
2022-09-28 23:23:49,808 INFO  [main] [] misc - CSRF filter was initialized: CSRFAllowedRefHost: [keycloak.bothends.org]
2022-09-28 23:23:49,856 INFO  [main] [] soap - Servlet SoapServlet starting up
2022-09-28 23:23:49,858 INFO  [main] [] soap - Adding service AccountService to SoapServlet
2022-09-28 23:23:49,865 INFO  [main] [] soap - Adding service MailService to SoapServlet
2022-09-28 23:23:49,893 INFO  [main] [] misc - version=8.8.15_GA_4372 release=20220726082327 builddate=20220726-0905 buildhost=zre-rhel8-64.eng.zimbra.com
2022-09-28 23:23:49,894 INFO  [main] [] misc - LANG environment is set to: C.UTF-8
2022-09-28 23:23:49,894 INFO  [main] [] misc - System property java.home=/opt/zimbra/common/lib/jvm/openjdk-17.0.2-zimbra
2022-09-28 23:23:49,894 INFO  [main] [] misc - System property java.runtime.version=17.0.2+8-86
2022-09-28 23:23:49,894 INFO  [main] [] misc - System property java.version=17.0.2
2022-09-28 23:23:49,894 INFO  [main] [] misc - System property java.vm.info=mixed mode, sharing
2022-09-28 23:23:49,894 INFO  [main] [] misc - System property java.vm.name=OpenJDK 64-Bit Server VM
2022-09-28 23:23:49,894 INFO  [main] [] misc - System property java.vm.version=17.0.2+8-86
2022-09-28 23:23:49,894 INFO  [main] [] misc - System property os.arch=amd64
2022-09-28 23:23:49,894 INFO  [main] [] misc - System property os.name=Linux
2022-09-28 23:23:49,894 INFO  [main] [] misc - System property os.version=4.18.0-408.el8.x86_64
2022-09-28 23:23:49,895 INFO  [main] [] misc - System property sun.arch.data.model=64
2022-09-28 23:23:49,895 INFO  [main] [] misc - System property sun.cpu.endian=little
2022-09-28 23:23:49,895 INFO  [main] [] misc - System property sun.cpu.isalist=null
2022-09-28 23:23:49,895 INFO  [main] [] misc - System property sun.os.patch.level=null
2022-09-28 23:23:49,905 INFO  [main] [] system - Setting mysql connector property: maxActive=100
2022-09-28 23:23:49,905 INFO  [main] [] system - Setting mysql connector property: maxActive=100
2022-09-28 23:23:49,977 INFO  [main] [] sqltrace - Setting slow SQL threshold to 2000ms.
2022-09-28 23:23:50,357 INFO  [main] [] ZimbraHttpConnectionManager - Starting http client idle connection reaper thread for Internal http client connection manager - reaper sleep interval=300000, reaper connection timeout=300000
2022-09-28 23:23:50,357 INFO  [main] [] ZimbraHttpConnectionManager - Starting http client idle connection reaper thread for External http client connection manager - reaper sleep interval=300000, reaper connection timeout=300000
2022-09-28 23:23:50,360 WARN  [main] [] ephemeral - Replacing ephemeral factory class 'com.zimbra.cs.ephemeral.LdapEphemeralStore$Factory' registered for 'ldap' with 'com.zimbra.cs.ephemeral.LdapEphemeralStore$Factory'
2022-09-28 23:23:50,361 INFO  [main] [] extensions - Loading extensions from /opt/zimbra/lib/ext
2022-09-28 23:23:50,362 INFO  [main] [] extensions - extension com.zimbra.cert.ZimbraCertMgrExt found in /opt/zimbra/lib/ext/com_zimbra_cert_manager/com_zimbra_cert_manager.jar
2022-09-28 23:23:50,363 INFO  [main] [] extensions - extension com.zimbra.bp.ZimbraBulkProvisionExt found in /opt/zimbra/lib/ext/com_zimbra_bulkprovision/com_zimbra_bulkprovision.jar
2022-09-28 23:23:50,363 INFO  [main] [] extensions - extension com.zimbra.clam.ClamScannerExt found in /opt/zimbra/lib/ext/clamscanner/clamscanner.jar
2022-09-28 23:23:50,363 INFO  [main] [] extensions - extension com.iwayvietnam.zmsso.ZmSsoExtension found in /opt/zimbra/lib/ext/zm-sso/zm-sso-1.0.0-1.jar
2022-09-28 23:23:50,364 WARN  [main] [] extensions - no Zimbra-Extension-Class found, ignored: /opt/zimbra/lib/ext/openidconsumer
2022-09-28 23:23:50,364 INFO  [main] [] extensions - extension com.zimbra.ldaputils.ZimbraLDAPUtilsExtension found in /opt/zimbra/lib/ext/zimbraldaputils/zimbraldaputils.jar
2022-09-28 23:23:50,364 WARN  [main] [] extensions - no Zimbra-Extension-Class found, ignored: /opt/zimbra/lib/ext/zimbra-license
2022-09-28 23:23:50,365 WARN  [main] [] extensions - no Zimbra-Extension-Class found, ignored: /opt/zimbra/lib/ext/zimbra-freebusy
2022-09-28 23:23:50,365 INFO  [main] [] extensions - extension com.zimbra.clientuploader.ZClientUploaderExt found in /opt/zimbra/lib/ext/com_zimbra_clientuploader/com_zimbra_clientuploader.jar
2022-09-28 23:23:50,365 INFO  [main] [] extensions - extension com.zimbra.oauth.resources.OAuth2Extension found in /opt/zimbra/lib/ext/zm-oauth-social/zmoauthsocial.jar
2022-09-28 23:23:50,366 INFO  [main] [] extensions - extension com.zimbra.cs.versioncheck.VersionCheckExtension found in /opt/zimbra/lib/ext/zimbraadminversioncheck/zimbraadminversioncheck.jar
2022-09-28 23:23:50,366 INFO  [main] [] extensions - extension com.zimbra.ssdb.SSDBEphemeralStoreExtension found in /opt/zimbra/lib/ext/com_zimbra_ssdb_ephemeral_store/zm-ssdb-ephemeral-store-8.8.15.1650887639.jar
2022-09-28 23:23:50,367 WARN  [main] [] extensions - no Zimbra-Extension-Class found, ignored: /opt/zimbra/lib/ext/mitel
2022-09-28 23:23:50,367 WARN  [main] [] extensions - no Zimbra-Extension-Class found, ignored: /opt/zimbra/lib/ext/twofactorauth
2022-09-28 23:23:50,367 INFO  [main] [] extensions - extension com.zimbra.graphql.resources.GQLExtension found in /opt/zimbra/lib/ext/zm-gql/zmgql.jar
2022-09-28 23:23:50,367 INFO  [main] [] extensions - extension com.zimbra.cs.nginx.NginxLookupExtension found in /opt/zimbra/lib/ext/nginx-lookup/nginx-lookup.jar
2022-09-28 23:23:50,368 INFO  [main] [] extensions - Initializing extensions
2022-09-28 23:23:50,375 INFO  [main] [] extensions - registered handler at /com_zimbra_cert_manager/downloadcsr
2022-09-28 23:23:50,376 INFO  [main] [] extensions - Initialized extension com_zimbra_cert_manager: com.zimbra.cert.ZimbraCertMgrExt@com.zimbra.cs.extension.ZimbraExtensionClassLoader@14af57c3
2022-09-28 23:23:50,379 INFO  [main] [] extensions - Handler at /com_zimbra_bulkprovision/bulkdownload starting up
2022-09-28 23:23:50,379 INFO  [main] [] extensions - registered handler at /com_zimbra_bulkprovision/bulkdownload
2022-09-28 23:23:50,380 INFO  [main] [] extensions - Handler at /com_zimbra_bulkprovision/search_results_download starting up
2022-09-28 23:23:50,380 INFO  [main] [] extensions - registered handler at /com_zimbra_bulkprovision/search_results_download
2022-09-28 23:23:50,384 INFO  [main] [] extensions - Initialized extension com_zimbra_bulkprovision: com.zimbra.bp.ZimbraBulkProvisionExt@com.zimbra.cs.extension.ZimbraExtensionClassLoader@281028ce
2022-09-28 23:23:50,385 INFO  [main] [] extensions - attachment scan is disabled
2022-09-28 23:23:50,385 INFO  [main] [] extensions - Initialized extension clamscanner: com.zimbra.clam.ClamScannerExt@com.zimbra.cs.extension.ZimbraExtensionClassLoader@121c1a08
2022-09-28 23:23:50,392 INFO  [main] [] extensions - Create sso session table
2022-09-28 23:23:50,397 INFO  [main] [] extensions - Register sso handlers
2022-09-28 23:23:50,400 INFO  [main] [] extensions - Load config properties
2022-09-28 23:23:50,409 INFO  [main] [] extensions - Build Pac4J config
2022-09-28 23:23:50,412 FATAL [main] [] soap - Unable to start servlet
java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
	at org.pac4j.config.builder.Saml2ClientBuilder.tryCreateSaml2Client(Saml2ClientBuilder.java:40) ~[pac4j-config-4.5.4.jar:?]
	at org.pac4j.config.client.PropertiesConfigFactory.build(PropertiesConfigFactory.java:80) ~[pac4j-config-4.5.4.jar:?]
	at com.iwayvietnam.zmsso.pac4j.ConfigBuilder.buildConfig(ConfigBuilder.java:139) ~[?:?]
	at com.iwayvietnam.zmsso.pac4j.ConfigBuilder.<init>(ConfigBuilder.java:70) ~[?:?]
	at com.iwayvietnam.zmsso.pac4j.ConfigBuilder.getInstance(ConfigBuilder.java:86) ~[?:?]
	at com.iwayvietnam.zmsso.BaseSsoHandler.<init>(BaseSsoHandler.java:56) ~[?:?]
	at com.iwayvietnam.zmsso.LoginHandler.<init>(LoginHandler.java:39) ~[?:?]
	at com.iwayvietnam.zmsso.ZmSsoExtension.init(ZmSsoExtension.java:57) ~[?:?]
	at com.zimbra.cs.extension.ExtensionUtil.initAllMatching(ExtensionUtil.java:128) ~[zimbrastore.jar:8.8.15_GA_4372]
	at com.zimbra.cs.extension.ExtensionUtil.initAll(ExtensionUtil.java:154) ~[zimbrastore.jar:8.8.15_GA_4372]
	at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:266) ~[zimbrastore.jar:8.8.15_GA_4372]
	at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:177) ~[zimbrastore.jar:8.8.15_GA_4372]
	at com.zimbra.soap.SoapServlet.init(SoapServlet.java:130) ~[zimbrastore.jar:8.8.15_GA_4372]
	at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[servlet-api-3.1.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:632) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:415) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:731) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357) ~[?:?]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:510) ~[?:?]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
	at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) ~[?:?]
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735) ~[?:?]
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:755) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449) ~[jetty-webapp-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1414) ~[jetty-webapp-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:916) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) ~[jetty-webapp-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:426) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.DebugHandler.doStart(DebugHandler.java:140) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.Server.start(Server.java:423) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.Server.doStart(Server.java:387) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$3(XmlConfiguration.java:1907) ~[jetty-xml-9.4.46.v20220331.jar:9.4.46.v20220331]
	at java.security.AccessController.doPrivileged(AccessController.java:569) [?:?]
	at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1857) [jetty-xml-9.4.46.v20220331.jar:9.4.46.v20220331]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at org.eclipse.jetty.start.Main.invokeMain(Main.java:218) [start.jar:9.4.46.v20220331]
	at org.eclipse.jetty.start.Main.start(Main.java:491) [start.jar:9.4.46.v20220331]
	at org.eclipse.jetty.start.Main.main(Main.java:77) [start.jar:9.4.46.v20220331]
Caused by: java.lang.ClassNotFoundException: org.springframework.core.io.Resource
	at java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	... 69 more
2022-09-28 23:23:50,419 INFO  [main] [] soap - Servlet AdminServlet starting up
2022-09-28 23:23:50,420 INFO  [main] [] soap - Adding service AdminService to AdminServlet
2022-09-28 23:23:50,438 INFO  [main] [] soap - Adding service AccountService to AdminServlet
2022-09-28 23:23:50,439 INFO  [main] [] soap - Adding service MailService to AdminServlet
2022-09-28 23:23:50,439 INFO  [main] [] soap - Adding service ZimbraCertMgrService to AdminServlet
2022-09-28 23:23:50,440 INFO  [main] [] soap - Adding service ZimbraBulkProvisionService to AdminServlet
2022-09-28 23:23:50,443 INFO  [main] [] misc - version=8.8.15_GA_4372 release=20220726082327 builddate=20220726-0905 buildhost=zre-rhel8-64.eng.zimbra.com
2022-09-28 23:23:50,444 INFO  [main] [] misc - LANG environment is set to: C.UTF-8
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property java.home=/opt/zimbra/common/lib/jvm/openjdk-17.0.2-zimbra
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property java.runtime.version=17.0.2+8-86
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property java.version=17.0.2
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property java.vm.info=mixed mode, sharing
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property java.vm.name=OpenJDK 64-Bit Server VM
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property java.vm.version=17.0.2+8-86
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property os.arch=amd64
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property os.name=Linux
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property os.version=4.18.0-408.el8.x86_64
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property sun.arch.data.model=64
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property sun.cpu.endian=little
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property sun.cpu.isalist=null
2022-09-28 23:23:50,444 INFO  [main] [] misc - System property sun.os.patch.level=null
2022-09-28 23:23:50,445 WARN  [main] [] ZimbraPerf - Detected call to ZimbraPerf.prepare() after already prepared
java.lang.Exception: null
	at com.zimbra.cs.stats.ZimbraPerf.prepare(ZimbraPerf.java:455) ~[zimbrastore.jar:8.8.15_GA_4372]
	at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:216) ~[zimbrastore.jar:8.8.15_GA_4372]
	at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:177) ~[zimbrastore.jar:8.8.15_GA_4372]
	at com.zimbra.soap.SoapServlet.init(SoapServlet.java:130) ~[zimbrastore.jar:8.8.15_GA_4372]
	at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[servlet-api-3.1.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:632) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:415) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:731) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357) ~[?:?]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:510) ~[?:?]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
	at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) ~[?:?]
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735) ~[?:?]
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:755) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449) ~[jetty-webapp-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1414) ~[jetty-webapp-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:916) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) ~[jetty-webapp-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:426) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.DebugHandler.doStart(DebugHandler.java:140) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.Server.start(Server.java:423) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.Server.doStart(Server.java:387) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$3(XmlConfiguration.java:1907) ~[jetty-xml-9.4.46.v20220331.jar:9.4.46.v20220331]
	at java.security.AccessController.doPrivileged(AccessController.java:569) [?:?]
	at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1857) [jetty-xml-9.4.46.v20220331.jar:9.4.46.v20220331]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at org.eclipse.jetty.start.Main.invokeMain(Main.java:218) [start.jar:9.4.46.v20220331]
	at org.eclipse.jetty.start.Main.start(Main.java:491) [start.jar:9.4.46.v20220331]
	at org.eclipse.jetty.start.Main.main(Main.java:77) [start.jar:9.4.46.v20220331]
2022-09-28 23:23:50,446 INFO  [main] [] sqltrace - Setting slow SQL threshold to 2000ms.
2022-09-28 23:23:50,488 WARN  [main] [] ZimbraHttpConnectionManager - Cannot start a second http client idle connection reaper thread while another one is running.
2022-09-28 23:23:50,489 WARN  [main] [] ZimbraHttpConnectionManager - Cannot start a second http client idle connection reaper thread while another one is running.
2022-09-28 23:23:50,489 WARN  [main] [] ephemeral - Replacing ephemeral factory class 'com.zimbra.cs.ephemeral.LdapEphemeralStore$Factory' registered for 'ldap' with 'com.zimbra.cs.ephemeral.LdapEphemeralStore$Factory'
2022-09-28 23:23:50,489 INFO  [main] [] extensions - Initializing extensions
2022-09-28 23:23:50,489 INFO  [main] [] soap - Adding service ZimbraCertMgrService to AdminServlet
2022-09-28 23:23:50,490 INFO  [main] [] extensions - Disabled 'com_zimbra_cert_manager' system failure: HTTP handler already registered: /com_zimbra_cert_manager/downloadcsr
2022-09-28 23:23:50,490 INFO  [main] [] extensions - Handler at /com_zimbra_bulkprovision/bulkdownload starting up
2022-09-28 23:23:50,490 INFO  [main] [] extensions - Disabled 'com_zimbra_bulkprovision' system failure: HTTP handler already registered: /com_zimbra_bulkprovision/bulkdownload
2022-09-28 23:23:50,490 INFO  [main] [] extensions - Handler at /com_zimbra_bulkprovision/bulkdownload shutting down
2022-09-28 23:23:50,490 INFO  [main] [] extensions - Handler at /com_zimbra_bulkprovision/search_results_download shutting down
2022-09-28 23:23:50,491 INFO  [main] [] extensions - attachment scan is disabled
2022-09-28 23:23:50,491 INFO  [main] [] extensions - Initialized extension clamscanner: com.zimbra.clam.ClamScannerExt@com.zimbra.cs.extension.ZimbraExtensionClassLoader@121c1a08
2022-09-28 23:23:50,491 INFO  [main] [] extensions - Create sso session table
2022-09-28 23:23:50,495 INFO  [main] [] extensions - Register sso handlers
2022-09-28 23:23:50,496 INFO  [main] [] extensions - Load config properties
2022-09-28 23:23:50,496 INFO  [main] [] extensions - Build Pac4J config
2022-09-28 23:23:50,496 FATAL [main] [] soap - Unable to start servlet
java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
	at org.pac4j.config.builder.Saml2ClientBuilder.tryCreateSaml2Client(Saml2ClientBuilder.java:40) ~[pac4j-config-4.5.4.jar:?]
	at org.pac4j.config.client.PropertiesConfigFactory.build(PropertiesConfigFactory.java:80) ~[pac4j-config-4.5.4.jar:?]
	at com.iwayvietnam.zmsso.pac4j.ConfigBuilder.buildConfig(ConfigBuilder.java:139) ~[?:?]
	at com.iwayvietnam.zmsso.pac4j.ConfigBuilder.<init>(ConfigBuilder.java:70) ~[?:?]
	at com.iwayvietnam.zmsso.pac4j.ConfigBuilder.getInstance(ConfigBuilder.java:86) ~[?:?]
	at com.iwayvietnam.zmsso.BaseSsoHandler.<init>(BaseSsoHandler.java:56) ~[?:?]
	at com.iwayvietnam.zmsso.LoginHandler.<init>(LoginHandler.java:39) ~[?:?]
	at com.iwayvietnam.zmsso.ZmSsoExtension.init(ZmSsoExtension.java:57) ~[?:?]
	at com.zimbra.cs.extension.ExtensionUtil.initAllMatching(ExtensionUtil.java:128) ~[zimbrastore.jar:8.8.15_GA_4372]
	at com.zimbra.cs.extension.ExtensionUtil.initAll(ExtensionUtil.java:154) ~[zimbrastore.jar:8.8.15_GA_4372]
	at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:266) ~[zimbrastore.jar:8.8.15_GA_4372]
	at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:177) ~[zimbrastore.jar:8.8.15_GA_4372]
	at com.zimbra.soap.SoapServlet.init(SoapServlet.java:130) ~[zimbrastore.jar:8.8.15_GA_4372]
	at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[servlet-api-3.1.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:632) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:415) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:731) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357) ~[?:?]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:510) ~[?:?]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
	at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) ~[?:?]
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735) ~[?:?]
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:755) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449) ~[jetty-webapp-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1414) ~[jetty-webapp-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:916) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) ~[jetty-servlet-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) ~[jetty-webapp-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:426) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.DebugHandler.doStart(DebugHandler.java:140) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.Server.start(Server.java:423) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.server.Server.doStart(Server.java:387) ~[jetty-server-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[jetty-util-9.4.46.v20220331.jar:9.4.46.v20220331]
	at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$3(XmlConfiguration.java:1907) ~[jetty-xml-9.4.46.v20220331.jar:9.4.46.v20220331]
	at java.security.AccessController.doPrivileged(AccessController.java:569) [?:?]
	at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1857) [jetty-xml-9.4.46.v20220331.jar:9.4.46.v20220331]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at org.eclipse.jetty.start.Main.invokeMain(Main.java:218) [start.jar:9.4.46.v20220331]
	at org.eclipse.jetty.start.Main.start(Main.java:491) [start.jar:9.4.46.v20220331]
	at org.eclipse.jetty.start.Main.main(Main.java:77) [start.jar:9.4.46.v20220331]
Caused by: java.lang.ClassNotFoundException: org.springframework.core.io.Resource
	at java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	... 69 more
2022-09-28 23:23:50,500 INFO  [main] [] account - Servlet CertAuthServlet starting up
2022-09-28 23:23:50,501 INFO  [main] [] ContentServlet - Servlet ContentServlet starting up
2022-09-28 23:23:50,502 INFO  [main] [] account - Servlet ExternalUserProvServlet starting up
2022-09-28 23:23:50,502 INFO  [main] [] account - Servlet PreAuthServlet starting up
2022-09-28 23:23:50,503 INFO  [main] [] PublicICalServlet - Servlet PublicICalServlet starting up
2022-09-28 23:23:50,503 INFO  [main] [] account - Servlet SpnegoAuthServlet starting up
2022-09-28 23:23:50,505 INFO  [main] [] UserServlet - Starting up
2022-09-28 23:23:50,509 INFO  [main] [] FileUploadServlet - Servlet FileUploadServlet starting up
2022-09-28 23:23:50,509 INFO  [main] [] StatsImageServlet - Servlet StatsImageServlet starting up
2022-09-28 23:23:50,517 INFO  [main] [] AutoDiscoverServlet - Starting up
2022-09-28 23:23:51,254 INFO  [main] [] misc - DoSFilter: Configured whitelist IPs = 192.168.40.50,192.168.40.29/32,95.97.34.202/32,192.168.40.46/32,192.168.40.50/32,127.0.0.1,::1,0:0:0:0:0:0:0:1
2022-09-28 23:23:51,256 INFO  [main] [] misc - Initialized with /service:max=80%, /zimbra:max=15%, /zimbraAdmin:max=5%
2022-09-28 23:23:51,256 INFO  [main] [] misc - Thread pool was configured to max=500
2022-09-28 23:23:51,925 INFO  [main] [] misc - DoSFilter: Configured whitelist IPs = 192.168.40.50,192.168.40.29/32,95.97.34.202/32,192.168.40.46/32,192.168.40.50/32,127.0.0.1,::1,0:0:0:0:0:0:0:1
2022-09-28 23:23:51,927 INFO  [main] [] misc - Initialized with /service:max=80%, /zimbra:max=15%, /zimbraAdmin:max=5%
2022-09-28 23:23:51,927 INFO  [main] [] misc - Thread pool was configured to max=500

@tuxcrafter
Copy link
Author

tuxcrafter commented Sep 29, 2022

[root@zimbra02 ~]# cat /opt/zimbra/conf/zm.sso.properties | grep -v "#"
sso.defaultClient = SAML2Client

sso.callbackUrl = https://zimbra.example.powercraft.nl/service/extension/sso/callback
saml.callbackUrl = https://zimbra.example.powercraft.nl/service/extension/saml/callback
sso.saveInSession = true
sso.multiProfile = true
sso.renewSession = true

sso.localLogout = true
sso.destroySession = true
sso.centralLogout = true
sso.postLogoutURL = https://zimbra.example.powercraft.nl/

saml.keystorePath = /opt/zimbra/conf/saml/keystore.jks
saml.keystorePassword = @secret@
saml.privateKeyPassword = @secret@
saml.keystoreAlias = samlkey
saml.identityProviderMetadataPath = https://keycloak.example.org/realms/master/protocol/saml/descriptor
saml.serviceProviderEntityId = https://zimbra.example.powercraft.nl/service/extension/saml/metadata

@tuxcrafter
Copy link
Author

@tuxcrafter
Copy link
Author

I managed to get it working by using debian bullseye and the maven clean build option and using the different /target/dependencies directory.

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

No branches or pull requests

1 participant