Hi, i`m trying to create administrator in 1.4.2 in a Lenny Debian Linux, postgre
8.3, tomcat 5.5, ant 1.7, jdk 1.6 ant the following error appears:
dspace:/dspace/bin# ./create-administrator
Exception in thread "main" java.lang.NoClassDefFoundError:
org.postgresql.jdbc4.AbstractJdbc4Connection
at java.lang.Class.initializeClass(libgcj.so.90)
at java.lang.Class.initializeClass(libgcj.so.90)
at org.postgresql.Driver.makeConnection(Driver.java:386)
at org.postgresql.Driver.connect(Driver.java:260)
at java.sql.DriverManager.getConnection(libgcj.so.90)
at java.sql.DriverManager.getConnection(libgcj.so.90)
at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:48)
at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840)
at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
at java.sql.DriverManager.getConnection(libgcj.so.90)
at java.sql.DriverManager.getConnection(libgcj.so.90)
at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:717)
at org.dspace.core.Context.<init>(Context.java:105)
at
org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java:78)
Caused by: java.lang.ClassNotFoundException: java.sql.SQLClientInfoException not
found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:/dspace/lib/activation.jar,file:/dspace/lib/bcmail-jdk14-135.jar,file:/dspace/lib/bcprov-jdk14-135.jar,file:/dspace/lib/commons-cli.jar,file:/dspace/lib/commons-codec-1.3.jar,file:/dspace/lib/commons-collections.jar,file:/dspace/lib/commons-dbcp.jar,file:/dspace/lib/commons-fileupload.jar,file:/dspace/lib/commons-io.jar,file:/dspace/lib/commons-lang-2.1.jar,file:/dspace/lib/commons-pool.jar,file:/dspace/lib/dspace.jar,file:/dspace/lib/fontbox.jar,file:/dspace/lib/handle.jar,file:/dspace/lib/jakarta-poi.jar,file:/dspace/lib/jargon.jar,file:/dspace/lib/jaxen.jar,file:/dspace/lib/jdom.jar,file:/dspace/lib/jena.jar,file:/dspace/lib/jstl.jar,file:/dspace/lib/log4j.jar,file:/dspace/lib/lucene.jar,file:/dspace/lib/lucene-sandbox.jar,file:/dspace/lib/mail.jar,file:/dspace/lib/mets.jar,file:/dspace/lib/oaicat.jar,file:/dspace/lib/oro.jar,file:/dspace/lib/PDFBox.jar,file:/dspace/lib/postgresql-8.3-604.jdbc4.jar,file:/dspace/lib/postgresql.jar,file:/dspace/lib/rome.jar,file:/dspace/lib/serializer.jar,file:/dspace/lib/servlet.jar,file:/dspace/lib/standard.jar,file:/dspace/lib/tm-extractors.jar,file:/dspace/lib/xalan.jar,file:/dspace/lib/xercesImpl.jar,file:/dspace/lib/xml-apis.jar,file:/dspace/config/],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.90)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.90)
at java.lang.ClassLoader.loadClass(libgcj.so.90)
at java.lang.ClassLoader.loadClass(libgcj.so.90)
at java.lang.Class.forName(libgcj.so.90)
at java.lang.Class.initializeClass(libgcj.so.90)
...14 more
--
Vitor Hugo Martins
Departamento de Computação Científica
CICT / Fiocruz
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech