Hi Amjad,


I haven’t looked at this for a while but I’m pretty sure these aren’t java classes that are called by the dsrun utility. Instead they are executables which are run directly like:





Note that you need to configure these scripts first through dstat.cfg.


After running these two scripts then I think people usually run nightly jobs to generate the stats, like this:







Hope this helps,



GARY BROWNE | Development Programmer
Library IT Services | University Library

+61 2 9351 5946  | F +61 2 9036 0000


From: AMJAD USMAN [mailto:amjad_gu@hotmail.com]
Sent: Tuesday, 23 November 2010 10:27 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Statistical script error


Hello everybody,

I am using Dspace 1.6 on windows xp.
when i run statistical script to generate statistical report, it gives error:

\DSpace\bin>dsrun stat-initial
Using DSpace installation in: D:\DSpace
Exception in thread "main" java.lang.NoClassDefFoundError: stat-initial
Caused by: java.lang.ClassNotFoundException: stat-initial
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: stat-initial.  Program will exit.

can anybody tell me how i can run statistical feature.