Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Problem Running Job in New Linux Environment

  1. #1

    Default Problem Running Job in New Linux Environment

    64 Bit Linux, PDI 2.5.1, MySQL 5 (community edition). I have a job that runs fine from my Windows Client. When I try to run the job from the command line on a Linux server, it fails with a failed to connect to db error (see fragment below, full log attached). This is a new Kettle environment, so I'm thinking it is a configuation issue. Any ideas what I should look at?

    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : An error occurred, processing will be stopped:
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : Error occured while trying to connect to the database
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) :
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : Error connecting to database: (using class org.gjt.mm.mysql.Driver)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : Unable to connect to database.Underlying exception:
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) :
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : java.lang.NullPointerException
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) :
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : ** BEGIN NESTED EXCEPTION **
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) :
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : java.lang.NullPointerException
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) :
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : STACKTRACE:
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) :
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : java.lang.NullPointerException
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : at com.mysql.jdbc.Connection.createNewIO(Connection.java:2688)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : at java.sql.DriverManager.getConnection(libgcj.so.7rh)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : at java.sql.DriverManager.getConnection(libgcj.so.7rh)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : at be.ibridge.kettle.core.database.Database.connectUsingClass(Database.java:395)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : at be.ibridge.kettle.core.database.Database.normalConnect(Database.java:281)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : at be.ibridge.kettle.core.database.Database.connect(Database.java:246)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : at be.ibridge.kettle.core.database.Database.connect(Database.java:208)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : at be.ibridge.kettle.trans.step.dimensionlookup.DimensionLookup.init(DimensionLookup.java:699)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : at be.ibridge.kettle.trans.step.StepInitThread.run(StepInitThread.java:45)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : at java.lang.Thread.run(libgcj.so.7rh)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) :
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) :
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : ** END NESTED EXCEPTION **
    2007/09/12 18:31:51 - DIMENSION_CENSUS_RESPONSE - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : Error initializing step [DIMENSION_CENSUS_RESPONSE]
    2007/09/12 18:31:51 - DIMENSION_CENSUS_OBSERVATION.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : An error occurred, processing will be stopped:
    2007/09/12 18:31:51 - DIMENSION_CENSUS_OBSERVATION.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : Error occured while trying to connect to the database
    2007/09/12 18:31:51 - DIMENSION_CENSUS_OBSERVATION.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) :
    2007/09/12 18:31:51 - DIMENSION_CENSUS_OBSERVATION.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : Error connecting to database: (using class org.gjt.mm.mysql.Driver)
    2007/09/12 18:31:51 - DIMENSION_CENSUS_OBSERVATION.0 - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : Cannot load connection class because of underlying exception: 'java.lang.NullPointerException'.
    2007/09/12 18:31:51 - DIMENSION_CENSUS_OBSERVATION - ERROR (version 2.5.1, build 1 from 2007/09/12 18:31:49) : Error initializing step [DIMENSION_CENSUS_OBSERVATION]
    Last edited by clavigne; 05-13-2008 at 01:44 PM.

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Code:
    at java.lang.Thread.run(libgcj.so.7rh)
    Make sure you use a Sun JRE or at least install an update to GCJ.

    Cheers,
    Matt

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.