Hi, I've gone both ways on this, modifying the dependency in the pom to match the latest version of the Oracle driver, and also "renaming" the oracle driver in my own Maven repository (I.e. I load the current driver and give it the same numbers as what the DSpace pom is looking for). Either way works. But, yes, it is an area where the documentation could be more clear.
I'd also urge you to make use of Maven build profiles (either in profile.xml if you're using Maven 2.2, or in your personal Maven-settings file (%USER_HOME%/.m2/settings.xml) if you're using Maven 3 or higher. Build profiles let you keep stuff like db hosts, user names and passwords out of your version control system. Which is a good security measure, and it also lets you use the same version-controled code in multiple places, just changing out the DB credentials, to facilitate things like developer instances, a staging instance, a production instance, etc. More info here: http://maven.apache.org/guides/introduction/introduction-to-profiles.html -- HARDY POTTINGER <pottinge...@umsystem.edu> University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ "Do you love it? Do you hate it? There it is, the way you made it." --Frank Zappa On 6/13/12 11:14 AM, "helix84" <heli...@centrum.sk> wrote: >On Wed, Jun 13, 2012 at 5:51 PM, Walter Blandón <cblan...@eafit.edu.co> >wrote: >> I could install DSPACE with Oracle. > >I'm glad to hear that! > >> db.url = jdbc:oracle:thin:@database.host:1521/sid >> >> For own case, isn't SID dspace. > >Pardon, I didn't understand. What did you mean? > >> Previously, I installed Oracle JDBC driver (ojdbc6.jar) and modified >>POM file in [dspace-source]/pom.xml with current drive version: >> >> <project ...> >> >> <dependencies>> >> >> <!-- ORACLE database driver --> >> <dependency> >> <groupId>com.oracle</groupId> >> <artifactId>ojdbc6</artifactId> >> <version>11.2.0.3</version> >> </dependency> >> >> </dependencies> >> </project> >> >> The last step is not in Dspace documentation >>https://wiki.duraspace.org/display/DSDOC18/Installation > >I'll add it to the documentation. > >> Another point is that own database server is not in the same DSPACE >>server, so you also must install the Oracle client to the DSpace server >>and to modify tnsnames.ora and listener.ora files. > >Yes, it is so. I guess it won't hurt to document it, too. > >Regards, >~~helix84 > >-------------------------------------------------------------------------- >---- >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >DSpace-tech mailing list >DSpace-tech@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech