upgrade stuckup

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
mkr
Posts: 21
Joined: Fri Mar 10, 2017 11:00 am
Location: India
ZCS/ZD Version: 8.8.15

upgrade stuckup

Post by mkr »

iam upgrading from zcs 8.7.11 to zcs 8.8.15 on centos7.
Installed Nwe centos7. I did many migrations with zmztozmig tool
Now While using zmztozmig tool iam getting following error. Pls help
It was working fine in earlier version. Is it broken now in open source?
Even though ppl say its deprecated it was very useful migration tool


/opt/zimbra/libexec/zmztozmig -f /opt/zimbra/conf/zmztozmig.conf
[INFO|main:1| 07/14/2021 14:12:25]: ConfigFile: /opt/zimbra/conf/zmztozmig.conf
[INFO|main:1| 07/14/2021 14:12:25]: Version: 1.4
[INFO|main:1| 07/14/2021 14:12:25]: Thread count: 1
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException
at com.zimbra.tarformatter.tarMigrator.Init(tarFormatter.java:136)
at com.zimbra.tarformatter.tarFormatter.Execute(tarFormatter.java:584)
at com.zimbra.tarformatter.tarFormatter.main(tarFormatter.java:803)
Caused by: java.lang.ClassNotFoundException: javax.xml.soap.SOAPException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 3 more
liverpoolfcfan
Elite member
Elite member
Posts: 1096
Joined: Sat Sep 13, 2014 12:47 am

Re: upgrade stuckup

Post by liverpoolfcfan »

Perhaps the root cause lies in the java runtime. Seems some SOAP related stuff was removed from the core java 11 packages. See https://stackoverflow.com/questions/545 ... -not-exist
Klug
Ambassador
Ambassador
Posts: 2746
Joined: Mon Dec 16, 2013 11:35 am
Location: France - Drôme
ZCS/ZD Version: All of them
Contact:

Re: upgrade stuckup

Post by Klug »

I think this is not a good way to upgrade (while changing server/OS).
With this tool (I'm not even sure it's not deprecated), you're not migrating a lot of things: filters, signatures, etc.

Check this post (and the whole thread): viewtopic.php?f=15&t=69746&p=301926&hil ... de#p301880
xenhaxumus
Posts: 17
Joined: Fri Mar 09, 2018 2:51 am

Re: upgrade stuckup

Post by xenhaxumus »

Hello, I have the following error with the migration tool "zmztozmig.conf" I can't work with zextras since I have problems with zmprov
therefore this is the tool that I can use to migrate but it doesn't work for me, what do I do?

/opt/zimbra/libexec/zmztozmig –f /opt/zimbra/conf/zmztozmig.conf
2022-08-22 10:28:43,203 main ERROR Unable to locate appender "Stdout" for logger config "root"
2022-08-22 10:28:43,253 main INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory.
2022-08-22 10:28:43,257 main INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory.
[INFO|main:1| 08/22/2022 10:28:43]: ConfigFile: /opt/zimbra/conf/zmztozmig.conf
[INFO|main:1| 08/22/2022 10:28:43]: Version: 1.4
[INFO|main:1| 08/22/2022 10:28:43]: Thread count: 2
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException
at com.zimbra.tarformatter.tarMigrator.Init(tarFormatter.java:141)
at com.zimbra.tarformatter.tarFormatter.Execute(tarFormatter.java:595)
at com.zimbra.tarformatter.tarFormatter.main(tarFormatter.java:814)
Caused by: java.lang.ClassNotFoundException: javax.xml.soap.SOAPException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 3 more
Post Reply