<p class="MsoNormal"><span style="" lang="EN-US">Hello
everyone,<br>
<br>
Our problem was solved by updating the JDBC driver. Installation was
completed without any problems after that.<br>
<br>
But now we have another problem: to display XML content, we use the code listed
below in the templates of our web pages. </span></p>
<p class="MsoNormal"><span style="" lang="EN-US">After last
upgrade, system started showing this error: The method hasMoreContent() is
undefined for the type I_CmsXmlContentContainer. So my question is: whether
this method is not supported since 8.0 version, and how should we update our
code to fix this issue without too much effort (we have this code in the most part of
our templates). <br>
<br>
Any information would be appreciated. Thank you in advance.<br>
<br>
Code example of displaying XML contents with Java:</span></p>
...<br> I_CmsXmlContentContainer contentContainer = thisPage.contentload("singleFile", param, false); <br> I_CmsXmlContentContainer elementContainer = null;<br> while(contentContainer.hasMoreContent()){<br>
elementContainer = thisPage.contentloop(contentContainer, "Offer");<br> while(elementContainer.hasMoreContent()){ <br> out.writeln(thisPage.contentshow(contentContainer, "Title"));<br>
... <br> }<br> }<br> ...<br><br><div class="gmail_quote">2011/5/27 gleb makarov <span dir="ltr"><<a href="mailto:gleb.a.makarov@gmail.com">gleb.a.makarov@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Michael,<br><br>Thank you for the fast reply.<br><br>First version of the CMS was 7.0.2. All folders have been cleared, admin user has default settings. We`ve tried the installation again from 7.5.4 and now the log contains this error on the same step:<div class="im">
<br>
<br>org.apache.catalina.core.StandardWrapperValve invoke<br>SEVERE: Servlet.service() for servlet jsp threw exception<br></div>java.lang.NoClassDefFoundError: org/opencms/setup/db/CmsUpdateDBManager<div class="im"><br> at org.apache.jsp.update.step_005f0_005fdbsettings_jsp._jspService(step_005f0_005fdbsettings_jsp.java:65)<br>
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br></div>...<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">
2011/5/27 Michael Emmerich <span dir="ltr"><<a href="mailto:m.emmerich@alkacon.com" target="_blank">m.emmerich@alkacon.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Gleb,<br>
<br>
have you previously updated this OpenCms installation from 6 to 7?<br>
Please clear the Tomcat work folder and try again.<br>
If you have used another updater on this installation before, please<br>
make sure, that you deleted the "updater" folder in your webapp before<br>
you copy the new "updater" folder of the OpenCms 8 updater there.<br>
<br>
Additionally, please check the settings of the Admin user in your<br>
current installation if he has a non-default setting for the upload-applet.<br>
<br>
Kind Regards,<br>
Michael.<br>
<br>
<br>
<br>
Am 27.05.2011 10:04, schrieb gleb makarov:<br>
<div><div></div><div>> Hello everyone,<br>
><br>
> Trying to upgrade form 7.5.3 version to 8.0.0, using Upgrade Wizard. All<br>
> modifications were done according to the instruction (update of folders<br>
> /update, /lib etc), but on the step0 of the Wizard system reports an error:<br>
><br>
> org.apache.catalina.core.StandardWrapperValve invoke<br>
> SEVERE: Servlet.service() for servlet jsp threw exception<br>
> java.lang.NoClassDefFoundError:<br>
> org/opencms/setup/update6to7/CmsUpdateDBManager<br>
> at<br>
> org.apache.jsp.update.step_005f0_005fdbsettings_jsp._jspService(step_005f0_005fdbsettings_jsp.java:65)<br>
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
> at<br>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)<br>
> at<br>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)<br>
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)<br>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
> at<br>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
> at<br>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
> at<br>
> com.paragonsoftware.opencms.adwords.filter.Filter.doFilter(Filter.java:39)<br>
> at<br>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>
> at<br>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
> at ru.paragon.util.RedirectFilter.doFilter(RedirectFilter.java:87)<br>
> at<br>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>
> at<br>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
> at<br>
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)<br>
> at<br>
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)<br>
> at<br>
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)<br>
> at<br>
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)<br>
> at<br>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>
> at<br>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
> at<br>
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)<br>
> at<br>
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)<br>
> at<br>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>
> at<br>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
> at<br>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br>
> at<br>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
> at<br>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>
> at<br>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>
> at<br>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
> at<br>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<br>
> at<br>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)<br>
> at<br>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)<br>
> at<br>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)<br>
> at java.lang.Thread.run(Thread.java:662)<br>
><br>
> Maybe someone has the same problem or knows something about it? Last<br>
> updates were completed without any errors...<br>
> Thank you in advance.<br>
> --<br>
> Best regards,<br>
> Gleb Makarov<br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please visit<br>
> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
<br>
--<br>
Kind Regards,<br>
Michael.<br>
<br>
-------------------<br>
Michael Emmerich<br>
<br>
Alkacon Software GmbH - The OpenCms Experts<br>
<a href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a> - <a href="http://www.opencms.org" target="_blank">http://www.opencms.org</a><br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</blockquote></div><br><br clear="all"><br></div></div>-- <br>Best regards,<br><font color="#888888">Gleb Makarov<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Gleb Makarov<br>