2012-04-12 5 views
0

マッピングsdkコードのサンプルが見つかりましたが、ドキュメントはまったく見つかりませんでした。マッピングを作成するためにInformatica Design SDKを使用しているときにエラーが発生しました

現在、9.0で作業しています。私は詳細を探しています。現在の問題のいずれかの

、私はリポジトリへのマッピングを保存しようと、(pcconfig.propertiesはxmlファイルが生成されているのと同じフォルダ内に横たわって)、私は次のようなエラーになっています:

をAPIを介して自分の道を見つけようとして
Written the file.. 

Caught an exception in run() method 

java.io.IOException: Cannot run program ""C:\Informatica\pmrep"" (in directory "C:\Informatica"): CreateProcess error=2, The system cannot find the file specified 

java.io.IOException: Cannot run program ""C:\Informatica\pmrep"" (in directory "C:\Informatica"): CreateProcess error=2, The system cannot find the file specified 

com.informatica.powercenter.sdk.mapfwk.exception.MapFwkOutputException: Error saving to repository : Failed to connect to repository 

    at com.informatica.powercenter.sdk.mapfwk.xml.XMLWriter.save(Unknown Source) 

    at com.informatica.powercenter.sdk.mapfwk.repository.Repository.save(Unknown Source) 

    at TestRaghavExample.generateOutput(TestRaghavExample.java:259) 

    at TestRaghavExample.create(TestRaghavExample.java:64) 

    at TestRaghavExample.main(TestRaghavExample.java:272) 

Caught an exception in run() method 

これは私の最初の例です..

+0

その間にAPIのjavadocが見つかりましたが、それほど役に立ちません。ドキュメントは実際にはごくわずかです。 – Gyan

答えて

0

pmrepユーティリティへのパスが正しく表示されません。通常、WindowsのパスC:\Informatica\<version>\server\binにあります。

PC_CLIENT_INSTALL_PATHの値がpcconfig.propertiesであることを確認してください。