用于批处理故障诊断的 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 过程和环绕的容器代码的执行时间。

常见错误

表 1. 运行 COBOL 容器时发生的常见错误和建议的解决方案. 此表列出运行 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 用户标识执行。

指示主题类型的图标 参考主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rgrid_cobol_container_troubleshooting
文件名:rgrid_cobol_container_troubleshooting.html