Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: ETL execution from BI server

  1. #1
    Join Date
    Mar 2012
    Posts
    276

    Default ETL execution from BI server

    HI all,

    I am trying to Execute a jar file from ETL - This works fine .
    When i am trying to call same ETL from xaction - This is showing errors as ,

    ERROR 05-02 09:58:28,491 - Call Data Importer - org.pentaho.di.core.exception.KettleValueException:
    Javascript error:
    TypeError: Cannot call property runImageImpoter in object [JavaPackage com.MyTest.Data.Importer]. It is not a function, it is "object". (script#5)

    at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:458)
    at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.processRow(ScriptValuesMod.java:689)
    at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50)
    at java.lang.Thread.run(Unknown Source)
    Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot call property runImageImpoter in object [JavaPackage com.MyTest.Data.Importer]. It is not a function, it is "object". (script#5)
    at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3557)
    at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3535)
    at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3563)
    at org.mozilla.javascript.ScriptRuntime.typeError3(ScriptRuntime.java:3589)
    at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3649)
    at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2186)
    at org.mozilla.javascript.gen.c21._c0(script:5)
    at org.mozilla.javascript.gen.c21.call(script)
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
    at org.mozilla.javascript.gen.c21.call(script)
    at org.mozilla.javascript.gen.c21.exec(script)
    at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:377)
    ... 3 more

    Any help would be highly appreciated .

    Thanks,
    Surya

  2. #2
    Join Date
    Mar 2012
    Posts
    276

    Default

    My bad , we need to move jar file to tomcat lib folder too...!!!!(from pdi/libext)

Tags for this Thread

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.