<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; } @font-face { font-family: "Cambria Math"; } @font-face { font-family: Calibri; } p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; } a:link, span.MsoHyperlink { color: blue; text-decoration: underline; } a:visited, span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; } p.msonormal0, li.msonormal0, div.msonormal0 { margin-right: 0cm; margin-left: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; } span.E-MailFormatvorlage18 { font-family: Calibri, sans-serif; color: windowtext; } span.E-MailFormatvorlage20 { font-family: Calibri, sans-serif; color: windowtext; } .MsoChpDefault { font-size: 10pt; } @page WordSection1 { margin: 70.85pt 70.85pt 2cm; } div.WordSection1 { }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello Thorsten.<br>
</p>
<p>In one of my test installations I had similar problems.... I don't remember exactly what it was.... but<br>
</p>
<p>I was not able to run OCMS 11 on Tomcat 7 !!<br>
</p>
<p>After upgrade to Tomcat 8... everything was fine....<br>
</p>
<p><br>
</p>
<p>I found this on stackoverflow....<br>
</p>
<p><a href="https://stackoverflow.com/questions/23541532/org-apache-tomcat-util-bcel-classfile-classformatexception-invalid-byte-tag-in">https://stackoverflow.com/questions/23541532/org-apache-tomcat-util-bcel-classfile-classformatexception-invalid-byte-tag-in</a><br>
</p>
<p><br>
</p>
<p>I think your combination of your tomcat and jdk version does not work together for newer compiled<br>
java libraries. Which exact version of tomcat do you have?<br>
</p>
<p><br>
</p>
<p>Kind regars<br>
</p>
<p>Bernhard<br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> opencms-dev-bounces@opencms.org <opencms-dev-bounces@opencms.org> im Auftrag von Schliemann, Kai <K.Schliemann@comundus.com><br>
<b>Gesendet:</b> Dienstag, 7. Mai 2019 13:52<br>
<b>An:</b> The OpenCms mailing list<br>
<b>Betreff:</b> Re: [opencms-dev] Upgrade OC 11: SolrCore 'spellcheck' not available (2)</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hello Thorsten,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have no answer for your question. But you could try to do an installation of OCMS 11 (no upgrade) on that machine and see, if a plain installation is running on it.</p>
<p class="MsoNormal">When we do upgrades, we quite often do a plain installation of OpenCms and do all the project specific customizations (e. g. solr config changes, custom jars and modules) afterwards.</p>
<p class="MsoNormal">In this approach you have to export all the content from the old system to the new one. So you will loose the contents history.</p>
<p class="MsoNormal">Check out, if you want to give it a try.</p>
<p class="MsoNormal">Good luck!</p>
<p class="MsoNormal">Best regards</p>
<p class="MsoNormal">Kai </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="">Von:</span></b><span style=""> opencms-dev-bounces@opencms.org <opencms-dev-bounces@opencms.org>
<b>Im Auftrag von </b>Thorsten Duhn<br>
<b>Gesendet:</b> Dienstag, 7. Mai 2019 13:39<br>
<b>An:</b> opencms-dev@opencms.org<br>
<b>Betreff:</b> [opencms-dev] Upgrade OC 11: SolrCore 'spellcheck' not available (2)</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">sorry for posting again, but my issue got no reply last week. So I reverted my virtual test machine back towhere I had a working OC 10.5.4.1 instance and tried again from scratch.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">First I added “serverTimezone” in opencms.properties as last time I had problems starting upgrader without also. Did so, 10.5 instance still works. Cleared all caches, logged out, shut down Tomcat. Copied upgrade files,
enabled wizard, started Tomcat, and ran /update/.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Tried hard to find errors in upgrade log, nothing I can see except this (which I guess is of no meaning):</span></p>
<p class="MsoNormal"><span lang="EN-US">( 13 / 54 ) Parsing links for "/system/modules/org.opencms.base/formatters/function-default.xml"... !!! failed</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Everything else seemed fine, wizard got disabled, so stopped Tomcat again. Time for solr config upgrade…</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Enabled solr in “opencms-search.xml” and copied “solr-update/configsets/default/conf/” content to “solr/configsets/default/conf/”. As my first attempt I don’t even try to merge something custom… And this already fails
when trying to start Tomcat (JSP and work dir cleared).</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Server console show especially this (there were no exception here before upgrade):</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">SCHWERWIEGEND: Unable to process Jar entry [module-info.class] from Jar [jar:file:/…/webapps/opencms/WEB-INF/lib/asm-6.0.jar!/] for annotations</span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19</span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">…</span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">SEVERE: Exception sending context initialized event to listener instance of class org.opencms.main.OpenCmsListener</span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">org.opencms.main.CmsInitException: Kritischer Fehler beim Initialisieren von OpenCms: SolrCore 'spellcheck' is not available due to init failure: Error opening new searcher.</span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">…</span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">SEVERE: Context [/opencms] startup failed due to previous errors</span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">Shutting down OpenCms, version 11.0.0 in web application "opencms"</span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">Shutdown completed, total uptime was 00:00:18.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Setup: Tomcat 7.0, Ubuntu, OpenJDK 8</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">So what is this? Any ideas?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,</span></p>
<p class="MsoNormal"><span lang="EN-US">Thorsten</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:gray">-- </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:gray">B.Sc. Thorsten Duhn</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:gray">regio gmbh - Institut für Regionalentwicklung und Informationssysteme</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:gray">Uhl</span><span style="color:gray">hornsweg 99a, D-26129 Oldenburg</span></p>
<p class="MsoNormal"><span style="color:gray">Fon +49 (0)441 798-2818</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:gray">Fax +49 (0)441 798-3002</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:gray">Mail <a href="mailto:duhn@regio-gmbh.de">
duhn@regio-gmbh.de</a></span></p>
<p class="MsoNormal"><span style="color:gray">Web <a href="http://www.regio-gmbh.de">
http://www.regio-gmbh.de</a></span></p>
<p class="MsoNormal"><span style="color:gray"> </span></p>
<p class="MsoNormal"><span style="color:gray">Geschäftsführer: Bernd Kramer, Dr. Uwe Kröcher</span></p>
<p class="MsoNormal"><span style="color:gray">Amtsgericht Oldenburg (HRB 3903), USt-IdNr. DE187010339</span></p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</body>
</html>