Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Connection to Firebird DB

  1. #1
    Join Date
    Apr 2014
    Posts
    2

    Default Connection to Firebird DB

    Hi,
    I'm testing Pentaho server CE 5.0 and I'm trying to create a Database Connection to a Firebird db. I'm using Windows 8.1; the Pentaho server and the Firebird server run on the same machine.
    I've copied the jaybird-full-2.2.4.jar inside the lib directory of Tomcat.
    I've started the CE server and I've defined a connection using "Generic Database".
    The settings I'm using are:
    custom connection URL:
    jdbc:firebirdsql:<server>[/<port>]:/<database-file>

    custom driver class name:
    org.firebirdsql.jdbc.FBDriver

    and the user name and password.
    When I test the connection I get this:


    Errore di connessione al database:
    org.pentaho.di.core.exception.KettleDatabaseException:
    Error occured while trying to connect to the database


    Error connecting to databaseusing class org.firebirdsql.jdbc.FBDriver)
    could not initialize class org.firebirdsql.gds.impl.GDSFactory


    org.pentaho.di.core.exception.KettleDatabaseExce


    I've tried the other JDBC URL as indicated in the Infocenter (JDBC Type 4, as per the jdbc driver), but it doesn't work.
    Did anybody try to connect to a Firebird DB successfully?

  2. #2
    Join Date
    Oct 2014
    Posts
    1

    Default

    Hi


    first of all, Your must have suitable jaybird for Your JRE version
    If You have JRE17, then download a Jaybird-2.2.5JDK_1.7.zip


    With data-integration and report-designer it works very well, bun not
    with BI Server


    I've error like:


    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
    at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617)
    at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1774)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassCastException: org.firebirdsql.gds.impl.oo.OOGDSFactoryPlugin cannot be cast to org.firebirdsql.gds.impl.GDSFactoryPlugin
    at org.firebirdsql.gds.impl.GDSFactory.loadPluginsFromClassLoader(GDSFactory.java:133)
    at org.firebirdsql.gds.impl.GDSFactory.<clinit>(GDSFactory.java:96)
    ... 88 more
    2014-10-31 08:34:12,399 ERROR [org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceImpl] Error end:



    Add data source with jaybird in report-designer
    Name:  rd-datasource.jpg
Views: 718
Size:  25.8 KB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.