해당 오류는 오즈 스케줄러 다중 출력시에 발생한 오류이다.
<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"); 이
누락되어 발생한 문제였으며, 해당부분 수정후엔 정상적으로 동작하였다.
위와 같은 오류가 발생한다면, 예제를 참고하여 누락된 사항은 없는지 확인을 하면 된다.
'IT > OZ Report' 카테고리의 다른 글
[OZ Report]조건에 따른 이미지 설정 (0) | 2022.01.06 |
---|---|
[OZ Report] log4j 취약점 대응방안 (1) | 2021.12.24 |
[OZ Report]오즈리포트 멀티보고서 호출 (0) | 2021.12.15 |
[OZ Report]오즈리포트 스크립트 정리2 (0) | 2021.12.14 |
[OZ Report]log4j 취약점 (0) | 2021.12.14 |