"Download current directory as ZIP" fails

Former SVN Browser
pitzalis
Posts: 13
Joined: Mon Jun 04, 2007 8:58 am
Location: Italy

"Download current directory as ZIP" fails

Postby pitzalis » Fri Nov 17, 2017 10:36 am

I have installed SVN Web Client on a Linux server (RHEL 6.4 - Java 1.8.0_77), side by side with PolarionALM but on a dedicated Apache Tomcat, following the Handout_SVN_Webclient_Installation.

All works fine but the "Download current directory as ZIP" button fails and issues this exception:

Code: Select all

SEVERE: Servlet.service() for servlet [Download Directory] in context with path [/svnwebclient] threw exception [Servlet execution threw an exception] with root cause
java.lang.ClassNotFoundException: sun.security.action.LoadLibraryAction
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
        at org.polarion.svnwebclient.util.zip.ZipEntry.<clinit>(ZipEntry.java:44)
        at org.polarion.svnwebclient.web.servlet.ArchiveDownloadServlet.processFile(ArchiveDownloadServlet.java:189)
        ....
        ....


This is the code that fails in ZipEntry.java (http://svn.polarion.org/repos/community ... Entry.java):

Code: Select all

java.security.AccessController.doPrivileged(new sun.security.action.LoadLibraryAction("zip"));


I suspect that the LoadLibraryAction fails because it doesn't find the "zip" library in Linux environment.

Does anybody know how to solve this issue?

Thanks in advance,
Giuseppe

Return to “Polarion SVN Web Client”

Who is online

Users browsing this forum: No registered users and 1 guest