[Netarchivesuite-devel] No default template

Colin Samuel Rosenthal csr at statsbiblioteket.dk
Thu Jan 21 12:52:00 CET 2010


Another obstacle to running with mysql:

SEVERE: Mailing netarkivet error: 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:155)
        at dk.netarkivet.common.webinterface.GUIApplication.main(GUIApplication.java:39)
Caused by: dk.netarkivet.common.exceptions.IOFailure: Error deploying the webapplications
        at dk.netarkivet.common.webinterface.GUIWebServer.<init>(GUIWebServer.java:103)
        at dk.netarkivet.common.webinterface.GUIWebServer.getInstance(GUIWebServer.java:120)
        ... 6 more
Caused by: dk.netarkivet.common.exceptions.UnknownID: The default order template 'default_orderxml' does not exist in the template DAO. Please use the dk.netarkivet.harvester.datamodel.HarvestTemplateApplication tool to upload this template before loading the Definitions site section in the GUIApplication
        at dk.netarkivet.harvester.webinterface.DefinitionsSiteSection.initialize(DefinitionsSiteSection.java:110)
        at dk.netarkivet.common.webinterface.GUIWebServer.addWebApplication(GUIWebServer.java:156)
        at dk.netarkivet.common.webinterface.GUIWebServer.<init>(GUIWebServer.java:100)
        ... 7 more

Is there a good reason why one has to have a default template in the database before starting the GUI ?

/Colin



More information about the Netarchivesuite-devel mailing list