用于批处理故障诊断的 COBOL 容器
如果使用 COBOL 容器以进行批处理故障诊断时遇到问题,那么具有多个可用选项。
调试跟踪
要启用跟踪 COBOL 容器代码,请将以下内容添加到 Java™ 跟踪规范中:
com.ibm.ws.batch.ilc.*=all
com.ibm.websphere.batch.ilc.*=all
性能跟踪
要监视 COBOL 容器调用的性能,请激活以下 Java 跟踪规范:
com.ibm.ws.batch.ilc.impl.LEChildEnvironment.invokeProcedure=all
激活此 Java 跟踪规范时,跟踪会将以下行打印到作业日志中的每个 COBOL 调用后:
Returned from procedure {name}, duration=1335875 ns, rc=0
报告的持续时间包含 COBOL 过程和环绕的容器代码的执行时间。
常见错误
错误 | 建议的解决方案 |
---|---|
com.ibm.websphere.batch.ilc.ILContainerException: mkfifo failed with rc=-1 | 确保 ${GRID_JOBLOG_ROOT}/joblogs 目录存在,且可由 WebSphere® Application Server SR 用户标识写入。 |
com.ibm.websphere.batch.ilc.ILContainerException: LEChildEnvironment.create failed (CEEPIPI function:0x5A rc:0x0000006F rsn:0x5B400002) | 确保 PIPIENV 位于 LIBPATH (server_region_libpath) 上,且可由 WebSphere Application Server SR 用户标识执行。 |
java.lang.UnsatisfiedLinkError: LECENV (Not found in java.library.path) | 确保 libLECENV.so 位于 LIBPATH (server_region_libpath) 上,且可由 WebSphere Application Server SR 用户标识执行。 |