- UID
- 140387
- 阅读权限
- 20
- 帖子
- 919
- 精华贴数
- 1
- 技术排名
- 924
- 技术积分
- 2487
- 社区排名
- 24410
- 社区积分
- 5
- 注册时间
- 2004-10-5
- 精华贴数
- 1
- 技术积分
- 2487
- 社区积分
- 5
- 注册时间
- 2004-10-5
- 论坛徽章:
- 10
|
发表于 2008-12-12 20:23:56
|显示全部楼层
环境: 11.5.10.2 + XML publisher: 5.6.3
前阶段一直为xml publisher 输出大的文件而困, 我们的输出xml 文件有130多M,
所以, 在产生PDF的时候,oracle 始终无法给我正常产生, 抛出的错误信息主要为:
java.lang.ArrayIndexOutOfBoundsException: 65540
可以参考 Note:567545.1
最后解决方式是上patch,解决这个问题的过程, 有一个麻烦点,就是如何确认我们输出的xml 是没有问题的。
这点, 我找了个搞.net 的,帮忙做了一下验证, 方法非常好, 不然100多M的东东,验证是相当烦的。
现在分享给大家, 有遇到的朋友能少走一些弯路。
解决步骤:
===========================================
Set up XSLT (JVM memory enhancements):
1. Login as XML Publisher Administrator.
2. Select Administration.
3. Under Temporary Directory pick a temp location on your concurrent processing node.
Should be at least 5GB or 20x larger than largest data file running.
4. Under FO Processing:
Use XML Publisher's XSLT processor set to True
Enable scalable feature of XSLT processor set to True
Enable XSLT runtime optimization set to True.
5. Save your changes.
6. Bounce the concurrent managers.
7. Test your reports.
===========================================
1) Please download and review the readme for Patch.6688384.
2) Please apply Patch.6688384 in a test environment.
3) Please retest the issue.
4) If the issue is resolved, please migrate the solution as appropriate to other environments. |
|