[Netarchivesuite-devel] RE BNF Running jobs does not work in this build

Tue Larsen tlr at kb.dk
Wed Oct 27 10:29:07 CEST 2010


Hi Nicolas


I have added the HarvestMonitorApplication to our deploy xml file, but when I deploy it,  I get the following error:

Version: 3.13.2 status CODEFREEZE
dk.netarkivet.harvester.scheduler.HarvestJobManager Running
Exception in thread "main" java.lang.NoClassDefFoundError: dk/netarkivet/harvester/harvesting/monitor/HarvestMonitorApplication
Caused by: java.lang.ClassNotFoundException: dk.netarkivet.harvester.harvesting.monitor.HarvestMonitorApplication
        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)
Could not find the main class: dk.netarkivet.harvester.harvesting.monitor.HarvestMonitorApplication.  Program will exit.

Thanks for any hints

All the best
Tue

Fra: netarchivesuite-devel-bounces at lists.gforge.statsbiblioteket.dk [mailto:netarchivesuite-devel-bounces at lists.gforge.statsbiblioteket.dk] På vegne af nicolas.giraud at bnf.fr
Sendt: 26. oktober 2010 16:47
Til: netarchivesuite-devel at lists.gforge.statsbiblioteket.dk
Cc: netarchivesuite-devel at lists.gforge.statsbiblioteket.dk; netarchivesuite-devel-bounces at lists.gforge.statsbiblioteket.dk
Emne: [Netarchivesuite-devel] RE BNF Running jobs does not work in this build


Hi Tue,

The monitoring code has been moved to a separate application (cf. review NS-175), in order to have crawl progress information processed, you must declare this new application in your deployment configuration :

Here's the configuration I use :

<applicationName name="dk.netarkivet.harvester.harvesting.monitor.HarvestMonitorApplication">

                <deployJavaOpt>-Xmx256m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8004 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:/bnf/netarchivesuite/log/HarvestMonitorApplication_GC.log</deployJavaOpt>

                <settings>
                    <common>
                        <jmx>
                            <port>8104</port>
                            <rmiPort>8204</rmiPort>
                        </jmx>
                    </common>
                </settings>
</applicationName>

This application should be deployed on the admin machine. The deployJavaOpts are my own settings, they're not needed as such, to the probable exception of the max heap allocation.

Here's my full configuration, in case you would like to see it all:


Best regards,

Nicolas
________________________________

Exposition La France de Raymond Depardon<http://www.bnf.fr/fr/evenements_et_culture/anx_expositions/f.france_depardon.html> - jusqu'au 9 janvier 2011 - BnF - François-Mitterrand / Grande Galerie

Avant d'imprimer, pensez à l'environnement.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gforge.statsbiblioteket.dk/pipermail/netarchivesuite-devel/attachments/20101027/58b52559/attachment.html 


More information about the Netarchivesuite-devel mailing list