Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Getting error while repository information is not available while it should be

  1. #1
    Join Date
    Mar 2013
    Posts
    127

    Default Getting error while repository information is not available while it should be

    Hi All,

    There are some Pentaho transformations in our local repository (file based repository), where we have to call these transformations as webservice (as per requirement).

    I am trying to access this (standardize.ktr) transformation as webservice but its throwing below error.

    Error executing transformation <ktr name>
    unable to load mapping transformation because of error
    Repository information is not available, when it should be.

    below is url i have used:
    http://localhost:8181/kettle/executeTrans/?trans=C:\srv\pentaho\ti-etl\pentaho-repository\services\core\address\standardize.ktr


    I have also attached screenshot, it shows error along with html chars and its very hard to get it.
    Attachment 17617

    I have also gone through below pentaho wiki for this

    http://wiki.pentaho.com/display/EAI/...r+web+services

    When i use trans parameter %2Fservices%2Fcore%2Faddress%2Fstandardize.ktr instead of C:\srv\pentaho\ti-etl\pentaho-repository\services\core\address\standardize.ktr it throws me below error

    unable to load transformation from repository, null pointer exception.

    Any help/inputs will be really appreciated.


    --
    Regards,
    Mateen


    Attached Images Attached Images  
    Last edited by MateenSA; 02-01-2017 at 04:37 PM.
    Regards,
    Mateen

  2. #2
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    You must use parameter rep if you load from a repository:

    .../executeTrans/?rep=repoName&trans=%2Fservices%2Fcore%2Faddress%2Fstandardize.ktr

    Screenshots tend to be unreadable, and so is yours.
    So long, and thanks for all the fish.

  3. #3
    Join Date
    Mar 2013
    Posts
    127

    Default

    Hi,

    Thanks for replying.


    I have tried in the way that you are suggested. Now it was showing error like 'Unable to find transformation'. I am using below URL.

    ?rep=ti-pentaho01-file&trans=%2Fservices%2Fcore%2Faddress%2Fstandardize.ktr

    http://localhost:8181/kettle/execute...tandardize.ktr

    Do we need to convert - char in rep parameter to some other format?
    Last edited by MateenSA; 02-03-2017 at 10:59 PM.
    Regards,
    Mateen

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.