2012-04-12 3 views
0

설명서가 없어도 매핑 SSDK 코드 샘플을 발견했습니다.Informatica Design SDK를 사용하여 매핑을 생성하는 중 오류가 발생했습니다.

현재 9.0으로 작업 중이며 더 많은 정보를 찾고 있습니다.

현재의 문제 중 하나를 들어

, 나는, 나는 다음과 같은 오류가 점점 오전 (XML 파일이 생성되는 동일한 폴더에 누워 pcconfig.properties과), 저장소에 매핑을 저장하려고하면

을 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 범위 내에 있는지 확인하십시오.

관련 문제