Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Unable to load job entry....

  1. #1

    Default Unable to load job entry....

    Hello all!
    I have the next code:
    for (int i = 0; i < rep.getJobNames().length; i++) {
    log.info("Job name - >"+rep.getJobNames()[i]);
    JobMeta jobMeta = null;

    try {
    jobMeta = new JobMeta(logKettle, rep, rep.getJobNames()[i], repDir);
    } catch (KettleDatabaseException ex) {
    ex.printStackTrace();
    } catch (KettleException ex) {
    ex.printStackTrace();
    }
    Job job = new Job(logKettle,steploader,rep,jobMeta);
    try {
    job.execute();
    } catch (KettleException ex) {
    ex.printStackTrace();
    }

    }
    } catch (KettleDatabaseException ex) {
    ex.printStackTrace();
    }
    But i have exception: Unable to load job entry of type 'trans' from the repository for id_jobentry=6
    Why? I'm must load transformation? How?
    I'm canot find file pan.java :-(

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

    Default

    For pan.java http://kettle.pentaho.org/svn/Kettle...e/pan/Pan.java (v2.5.2)

    Regards,
    Sven

  3. #3

    Default

    Many thanks you are very kind!
    Russian Bob ;-)

  4. #4

    Default

    Ihave the Code
    for (int i = 0; i < rep.getJobNames().length; i++) {
    jobPlugin = jeloader.findJobEntriesWithDescription("TRANS");
    JobMeta jobMeta = new JobMeta(logKettle, rep, rep.getJobNames()[i], repDir);
    But, after last string i recived exception.......

    Unable to load job entry of type 'trans' from the repository for id_jobentry=6.............

    Why? I must use other object to get exisiting in repository jobs?

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.