Pentaho

 View Only
  • 1.  Unable to load Pentaho Job through command line

    Posted 06-03-2022 05:01
    Hi,

    I get error when run a Pentaho job using command line script on Pentaho 9.2 version.

    This is the code :

    cd C:\Program Files\pdi-ce-9.2.0.0-290\data-integration &&kitchen.bat /file:C:\Program Files\pdi-ce-9.2.0.0-290\Pentaho Job\Logistic\BasicDetail.kjb /level:Basic

    This is an error message :

    Unable to load the job from XML file [C:\Program]
    File [file:///C:/Program] does not exists.
    ERROR: Kitchen can't continue because the job couldn't be loaded.


    Please help to resolved the problem. Since i don't have any reference for this case.

    Thanks


    ------------------------------
    Wijaya

    ------------------------------


  • 2.  RE: Unable to load Pentaho Job through command line

    Posted 06-04-2022 08:55
    Try add quotation marks to location?

    cd "C:\Program Files\pdi-ce-9.2.0.0-290\data-integration"  && kitchen.bat /file:"C:\Program Files\pdi-ce-9.2.0.0-290\Pentaho Job\Logistic\BasicDetail.kjb" /level:Basic

    ------------------------------
    ember zhang
    Product Manager
    ct
    ------------------------------



  • 3.  RE: Unable to load Pentaho Job through command line

    Posted 06-05-2022 22:27
    Hi @ember zhang,

    That's worked. Excellent​.

    Thanks for your help.

    Regards,

    Wijaya
    Data Service Manager

    ------------------------------