Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
3.20.0
-
None
Description
In TEST9, one deploys a standalone ArcRepository. The GUI fails to start if one follows the original instructions and removes the viewerproxy jarfile:
Jun 29, 2012 11:28:19 AM dk.netarkivet.common.utils.ApplicationUtils logExceptionAndPrint SEVERE: Could not start class dk.netarkivet.common.webinterface.GUIWebServer java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at dk.netarkivet.common.utils.ApplicationUtils.startApp(ApplicationUtils.java:178) at dk.netarkivet.common.webinterface.GUIApplication.main(GUIApplication.java:41) Caused by: dk.netarkivet.common.exceptions.IOFailure: Error deploying the webapplications at dk.netarkivet.common.webinterface.GUIWebServer.<init>(GUIWebServer.java:114) at dk.netarkivet.common.webinterface.GUIWebServer.getInstance(GUIWebServer.java:131) ... 6 more Caused by: dk.netarkivet.common.exceptions.IOFailure: Cannot read site section from settings at dk.netarkivet.common.webinterface.SiteSection.getSections(SiteSection.java:245) at dk.netarkivet.common.webinterface.GUIWebServer.addWebApplication(GUIWebServer.java:167) at dk.netarkivet.common.webinterface.GUIWebServer.<init>(GUIWebServer.java:111) ... 7 more Caused by: java.lang.ClassNotFoundException: dk.netarkivet.viewerproxy.webinterface.QASiteSection at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at dk.netarkivet.common.webinterface.SiteSection.getSections(SiteSection.java:242) ... 9 more
I have changed the test instructions to keep the viewerproxy jar on kb-test-adm-001, but this seems to break the expected modularisation which is the point of this test, so I consider it a bug.