Hi,

In versions >1.5 you need to edit [dspace-src]/pom.xml and look for:

         <dependency>
            <groupId>postgresql</groupId>
            <artifactId>postgresql</artifactId>
            <version>8.1-408.jdbc3</version>
         </dependency>

Change the 'version' attribute as appropriate, and rebuild.

Thanks,


Stuart Lewis
Digital Services Programmer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/




Jeffrey Trimble wrote:
> We are running Postgresql 8.2 amd Tomcat 6, and have noticed that 
> Dspace 1.5.1 arrives with postgresql-8.1-408.jdbc3.jar.  
>
> I believe this may have caused some of my indexing (search) problems, 
> and wondered how to replace
> the driver with the newest jdbc4 driver that is compatible with 
> postgresql 8.2 and Tomcat 6?
>
> Is this a simple replacement of the .jar file, OR, is there some hard 
> coding done for this?  And if it is hard coded,
> where does one change it?
>
> TIA,
>
> Jeff
>
> Jeffrey Trimble
> System LIbrarian
> William F.  Maag Library
> Youngstown State University
> 330.941.2483 (Office)
> [email protected] <mailto:[email protected]>
> http://www.maag.ysu.edu
> http://digital.maag.ysu.edu
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ------------------------------------------------------------------------
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>   

-- 
Urban Andersson
Digitala biblioteket / Digital library
Göteborgs universitetsbibliotek / Göteborg University Library
Box 222, SE 405 30 Göteborg, SWEDEN
Tel: +46 (0)31 7866185
[email protected] 



------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to