Francois,
You need to run the dsrun script from your installation directory
(i.e. D:\dspace\bin\dsrun), not the source tree.
Cheers,
Mark
On Sep 16, 2008, at 10:00 AM, François Parmentier wrote:
Hello,
I just installed DSpace 1.4.2 on Windows 2000, with Eclipse.
Tomcat works, as Postgres, but I can't create an administrator:
D:\parmentf\mes documents\workspaceGanymede\irevues-dspace-1.4.2-
source\bin>dsrun.bat org.dspace.administer.CreateAdministrator
Using DSpace installation in: D:\parmentf\mes documents
\workspaceGanymede\irevues-dspace-1.4.2-source
Exception in thread "main" java.lang.NoClassDefFoundError: org/
dspace/administer/CreateAdministrator
Caused by: java.lang.ClassNotFoundException:
org.dspace.administer.CreateAdministrator
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)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Here is the CLASSPATH build by the .bat (I echoed it):
.;C:\Program Files\Java\jre1.6.0_02\lib\ext\QTJava.zip;config;lib
\activation.jar
;lib\bcmail-jdk14-135.jar;lib\bcprov-jdk14-135.jar;lib\commons-
cli.jar;lib\commo
ns-codec-1.3.jar;lib\commons-collections.jar;lib\commons-
dbcp.jar;lib\commons-fi
leupload.jar;lib\commons-io.jar;lib\commons-lang-2.1.jar;lib
\commons-pool.jar;li
b\fontbox.jar;lib\handle.jar;lib\jakarta-poi.jar;lib\jargon.jar;lib
\jaxen.jar;li
b\jdom.jar;lib\jena.jar;lib\jstl.jar;lib\log4j.jar;lib
\lucene.jar;lib\mail.jar;l
ib\mets.jar;lib\oaicat.jar;lib\oro.jar;lib\PDFBox.jar;lib
\postgresql-8.2-506.jdb
c2.jar;lib\rome.jar;lib\serializer.jar;lib\servlet.jar;lib
\standard.jar;lib\tm-e
xtractors.jar;lib\xalan.jar;lib\xercesImpl.jar;lib\xml-apis.jar
Although it seems that src is NOT in CLASSPATH, when I add it, it
does not work either.
--
François PARMENTIER / INIST-CNRS
PS: I forgot to mention that plain 1.4.2 buildpath.bat does not
work on my Windows 2000: I had to change
set DSPACE_CLASSPATH=%DSPACE_CLASSPATH%;%~s1
into
set DSPACE_CLASSPATH=%DSPACE_CLASSPATH%;%1
----------------------------------------------------------------------
---
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech