[progress News] [progress Openedge Abl] How To Configure Datadirect Jdbc Connections On...

Status
Not open for further replies.
S

Sumit Sarkar

Guest
Yellowfin makes business intelligence easy for anyone, from small business to massive enterprises. Here’s how to configure it with DataDirect JDBC connectors.

This tutorial comes out of our recent tutorial rumble, courtesy of John Sullivan, Senior Technical Support Engineer, DataDirect Support Team. We hope to keep bringing you the best lessons and tutorials available to help you achieve all of your data connectivity goals.

Basic Commands and Server Log-In Information


Start Server - <Yellowfin Home>\appserver\bin\startup.bat

Stop Server - <Yellowfin Home>\appserver\bin\shutdown.bat



Connect to Yellowfin server - http://<Computer Name>:<Port Number>

•<ComputerName> is the name of the machine on which Yellowfin was installed

•<Port Number> is the port chosen during installation (port 8080 by default).



Once you are at the home page, you can login with the user credentials below:

•User name: admin@yellowfin.com.au

•Password: test

login-with-the-user-credentials-below.png


Adding Progress DataDirect JDBC Connection Drivers


top

This example shows how to configure a connect for JDBC MongoDB driver. Other DataDirect JDBC drivers will follow a similar format.

How to add additional Progress DataDirect drivers:

  1. Copy the JDBC driver JAR file(s) into the Yellowfin/appserver/webapps/ROOT/WEB-INF/lib/ directory.
  2. Edit the file Yellowfin/appserver/webapps/ROOT/WEB-INF/web.xml. Add the class name of the DataDirect driver to the list in the JDBCDrivers parameter.
    <init-param>

    <param-name>JDBCDrivers</param-name>

    <param-value>

    com.connectioncloud.jdbc.Driver,

    jp.co.mdit.aql.jdbc.AqlDriver,

    net.sourceforge.jtds.jdbc.Driver,

    .

    .

    .

    com.treasuredata.jdbc.TreasureDataDriver,

    com.facebook.presto.jdbc.PrestoDriver,

    com.pb.spectrum.jdbc.driver.BIDataStoreDriver, ß Be sure to add comma at end of previous line

    com.ddtek.jdbc.mongodb.MongoDBDriver ß Driver class added for Mongo DB driver

    </param-value>

    </init-param>

  3. Restart the Yellowfin server for the new driver to become available.


  4. Log into the Yellowfin server. On the Yellowfin homepage, select "Administration" and then "Admin Console."
    log-into-the-yellowfin-server.png


  5. Select "Data Sources" and then "Add."


  6. Configure the data source.


    Source Name: MongoDB (Any name is good)

    Database: Generic JDBC data source


    JDBC driver: com.ddtek.jdbc.mongodb.MongoDBDriver

    Connection String: jdbc:datadirect:mongodb://<MyServer>:27017; SchemaDefinition= C:\\<PathToMappingFiles>\\MyServer.config;

    User Name: xxxxxx

    Password: xxxxxx

    Note: In this example, the user name and password were not required for a connection to MongoDB.
    configure-the-data-source.png


  7. Select “Click here to test the connection.”

A successful connection will display the database name and metadata information.

click-here-to-test-the-connection.png

At this point, Yellowfin reports can be built using the new data source.

To edit a current data source, select "Data Sources" and then click on the data source to edit.

All finished


MongoDB connectivity via JDBC or ODBC is easier than ever with DataDirect JDBC and ODBC connectors for MongoDB. They provide fast SQL access to business critical data while also enabling you to access NoSQL data without additional server installations. Integrate your MongoDB data without having to duplicate data or flatten complex documents. Visit our information page to learn more or try it free for 15 days.


Try Now

Continue reading...
 
Status
Not open for further replies.
Top