본문 바로가기

IT/OZ Report

[OZ Report] 1020070004 오류

728x90
반응형

해당 오류는 오즈 스케줄러 다중 출력시에 발생한 오류이다.

 

<oz app error>1020070004도큐먼트:  오즈 리포트 매니저를 생성하지 못했습니다.

 (그런 파일이나 디렉터리가 없습니다)

 

같은 에러 내용이 있었다.

 

해당 내용 현상 파악 결과 스케줄러 호출 시 사용하는 페이지에 문제가 있었다.

좀 더 상세히 말하면, 호출 뷰어 세팅이 잘못되었다.

 

 

exportMap.setProperty("viewer.childcount", "1");
exportMap.setProperty("global.concatpage", "true");

exportMap.setProperty("connection.servlet", "http://127.0.0.1:8080/oz80/server");
exportMap.setProperty("connection.reportname", "/testgg.ozr");
exportMap.setProperty("export.format", "pdf");
exportMap.setProperty("pdf.fontembedding", "true");

exportMap.setProperty("pdf.filename", "test1");

exportMap.setProperty("viewer.mode", "export");
exportMap.setProperty("viewer.useprogressbar", "false");
exportMap.setProperty("export.mode", "silent");
exportMap.setProperty("export.confirmsave", "false");

exportMap.setProperty("child1.connection.servlet", "http://127.0.0.1:8080/oz80/server");
exportMap.setProperty("child1.connection.reportname", "/testgg.ozr");
exportMap.setProperty("child1.export.format", "pdf");
exportMap.setProperty("child1.pdf.fontembedding", "true");

exportMap.setProperty("child1.viewer.mode", "export");
exportMap.setProperty("child1.viewer.useprogressbar", "false");
exportMap.setProperty("child1.export.mode", "silent");
exportMap.setProperty("child1.export.confirmsave", "false");



 

위 예제에서 exportMap.setProperty("child1.connection.servlet", "http://127.0.0.1:8080/oz80/server"); 이 

누락되어 발생한 문제였으며, 해당부분 수정후엔 정상적으로 동작하였다.

 

위와 같은 오류가 발생한다면, 예제를 참고하여 누락된 사항은 없는지 확인을 하면 된다.

 

728x90
반응형