Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: How to execute jar file from pentaho / ETL

  1. #1
    Join Date
    Mar 2012
    Posts
    276

    Default How to execute jar file from pentaho / ETL

    Hi all ,

    I need to run a jar file from pentaho ETL .
    I have placed Testvmarguments.jar file in server/data-integration-server/tomcat/lib .
    Created job,with shell script step to execute the jar file


    Below is my log:-
    INFO 02-01 17:05:59,002 - ImageImporter - Start of job execution
    INFO 02-01 17:05:59,007 - ImageImporter - Starting entry [Shell]
    INFO 02-01 17:05:59,008 - Shell - Running on platform : Linux
    INFO 02-01 17:05:59,008 - Shell - Executing command : /home/Myname/MyFolder/dummy.txt
    INFO 02-01 17:05:59,014 - Shell - (stderr) Unable to access jarfile Testvmarguments.jar
    INFO 02-01 17:05:59,015 - ImageImporter - Finished job entry [Shell] (result=[false])
    INFO 02-01 17:05:59,015 - ImageImporter - Job execution finished
    INFO 02-01 17:05:59,017 - Kitchen - Finished!
    ERROR 02-01 17:05:59,017 - Kitchen - Finished with errors
    INFO 02-01 17:05:59,017 - Kitchen - Start=2014/01/02 17:05:56.504, Stop=2014/01/02 17:05:59.017
    INFO 02-01 17:05:59,017 - Kitchen - Processing ended after 2 seconds.

    Can some one help to overcome above error .jar file in DI environment..!!!

    I have attached a zip file that has Testvmarguments.jar , dummy.txt and job .



    Thanks,
    Surya
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2012
    Posts
    276

    Default

    Tried after putting jar inside the libext directory of data-integration(pentaho).

    still same error ,
    INFO 02-01 17:52:36,800 - Shell - Executing command : /home/Myname/MyFolder/dummy.txt+
    INFO 02-01 17:52:36,809 - Shell - (stderr) Unable to access jarfile Testvmarguments.jar


    Any suggestions

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.