Getting Oracle database to work with Open BlueDragon

There is a lot of movement around the release of Open BlueDragon. It is good to see the community reacting positively to the open source endeavors of New Atlanta.

We, here at SixSigns, are currently testing our soon to be released open source Media Asset Management (MAM) with integrated Content Management called RAZUNA with the current release of Open BlueDragon.

As Razuna comes from our commercial product and that product stores every media asset in the Oracle 10G R2 database (future releases will support MySQL and other databases) it was one of the first tasks to get the Oracle database working with Open BlueDragon.

Open BlueDragon does not (yet) feature a full blown Admin section, so you will have to edit the XML file. But don’t let it hold you back. It is simple to understand and easy to change things.

Anyhow to add the Oracle database to Open BlueDragon you have to do the following:

  1. Download the appropriate JDBC Driver from Oracle (the ojdbc.14.jar) is just fine.
  2. Place that file into the folder “WEB-INF/lib”.
  3. Edit the bluedragon.xml file (WEB-INF/bluedragon) and add the following lines. Make sure they are in the <cfquery> section;

<datasource name=”oracle”>
<name>myschema</name>
<logintimeout>120</logintimeout>
<databasename>myschema</databasename>
<initstring></initstring>
<connectionretries>0</connectionretries>
<connectiontimeout>120</connectiontimeout>
<username>myschema</username>
<sqlstoredprocedures>true</sqlstoredprocedures> <hoststring>jdbc:oracle:thin:@mydomain:1521:ORCL</hoststring> <sqlupdate>true</sqlupdate>
<perrequestconnections>true</perrequestconnections>
<drivername>oracle.jdbc.OracleDriver</drivername>
<sqlinsert>true</sqlinsert>
<sqldelete>true</sqldelete>
<password>mypassword</password>
<maxconnections>24</maxconnections>
<sqlselect>true</sqlselect>
</datasource>

Once done, save and restart Jetty, JBoss or Tomcat.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Tags: , , , , , , , , , ,

About Razuna

This is the official blog of the Open Source Digital Asset Management System - Razuna. Razuna is the incredible easy way to manage all your Digital Assets. As the Open Source Alternative to Digital Asset Management (DAM) System you can save up to 90% with Razuna compared to any proprietary System. By using Razuna you get the benefit of it being free and open source and supported by a professional company. There are many options to try out Razuna today! Either, download your own version, create a free account on our Razuna Hosted Platform or get your own Razuna Cloud Server.

No comments yet.

Leave a Reply

You must be logged in to post a comment.