Troubleshooting Oracle BI Publisher with OBIEE
要利用OBIEE调试Oracle BI Publisher(以前称XML Publisher)10g企业版的问题,首先你应该启用BI Publisher的调试功能。
请按如下操作启用调试功能并生成调试文件(视操作系统不同而有时不同)
1) 确定JDK安装路径,例如:
Unix: /oracle/as10g/jdk1.5.0_10
Windows: D:\oracle\as10g\jdk1.5.0_10
2) 创建一个临时目录以存放调试文件:
Unix: $ mkdir /oracle/as10g/xmldebug
Windows: D:\> mkdir \oracle\as10g\xmldebug
3) 在下面目录下创建一个新文件,将其命名为xdodebug.cfg(基于第一步)
Unix: /oracle/as10g/jdk1.5.0_10/jre/lib
Windows: D:\oracle\as10g\jdk1.5.0_10\jre\lib
4) 将以下两行信息写进xdodebug.cfg文件中:
Unix: LogLevel=STATEMENT
LogDir=/oracle/as10g/xmldebug
Windows: LogLevel=STATEMENT
LogDir=D:\oracle\as10g\xmldebug
5) 重启应用服务器(要有Java运行环境来获取设置文件)
6) 重现错误
7) 依调研的情况不同,将生成不同的调试文件:
xdo.log : XML Publisher Core engine debug log file
xdo_...xsl : XSL-FO version of the RTF template
xdo_...xml : XML data file
xdo_...fo : temporary file created by the FO Engine (only RTF / XSL templates)
xdo_...out : output file (may not exist in case of complete failure)