Thanks!

That was the Problem. In downloaded postgresql-8.2-506.jdbc4.jar instead
of postgresql-8.2-506.jdbc3.jar! After replacing this. Starting the
PostgreSQL (I solved my access problem with pgadmin), saying 'ant clean'
and 'ant fresh_install' and I got finally the message 'BUILD SUCCESSFUL'!

Thank You all

Robert

PS @Christian: Tanks to the offer to contact You directly in mother
tongue. But I agree to You that the discussion over the list is better
to the benefit of all. :-)

-----

Christian Voelker schrieb:
> Hello,
> 
> Am 25.10.2007 um 12:51 schrieb Robert Roggenbuck:
> 
>> I'd like to install DSpace to check whether we can use it for our
>> planned OA-Repository. But reaching the point to say 'ant fresh_install'
>> I get the following error message where I can not figure out the reason:
>>
>> Buildfile: build.xml
>>
>> compile:
>>
>> install_code:
>>
>> build_wars:
>>
>> init_configs:
>>
>> setup_database:
>>       [java] 2007-10-25 12:36:16,477 INFO
>> org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
>>       [java] 2007-10-25 12:36:16,536 INFO
>> org.dspace.core.ConfigurationManager @ DSpace logging installed using
>> log4j.properties
>>       [java] Exception in thread "main"
>> java.lang.UnsupportedClassVersionError: Bad version number in .class file
> 
> My very first guess was "wrong JDBC connector version" but I wonder
> why nobody mentioned it so far as this absolutely standard error
> source. It is discussed in the docs and it was discussed on this
> list several times.
> 
> This guess is not contradictory to Claudias assumption: fresh_install
> can be run only once against a virgin database. It will always fail
> with a second try. So you have to remove the database with every try
> if you succeeded partially as in your example.
> 
> For the proper jdbc driver go to this page and study the matrix:
> 
> <http://jdbc.postgresql.org/download.html>
> 
> <http://jdbc.postgresql.org/download/postgresql-8.2-506.jdbc3.jar>
> 
> I guess, this is your driver and it should be the version that
> you get if you install through aptitude or whatever you use.
> 
> If aptitude installs another version, then try this one and
> check if it works. If this is fine, file a bug to debian.
> Also, search your Java path for duplicate jdbc drivers of
> different versions. Maybe, you installed the right version
> but it does not get used.
> 
> If you cant connect to postgres through psql then forget about
> the jdbc driver and fix this first. The pg_hba.conf file is the
> place to go and learn about.
> 
> Bye, Christian
> 
> (If german is more convenient, you may try by private mail, but
> I am online in the evening hours only and the list incorporates
> much more knowledge and experience.)
> 




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to