Tag Archives: jetty

Deploying OpenBD is now easier then ever

The OpenBD project just released an updated OpenBD/Jetty bundle. With this release the directory structure wasd rearranged to make it obvious where all the pieces go, and most importantly, OpenBD is installed into the root context, making CFML processing available to all websites and contexts.

What this means is a much reduced overhead when running multiple websites as there will only be one OpenBD instance running and it allows you to quickly add new websites.

Head over to the blog of OpenBD to read up the whole release article.

Comments { 11 }

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.

Comments { 4 }

How to start Open BlueDragon in MacOS X

Now you have downloaded the Open BlueDragon Jetty Ready2Start package and read the Read-Me and you get errors trying to start it that looks like this:

sh-3.2# java -Mx512M -jar start.jar
Unrecognized option: -Mx512M
Could not create the Java virtual machine.

It looks like that MacOS X handles this a little bit different. Thus you will want to start it with the following commands:

java -jar -Xmx512M start.jar

Comments { 47 }