Hi Anupriya, It will likely be very difficult to get DSpace 1.0.1 and 1.1.1 functioning properly using a modern OS and versions of Java/Postgres, as both are now over 8-9 years old.
According to the DSpace 1.0.1 docs (see [dspace]/docs/ in the download package), it is *only* compatible with Java 1.3 (docs specifically say it will not work with Java 1.4 or above), will only work with Unix-like OS, and requires Tomcat 4.0, Postgres 7.2, and Ant 1.4. So, it's highly likely your build is not working because you are using modern versions of Java and/or Postgres to attempt to install it. To make things more complex, I'm not certain that Java 1.3 will function properly on modern operating systems (it may, I've just never tried it, and Java 1.3 has been unsupported since 2004). Good luck! - Tim On 2/10/2011 10:50 PM, Anupriya wrote: > Hello Everyone, > > As part of a Dspace upgrade activity, I have to install the oldest > version of dSpace and do an upgrade to the latest version. While > installing of Dspace1.0.1 (downloaded from > http://sourceforge.net/projects/dspace/files/DSpace%20Stable/), I am > stuck with a problem. > > The ant fresh_install command is always leading to the below error. > > setup_database: > [java] Exception in thread "main" java.lang.NoClassDefFoundError: > org/dspace/storage/rdbms/InitializeDatabase > [java] Caused by: java.lang.ClassNotFoundException: > org.dspace.storage.rdbms.InitializeDatabase > [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > [java] at java.security.AccessController.doPrivileged(Native > Method) > [java] at > java.net.URLClassLoader.findClass(URLClassLoader.java:190) > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > [java] at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > [java] Could not find the main class: > org.dspace.storage.rdbms.InitializeDatabase. Program will exit. > > I rechecked my database setting many times. The username, password, url > and the driver configurations are alright. The java version installed is > 1.6 and the postgresql version is 8.3. The related jdbc driver ie: > postgresql-8.3-606.jdbc4.jar is present in the [dspace ]/lib directory. > And the postgresql service is up and running. Could anyone help me to > resolve this problem? > > Dspace1.1.1 is also having the same problem. But with the same settings, > Dspace 1.2.1 and the above versions are getting installed. > > Thanks in advance! > > Anu > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > > > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

