Skip to main content
Participating Frequently
October 12, 2009
Question

CF8 - GDSFactory class error when connecting to Firebird DB

  • October 12, 2009
  • 1 reply
  • 2300 views

Hello,

    I am trying to get started in learning CF but I can't seem to get past the starting gate.  The problem is in connecting to the Firebird DB.

   I followed the instructions from many blogs and forums (including this one which is most helpful: http://pabloj.blogspot.com/2008/07/setting-up-coldfusion-and-firebird.html). I downloaded the Jaybird 2.1.6 driver from the www.firebirdsql.org site and placed jaybird-full-2.1.6.jar in c:\coldfusion8\lib folder.  I also tried putting it in the c:\coldfusion\runtime\lib, c:\coldfusion\wwwroot\WEB-INF\lib -- all to no avail.

    The error I'm getting (from the exception.log file) is:

"Error","web-0","10/12/09","10:18:03","cfadmin","Could not initialize class org.firebirdsql.gds.impl.GDSFactory The specific sequence of files included or processed is: C:\ColdFusion8\wwwroot\CFIDE\administrator\logging\index.cfm, line: 142 "
java.lang.NoClassDefFoundError: Could not initialize class org.firebirdsql.gds.impl.GDSFactory

    at org.firebirdsql.jdbc.FBDriver.acceptsURL(FBDriver.java:190)
    at java.sql.DriverManager.getDriver(DriverManager.java:253)
    at coldfusion.sql.JdbcImpl.getConnection(JdbcImpl.java:79)
    at coldfusion.sql.JdbcImpl.getConnection(JdbcImpl.java:59)
    at coldfusion.sql.SqlImpl.execute(SqlImpl.java:297)
    at coldfusion.tagext.sql.QueryTag.executeQuery(QueryTag.java:831)
    at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:521)

    Any suggestions on where to go next would be most appreciated.  I've been trying different things for almost 2 weeks now and have reached a dead end.  Thanks in advance,

         vince

         pittsburgh, pa

This topic has been closed for replies.

1 reply

ilssac
Inspiring
October 12, 2009

What exact flavor of ColdFusion did you choose to install?  I.E. Standalone, multi-home, J2EE?  Each of these install CF in slightly different ways and the relationship to the JVM will differ.  The example you posted a link to shows a Standalone installation.

vinzinAuthor
Participating Frequently
October 12, 2009

Ian,

   Thanks for the reply.  I believe I am running CF standalone.  I do not have IIS installed on my local machine.  Would it be worthwhile for me to install IIS and see if that changes anything?

        vince

ilssac
Inspiring
October 12, 2009

I can't imagine how IIS would have anything to do with this.  It is not going to change your JVM or where the JVM lives.

Open your ColdFusion administrator and click on the blue circle with an "I" in it at the upper right corner.

What does this page tell you.  It should list what version of CF you are running, where and what JVM you have it connected to and if the JAR you are trying to install has been installed.