You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/04/02 07:21:58 UTC

[jira] Updated: (CONTINUUM-1586) Oracle DB use in Continuum

     [ http://jira.codehaus.org/browse/CONTINUUM-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated CONTINUUM-1586:
------------------------------------

    Fix Version/s: 1.2

> Oracle DB use in Continuum
> --------------------------
>
>                 Key: CONTINUUM-1586
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1586
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Data Management
>    Affects Versions: 1.1
>         Environment: An Oracle DB
>            Reporter: Raul Casado Piqueras
>            Priority: Trivial
>             Fix For: 1.2
>
>         Attachments: package-oracle.orm
>
>
> Continuum is not able to run against an Oracle DB.
> I have attached a patch that should be included in next releases in continuum in order to support Oracle DB. Should be packed in continuum-model-x.y.jar
> Workaround till next release with this pacth applied:
> 1. copy the attached file into WEB-INF/classes/ dir
> 2. edit the application.xml and change the value of javax.jdo.option.Mapping property to oracle (you may have to make available this property)
>           <property>
>             <name>javax.jdo.option.Mapping</name>
>             <value>oracle</value>
>           </property>
> 3. edit your context.xml file or whatever you use in order to set the oracle settings:
>   <Resource name="jdbc/users"
>             auth="Container"
>             type="javax.sql.DataSource"
>             username="continuum"
>             password="s3cr3t"
>             driverClassName="oracle.jdbc.driver.OracleDriver"
>             url="jdbc:oracle:thin:@192.168.1.25:1521:BDD01" />
>   <Resource name="jdbc/continuum"
>             auth="Container"
>             type="javax.sql.DataSource"
>             username="continuum"
>             password="s3cret"
>             driverClassName="oracle.jdbc.driver.OracleDriver"
>             url="jdbc:oracle:thin:@192.168.1.25:1521:BDD01" />
> 4. copy ojdbc14.jar into the classpath (TOMCAT_HOME/common/lib or WEB-INF/lib)
> Tested with Oracle 10g

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira