[Netarchivesuite-users] HarvestTemplateApplication tool ??

Bjarne Andersen bja at statsbiblioteket.dk
Mon Apr 6 14:26:24 CEST 2009

Im pretty sure that the DB needs to have at least 1 order.xml loaded before the system will start. The commandline tool to do this. If its not described in the manuals it should offcause be. The one needed should have the exact name given in the errormessage. If you can deploy the quickstart version of the system you can find the needed one in the derbyDB of that system.


Sent fra min HTC Touch Pro

Fra: Christen Hedegaard <chh at kb.dk>
Sendt: 6. april 2009 13:49
Til: netarchivesuite-users at lists.gforge.statsbiblioteket.dk <netarchivesuite-users at lists.gforge.statsbiblioteket.dk>
Emne: Re: [Netarchivesuite-users] HarvestTemplateApplication tool ??

Hi Nicolas,

As all the NetarchiveSuite developers are on Easter vacation we’ll not be able to answer your question before next week.

Sorry for the inconvenience.

Best regards

Fra: netarchivesuite-users-bounces at lists.gforge.statsbiblioteket.dk [mailto:netarchivesuite-users-bounces at lists.gforge.statsbiblioteket.dk] På vegne af nicolas.giraud at bnf.fr
Sendt: 6. april 2009 11:43
Til: netarchivesuite-users at lists.gforge.statsbiblioteket.dk
Emne: [Netarchivesuite-users] HarvestTemplateApplication tool ??


I have created a single-machine environment, starting from the quickstart scripts and modifying the configuration. I wish the following:

- use MySQL instead of Derby
- a single ArcRepository
- no IndexServerApplication, no BitArchiveApplication, no BitArchiveMonitorApplication
- 2 Harvesters

I have successfully created the MySQL database schema. However when I start the applications, the GUIApplication issues and exception during startup and exits.The root cause is the following:

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:107)
        at dk.netarkivet.common.webinterface.GUIWebServer.addWebApplication(GUIWebServer.java:156)
        at dk.netarkivet.common.webinterface.GUIWebServer.<init>(GUIWebServer.java:100)

Debugging the code I have understood that I have to load order.xml templates into the DB.

I haven't seen any mention of this toolc in the documentation. I have set up qa quick-and-dirty Ant target to generate a JAR file, but this should be properly included in the distribution.

Could you please send me a clean Ant target that would generate the proper executable Jar file?


PS: I have attached a copy of my environment, should you want to have a look.

Avant d'imprimer, pensez à l'environnement.
Consider the environment before printing this mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.sbforge.org/pipermail/netarchivesuite-users/attachments/20090406/4d7c30cd/attachment-0002.html>

More information about the NetarchiveSuite-users mailing list