升级到Notes 11-Apache POI Java库问题 [英] Upgrade to Notes 11 - issue with Apache POI java library

查看:74
本文介绍了升级到Notes 11-Apache POI Java库问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在Domino 9服务器上运行的多个Xpages应用程序中使用Apache POI库.现在,当将HCL Notes Designer升级到R11时,我们可以看到Apache POI在4.1.1版本的jvm \ lib \ ext文件夹中可用(由Notes本身使用,请参见此处

We are using Apache POI library in several Xpages applications running on Domino 9 servers. Now when upgrading HCL Notes Designer to R11 we can see that Apache POI is available in jvm\lib\ext folder in version 4.1.1 (used by Notes itself see here https://nevermind.dk/nevermind/blog.nsf/subject/an-important-change-in-hcl-notes-v11) . And here is an issue ... our applications are using Apache POI 3.x, Apache POI libs area attached into 'jars' in database design, but for some reason Designer is using the newer one from filesystem and not ours. Apache POI 4.x and 3.x is not compatible in some areas so we have a compilation errors.

这种情况的解决方案是什么?应用程序应该在R9服务器上运行,我们不应该仅仅因为HCL在Notes内部使用Apache POI 4.x来重写它们.有没有一种方法可以强制应用程序使用附加在我们应用程序中的Apache POI?

What is the solution for such situation? Apps are supposed to run on R9 servers and we are not supposed to rewrite these just because HCL uses Apache POI 4.x internally in Notes. Is there a way how to force an application to use Apache POI that is attached in our application?

推荐答案

与HCL技术支持进行了讨论并得到了答案,除了升级到R11之外,没有其他方法可以更新我们的应用程序代码.只需记住,Apache POI 4.x及更高版本需要JAVA 8,因此在进行代码更新时,至少需要Domino R9 FP8及更高版本.

Discussed with HCL technical support and got an answer, that there is no other way than update our application code when upgrading to R11. One just have to keep in mind that Apache POI 4.x and up requires JAVA 8, so one needs at least Domino R9 FP8 and higher when doing code update.

但通常在仍然运行 R9 FP8+ 时执行此操作会更好,因为这样可以临时使用两个 Apache POI 版本.因此,我们可以将代码迁移到POI 4.1.1,然后可以进行R11升级.如果在那里使用Apache POI,则此POI问题与xPages和Java代理有关.还有我们的情况...

But generally its better to do it when still running R9 FP8+ because this way both Apache POI versions can be used temporarily. So we can migrate the code to POI 4.1.1 and then we can make an R11 upgrade. This POI issue is related to xPages and Java agents, if Apache POI is being used there. And its our case ...

这篇关于升级到Notes 11-Apache POI Java库问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆