Page 1 of 2

Zimbra 7.3.0.13056 - HTTP Error 500

Posted: Wed Mar 15, 2017 9:01 am
by croucrou
Hello,

I installed Zimbra 7.3 Beta on Windows 7.
The install process runs without alerts.

When launching Zimbra Desktop, I have :

Code: Select all

HTTP ERROR 500

Problem accessing /zimbra/desktop/console.jsp. Reason:

    com/zimbra/cs/taglib/tag/i18n/GetLocaleRequestTag : Unsupported major.minor version 51.0
Caused by:

java.lang.UnsupportedClassVersionError: com/zimbra/cs/taglib/tag/i18n/GetLocaleRequestTag : Unsupported major.minor version 51.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.access$000(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:392)
   at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363)
   at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:184)
   at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:122)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   at org.apache.jsp.desktop.console_jsp._jspx_meth_fmt_getLocaleRequest_0(Unknown Source)
   at org.apache.jsp.desktop.console_jsp._jspService(Unknown Source)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:814)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:814)
   at com.zimbra.webClient.servlet.JspServlet.service(JspServlet.java:64)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
   at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:79)
   at com.zimbra.webClient.filters.SetHeaderFilter.doFilter(SetHeaderFilter.java:239)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:218)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:422)
   at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
   at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at org.mortbay.jetty.Server.handle(Server.java:326)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:585)
   at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:971)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:415)
   at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:429)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
Powered by Jetty://


How can I solve this issue ?

Crou²

Re: Zimbra 7.3.0.13056 - HTTP Error 500

Posted: Wed Mar 15, 2017 11:04 am
by PriteshGajjar
Which version of Java you are using?

Re: Zimbra 7.3.0.13056 - HTTP Error 500

Posted: Wed Mar 15, 2017 12:22 pm
by croucrou
A very old version (I think 1.6).
But I though Zimbra desktop comes with its onw java version ?

On second run I have

Code: Select all

HTTP ERROR 500

Problem accessing /zimbra/desktop/console.jsp. Reason:

    com/zimbra/cs/taglib/tag/i18n/GetLocaleRequestTag
Caused by:

java.lang.UnsupportedClassVersionError: com/zimbra/cs/taglib/tag/i18n/GetLocaleRequestTag
   at org.apache.jsp.desktop.console_jsp._jspx_meth_fmt_getLocaleRequest_0(Unknown Source)
   at org.apache.jsp.desktop.console_jsp._jspService(Unknown Source)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:814)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:814)
   at com.zimbra.webClient.servlet.JspServlet.service(JspServlet.java:64)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
   at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:79)
   at com.zimbra.webClient.filters.SetHeaderFilter.doFilter(SetHeaderFilter.java:239)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:218)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:422)
   at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
   at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at org.mortbay.jetty.Server.handle(Server.java:326)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:585)
   at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:971)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:415)
   at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:429)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
Powered by Jetty://


Could it be the JRE version of my computer that cause these issues ?

Crou²

Re: Zimbra 7.3.0.13056 - HTTP Error 500

Posted: Wed Mar 15, 2017 4:32 pm
by PriteshGajjar
From ZD 7.2.7 we do not ship JRE with application, instead relies on system JRE. Please install latest test JRE(1.8) and this issue should not occur.

Re: Zimbra 7.3.0.13056 - HTTP Error 500

Posted: Thu Mar 16, 2017 10:29 am
by croucrou
My problem is I can't update JRE because some programs of my company need old Java version (for the time being).

Is there any way to use a specific Java for ZD ?
For instance, I use Java Portable (http://portableapps.com/apps/utilities/java_portable) to run the latest Freeplane (https://www.freeplane.org/wiki/index.php/Main_Page) on this computer.
Do you know If I could do the same for Zimbra Desktop ?

Re: Zimbra 7.3.0.13056 - HTTP Error 500

Posted: Fri Mar 17, 2017 5:22 am
by PriteshGajjar
ZD relies on system JRE and does java detection using registry keys. So latest JRE has to be there on m/c itself.

Re: Zimbra 7.3.0.13056 - HTTP Error 500

Posted: Sat Mar 18, 2017 4:36 pm
by zimbwa
I had the same problem with the version. After I installed java 8u121 the version part of the error was gone but the rest is still there.

Please help. Thanks in advance.


HTTP ERROR 500

Problem accessing /zimbra/desktop/console.jsp. Reason:

com/zimbra/cs/taglib/tag/i18n/GetLocaleRequestTag
Caused by:

java.lang.UnsupportedClassVersionError: com/zimbra/cs/taglib/tag/i18n/GetLocaleRequestTag
at org.apache.jsp.desktop.console_jsp._jspx_meth_fmt_getLocaleRequest_0(Unknown Source)
at org.apache.jsp.desktop.console_jsp._jspService(Unknown Source)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:814)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:814)
at com.zimbra.webClient.servlet.JspServlet.service(JspServlet.java:64)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:79)
at com.zimbra.webClient.filters.SetHeaderFilter.doFilter(SetHeaderFilter.java:239)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:218)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:422)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:585)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:971)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:415)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:429)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)

Re: Zimbra 7.3.0.13056 - HTTP Error 500

Posted: Mon Mar 20, 2017 5:22 am
by PriteshGajjar
Looks like ZD is still using older version of Java.
Can you quickly check value of registry for key:\\HKEY_LOCAL_MACHINE\\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion?

Re: Zimbra 7.3.0.13056 - HTTP Error 500

Posted: Mon Mar 20, 2017 8:08 pm
by zimbwa
Thanks for following up.

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
"CurrentVersion"="1.8"

Please tell me what I should try/do next.

Thanks

Re: Zimbra 7.3.0.13056 - HTTP Error 500

Posted: Mon Mar 20, 2017 10:31 pm
by zimbwa
I expected that it had something to do with Java so I uninstalled all Java stuff and cleared everything from the registry that was Java related. Than installed Java again and restarted the PC. Now ZD starts again.

Thanks for the hint.