[Netarchivesuite-devel] No default template

Søren Vejrup Carlsen svc at kb.dk
Thu Jan 21 13:27:58 CET 2010


Hi all.
Because everything in NAS depends on having a default template in advance.
And this is also why we have this external tool to adresse this: 
dk.netarkivet.harvester.datamodel.HarvestTemplateApplication tool

/Søren

-----Oprindelig meddelelse-----
Fra: netarchivesuite-devel-bounces at lists.gforge.statsbiblioteket.dk [mailto:netarchivesuite-devel-bounces at lists.gforge.statsbiblioteket.dk] På vegne af Colin Samuel Rosenthal
Sendt: 21. januar 2010 12:52
Til: netarchivesuite-devel at lists.gforge.statsbiblioteket.dk
Emne: [Netarchivesuite-devel] No default template

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
_______________________________________________
Netarchivesuite-devel mailing list
Netarchivesuite-devel at lists.gforge.statsbiblioteket.dk
https://lists.gforge.statsbiblioteket.dk/mailman/listinfo/netarchivesuite-devel




More information about the Netarchivesuite-devel mailing list