Page 1 of 1

Zimbra desktop on Ubuntu 18.04 Wayland

Posted: Thu Jul 26, 2018 8:09 am
by pnunn
Hi Guys,

I'm desperate for a decent mail client on Ubuntu and though I'd give Desktop a try. I tried to install it with openjdk installed and it did pretty much nothing (after commenting out the exit on the install script for the version check that simply fails every time). I then removed openjdk and installed oracle Java 10 and got further (again with the exit commented out) but when I get to the login page attempting to display it blows up horribly with

Code: Select all

HTTP ERROR 500

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

    PWC6033: Unable to compile class for JSP

PWC6199: Generated servlet error:
The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class files

PWC6199: Generated servlet error:
java.util.Vector cannot be resolved to a type

Caused by:

org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP

PWC6199: Generated servlet error:
The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class files

PWC6199: Generated servlet error:
java.util.Vector cannot be resolved to a type


   at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:123)
   at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:296)
   at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:376)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:437)
   at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)
   at org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:261)
   at org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:683)
   at org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:88)
   at org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:739)
   at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1501)
   at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2291)
   at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2341)
   at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2347)
   at org.apache.jasper.compiler.Node$Root.accept(Node.java:498)
   at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2291)
   at org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:757)
   at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:222)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:435)
   at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:360)
   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)


No idea where to go from here. Any ideas?

Peter.

Re: Zimbra desktop on Ubuntu 18.04 Wayland

Posted: Tue Nov 13, 2018 8:41 am
by brubru69
Hi,

I got the same problem with my ubuntu 18.04.1 LTS.

After several researches, I found this workaround: changing the version of java solved the problem:

sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 auto mode
1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 manual mode
* 2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode

Press <enter> to keep the current choice[*], or type selection number:

It works but the font are very small and ugly ...

Hopes this help !
Regards,