Could not initialize class org.openzal.zal.extension.StoreManagerImpl

Ask questions about your setup or get help installing ZCS server (ZD section below).
User avatar
maxxer
Advanced member
Advanced member
Posts: 193
Joined: Fri Oct 04, 2013 2:12 am
Contact:

Could not initialize class org.openzal.zal.extension.StoreManagerImpl

Postby maxxer » Wed Sep 09, 2020 4:11 pm

Hi.
I've upgraded an old 8.6.0 CentOS7 to 8.8.15. It had ownCloud and Zextras installed, so after upgrade mailboxd is not starting with the exception above. I tried everything suggested in the old threads:
* moved away zal.jar
* for ownCloud downloaded zal.jar from github
* extracted zal.jar from zimbra-drive package and placed it in /opt/zimbra/lib/ext/zextras/zal.jar
* emptied /opt/zimbra/jetty/work/

none of these solved.

Any hint is welcome.
thanks

full exception

Code: Select all

javax.servlet.UnavailableException: Could not initialize class org.openzal.zal.extension.StoreManagerImpl
        at com.zimbra.soap.SoapServlet.init(SoapServlet.java:135)
        at javax.servlet.GenericServlet.init(GenericServlet.java:244)
        at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:671)
        at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:428)
        at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750)
        at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
        at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)
        at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
        at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
        at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
        at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744)
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:369)
        at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
        at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:852)
        at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
        at org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:406)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
        at org.eclipse.jetty.server.handler.DebugHandler.doStart(DebugHandler.java:142)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
        at org.eclipse.jetty.server.Server.start(Server.java:418)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
        at org.eclipse.jetty.server.Server.doStart(Server.java:382)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1572)
        at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1512)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:554)
        at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1511)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.eclipse.jetty.start.Main.invokeMain(Main.java:220)
        at org.eclipse.jetty.start.Main.start(Main.java:490)
        at org.eclipse.jetty.start.Main.main(Main.java:77)


phoenix
Ambassador
Ambassador
Posts: 26781
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Could not initialize class org.openzal.zal.extension.StoreManagerImpl

Postby phoenix » Wed Sep 09, 2020 4:21 pm

Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
phoenix
Ambassador
Ambassador
Posts: 26781
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Could not initialize class org.openzal.zal.extension.StoreManagerImpl

Postby phoenix » Wed Sep 09, 2020 4:23 pm

Sorry, I guess that might be one of the 'old threads' you've tried? I'd guess this might be better asked on the Zextras forums.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
maxxer
Advanced member
Advanced member
Posts: 193
Joined: Fri Oct 04, 2013 2:12 am
Contact:

Re: Could not initialize class org.openzal.zal.extension.StoreManagerImpl

Postby maxxer » Wed Sep 09, 2020 4:30 pm

phoenix wrote:Sorry, I guess that might be one of the 'old threads' you've tried? I'd guess this might be better asked on the Zextras forums.


I haven't tried Java downgrade yet, but all the other zal.jar options.

I filed a support ticket to Zextras, just tried different support channels
User avatar
maxxer
Advanced member
Advanced member
Posts: 193
Joined: Fri Oct 04, 2013 2:12 am
Contact:

Re: Could not initialize class org.openzal.zal.extension.StoreManagerImpl

Postby maxxer » Wed Sep 09, 2020 5:08 pm




Indeed downgrading at least restored Zimbra functionalities

Code: Select all

yum downgrade zimbra-openjdk-11.0.2-1zimbra8.8b1.el7 zimbra-core-components-2.0.0-1zimbra8.8b1.el7 zimbra-patch-8.8.15.1576149483.p5-1.r7 zimbra-proxy-patch-8.8.15.1552427139.p0-1.r7 zimbra-mta-patch-8.8.15.1552427139.p0-1.r7


Zextras is not working, but Zimbra does
phoenix
Ambassador
Ambassador
Posts: 26781
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Could not initialize class org.openzal.zal.extension.StoreManagerImpl

Postby phoenix » Wed Sep 09, 2020 5:40 pm

At least that's one step forward. Your output seems to show a different patch level to mine, iIs there any reason you're not on the current ZCS patch level (Patch 8.8.15_P13)?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
maxxer
Advanced member
Advanced member
Posts: 193
Joined: Fri Oct 04, 2013 2:12 am
Contact:

Re: Could not initialize class org.openzal.zal.extension.StoreManagerImpl

Postby maxxer » Wed Sep 09, 2020 6:31 pm

phoenix wrote:At least that's one step forward. You output seems to show a different patch level to mine, iIs there any reason you're not on the current ZCS patch level (Patch 8.8.15_P13)?

I was on the latest packages but I wasn't able to have Zimbra accept zal.jar. So at least now Zimbra is back to work. Now I need to sort out the addon stuff with them
User avatar
maxxer
Advanced member
Advanced member
Posts: 193
Joined: Fri Oct 04, 2013 2:12 am
Contact:

Re: Could not initialize class org.openzal.zal.extension.StoreManagerImpl

Postby maxxer » Thu Sep 10, 2020 8:11 am

My bad!

Instead of moving zal.jar files outside I just renamed them in the same directory. So Jetty was picking them up anyway throwing the exception. After moving those file away everything is back to normal.
phoenix
Ambassador
Ambassador
Posts: 26781
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Could not initialize class org.openzal.zal.extension.StoreManagerImpl

Postby phoenix » Thu Sep 10, 2020 8:15 am

Well done, I'm glad you've fixed it. :D
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
maxxer
Advanced member
Advanced member
Posts: 193
Joined: Fri Oct 04, 2013 2:12 am
Contact:

Re: Could not initialize class org.openzal.zal.extension.StoreManagerImpl

Postby maxxer » Thu Sep 10, 2020 8:18 am

phoenix wrote:Well done, I'm glad you've fixed it. :D


Tanks to Zextras team. Yesterday my mind was fried up, I wasn't able to think. Messages that those files were picked by Jetty were present in mailbox.log, I just couldn't see them.

Anyway, I'm happy too :D

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: Google [Bot] and 5 guests