XPage应用程序将无法运行

时间:2018-04-24 15:31:50

标签: java xpages

我们的应用程序在我们自己的服务器上运行良好(R9.0.1FP10)。当我们将它安装在另一台服务器(R9.0.1FP7)上时,某些页面会起作用,而某些页面则不起作用(错误500)。我们无法弄清楚他们停止的原因或地点。唯一的区别是我们不太复杂的页面似乎运行,虽然有一个简单的页面拒绝工作。

扩展库是否未正确安装?是否必须在FP7服务器上单独安装?一些权利问题可能吗?或者还有什么问题呢?

logreader.nsf中的错误消息显示:

java.lang.AbstractMethodError: com/ibm/xsp/extlib/minifier/ExtLibLoaderExtension.getOSGiBundle()Lorg/osgi/framework/Bundle;
 at com.ibm.xsp.extlib.minifier.ExtLibLoader.loadDojoResource(ExtLibLoader.java:149)
 at com.ibm.xsp.extlib.minifier.ExtLibLoader.loadDojoResource(ExtLibLoader.java:133)
 at com.ibm.xsp.extlib.minifier.ExtLibLoader.getDojoResource(ExtLibLoader.java:119)
 at com.ibm.xsp.minifier.ResourceFactory.getDojoResource(ResourceFactory.java:129)
 at com.ibm.xsp.renderkit.html_basic.ViewRootRendererEx2.encodeOptimizedResources(ViewRootRendererEx2.java:501)
 at com.ibm.xsp.renderkit.html_basic.ViewRootRendererEx2._encodeOptimizedResources(ViewRootRendererEx2.java:469)
 at com.ibm.xsp.renderkit.html_basic.ViewRootRendererEx2.encodeResourcesList(ViewRootRendererEx2.java:449)
 at com.ibm.xsp.renderkit.html_basic.ViewRootRenderer.encodeHtmlHead(ViewRootRenderer.java:647)
 at com.ibm.xsp.renderkit.html_basic.ViewRootRenderer.encodeEndPage(ViewRootRenderer.java:519)
 at com.ibm.xsp.renderkit.html_basic.ViewRootRenderer.encodeEnd(ViewRootRenderer.java:188)
 at com.ibm.xsp.renderkit.html_basic.ViewRootRenderer.encodeEnd(ViewRootRenderer.java:179)
 at com.ibm.xsp.renderkit.ReadOnlyAdapterRenderer.encodeEnd(ReadOnlyAdapterRenderer.java:180)
 at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:1005)
 at com.ibm.xsp.component.UIViewRootEx.encodeEnd(UIViewRootEx.java:1374)
 at com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:857)
 at com.ibm.xsp.component.UIViewRootEx._renderView(UIViewRootEx.java:1317)
 at com.ibm.xsp.component.UIViewRootEx.renderView(UIViewRootEx.java:1255)
 at com.ibm.xsp.application.ViewHandlerExImpl.doRender(ViewHandlerExImpl.java:651)
 at com.ibm.xsp.application.ViewHandlerExImpl._renderView(ViewHandlerExImpl.java:321)
 at com.ibm.xsp.application.ViewHandlerExImpl.renderView(ViewHandlerExImpl.java:336)
 at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:103)
 at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:210)
 at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:120)
 at com.ibm.xsp.controller.FacesControllerImpl.render(FacesControllerImpl.java:270)
 at com.ibm.xsp.webapp.FacesServlet.serviceView(FacesServlet.java:261)
 at com.ibm.xsp.webapp.FacesServletEx.serviceView(FacesServletEx.java:157)
 at com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:160)

谢谢大家的帮助!!

1 个答案:

答案 0 :(得分:0)

检查FP7服务器上加载的扩展库的版本。我不认为任何更新都包含在基本安装中,直到9.0.1 FP8,在这种情况下可能存在差异。也许包含一个在9.0.1核心Ext Lib中不可用的模块。我相信OpenNTF版本901v00_17对应于FP8提供的内容。