Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Problem with 1st Kitchen script in new environment

  1. #1

    Question Problem with 1st Kitchen script in new environment

    I have copied Kettle version 3.0,0-RC1 to a new Linux environment. We are now trying to deploy our jobs to run on this environment. In doing so, I have my KETTLE_REPOSITORY environment variable set to:

    “KETTLE_PROD:jdbcostgresql://<ServerURL>:5432/Kettle?user=kettle&password=<******>.

    When using the script below:
    kitchen.sh
    -rep:KETTLE_PROD
    -job:MoneyPennyLoad
    -dir:/
    -user:admin
    -pass:admin
    -level:Basic

    The following ClassFormatError exception is thrown. Please suggest how I can get around this exception.

    Thanks!!!!

    Exception in thread "main" java.lang.ClassFormatError: org.pentaho.di.core.logging.LogWriter (erroneous method access flags)
    at _Jv_ClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_ClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_ClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)
    at _Jv_ClassReader.parse() (/usr/lib/libgcj.so.5.0.0)
    at _Jv_DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
    at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)
    at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_BytecodeVerifier.type.compatible(_Jv_BytecodeVerifier.type&, _Jv_BytecodeVerifier) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
    at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
    at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
    at __gcj_personality_v0 (/opt/Kettle/jobs/java.version=1.4.2)
    at __libc_start_main (/lib/tls/libc-2.3.4.so)
    at _Jv_RegisterClasses (/opt/Kettle/jobs/java.version=1.4.2)

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Switch to the Sun JDK!

    Regards,
    Sven

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.