[Netarchivesuite-users] Problems With The IndexServerAplication + WaybackIndexer DB

Mikis Seth Sørensen mss at statsbiblioteket.dk
Wed Dec 10 15:07:46 CET 2014


Hi Charles

The application classes are defined in the deployment xml file. I can see that in the 'deploy_standalone_example_with_wayback_apps.xml’ the IndexServerApplication namespace is wrong missing the harvester part as you have note (the deploy_standalone_example.xml has the correct setting).

Try changing the line
<applicationName name="dk.netarkivet.archive.indexserver.IndexServerApplication">
to
<applicationName name="dk.netarkivet.harvester.indexserver.IndexServerApplication”>
in you deply xml and run the script generation and deployment again.

Best
Mikis

From: Charles Tassell <charles at islandadmin.ca<mailto:charles at islandadmin.ca>>
Reply-To: "netarchivesuite-users at ml.sbforge.org<mailto:netarchivesuite-users at ml.sbforge.org>" <netarchivesuite-users at ml.sbforge.org<mailto:netarchivesuite-users at ml.sbforge.org>>
Date: Wednesday, December 10, 2014 at 2:23 PM
To: "netarchivesuite-users at ml.sbforge.org<mailto:netarchivesuite-users at ml.sbforge.org>" <netarchivesuite-users at ml.sbforge.org<mailto:netarchivesuite-users at ml.sbforge.org>>
Subject: Re: [Netarchivesuite-users] Problems With The IndexServerAplication + WaybackIndexer DB

Sorry, did some grepping and found the comments in the deployment file for how to create the Wayback database, so that is sorted out.  I'm still wondering about the IndexServerApplication path though.

On 14-12-10 09:06 AM, Charles Tassell wrote:
Hi Guys,

  I'm still having some issues with getting a fresh 4.4.1 install going.  There seem to be two issues left after fixing the queue names in the deployment file.

  First, when I try to start the IndexServerApplication I get the following error message:

Exception in thread "main" java.lang.NoClassDefFoundError: dk/netarkivet/archive/indexserver/IndexServerApplication
Caused by: java.lang.ClassNotFoundException: dk.netarkivet.archive.indexserver.IndexServerApplication
        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:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: dk.netarkivet.archive.indexserver.IndexServerApplication.  Program will exit.

I did some digging, and it looks like the actual class path is dk.netarkivet.harvester.indexserver.IndexServerApplication  Is that correct, or are the harvester and archive IndexServerApplications different classes?

  Secondly, the WaybackIndexer does not seem to be able to connect to the database at port 8124.  It looks like the installer script doesn't create the derby instance for the WaybackIndexer.  Are there any docs on how to do that manually?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.sbforge.org/pipermail/netarchivesuite-users/attachments/20141210/a492f714/attachment-0001.html>


More information about the NetarchiveSuite-users mailing list