Axis 1.4 log4j-1.2.8.jar incompatible with XPages?

烂漫一生 提交于 2019-12-02 09:25:30

edited

The AXIS jars are included in Domino install because Domino Web Services use them. That's why there is a conflict if you include them also.

I would recommend using JAX-WS which is newer than Axis. Here is how to use it for Web Service client. No need to add any JARs. You could also use JAX-WS wsdl2java instead of Apache one.

These two permissions need to be granted in java.policy file for this to work:

permission java.lang.RuntimePermission "setContextClassLoader";
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";

Note that any kind of server update (f.e. fixpack install) will reset the java.policy file to default.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!