通过Java进行DXL导入不适用于8.5.2

时间:2013-02-07 14:03:31

标签: java import xpages lotus-domino

我有一个DXL导入的另一个问题,实际上它与我的旧问题(http://goo.gl/LchgP)中的同一个类

只要您使用的是Domino 8.5.3服务器,一切正常。使用8.5.2它将无法正常工作。我收到以下错误消息:

07.02.2013 14:45:06   HTTP JVM: NotesException: DXLImporter output object is invalid, uninitialized, or not explicitly declared and strongly typed
07.02.2013 14:45:06   HTTP JVM:     at lotus.domino.local.DxlImporter.importDxl(Unknown Source)
07.02.2013 14:45:06   HTTP JVM:     at biz.bcc.common.BCCPropertyStore.importDXLFile(BCCPropertyStore.java:514)
07.02.2013 14:45:06   HTTP JVM:     at biz.bcc.common.BCCPropertyStore.saveProperties(BCCPropertyStore.java:777)
07.02.2013 14:45:06   HTTP JVM:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
07.02.2013 14:45:06   HTTP JVM:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
07.02.2013 14:45:06   HTTP JVM:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
07.02.2013 14:45:06   HTTP JVM:     at java.lang.reflect.Method.invoke(Method.java:600)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.jscript.types.JavaAccessObject.call(JavaAccessObject.java:321)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.jscript.types.FBSObject.call(FBSObject.java:161)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.jscript.ASTTree.ASTCall.interpret(ASTCall.java:175)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.jscript.ASTTree.ASTProgram.interpret(ASTProgram.java:119)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.jscript.ASTTree.ASTProgram.interpretEx(ASTProgram.java:139)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.jscript.JSExpression._interpretExpression(JSExpression.java:435)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.jscript.JSExpression.access$1(JSExpression.java:424)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.jscript.JSExpression$2.run(JSExpression.java:414)
07.02.2013 14:45:06   HTTP JVM:     at java.security.AccessController.doPrivileged(AccessController.java:284)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.jscript.JSExpression.interpretExpression(JSExpression.java:410)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:251)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:234)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.javascript.JavaScriptInterpreter.interpret(JavaScriptInterpreter.java:220)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.binding.javascript.JavaScriptMethodBinding.invoke(JavaScriptMethodBinding.java:111)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.application.ActionListenerImpl.processAction(ActionListenerImpl.java:60)
07.02.2013 14:45:06   HTTP JVM:     at javax.faces.component.UICommand.broadcast(UICommand.java:324)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.component.UIEventHandler.broadcast(UIEventHandler.java:365)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.component.UIDataPanelBase.broadcast(UIDataPanelBase.java:400)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.component.UIDataPanelBase.broadcast(UIDataPanelBase.java:400)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.component.UIViewRootEx.broadcast(UIViewRootEx.java:1490)
07.02.2013 14:45:06   HTTP JVM:     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:307)
07.02.2013 14:45:06   HTTP JVM:     at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:428)
07.02.2013 14:45:06   HTTP JVM:     at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:94)
07.02.2013 14:45:06   HTTP JVM:     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:210)
07.02.2013 14:45:06   HTTP JVM:     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:96)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.controller.FacesControllerImpl.execute(FacesControllerImpl.java:250)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.webapp.FacesServlet.serviceView(FacesServlet.java:206)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.webapp.FacesServletEx.serviceView(FacesServletEx.java:193)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:154)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:137)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.xsp.webapp.DesignerFacesServlet.service(DesignerFacesServlet.java:86)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(ComponentModule.java:538)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(NSFComponentModule.java:1140)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(ComponentModule.java:803)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(ComponentModule.java:758)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(ComponentModule.java:527)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFComponentModule.java:1124)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:513)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:342)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:304)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:261)
07.02.2013 14:45:06   HTTP JVM:     at com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:291)

自上一个问题以来,代码没有改变。

您是否知道为什么它应该在虚拟机上的mylocal服务器8.5.3和8.5.2上的其他服务器上工作?

非常感谢帮助。

1 个答案:

答案 0 :(得分:0)

我认为这是因为您正在使用getCurrentSessionAsSignerWithFullAccess方法。据我所知,这是一个扩展库方法。确保在两台服务器上都安装了extlib。在8.5.3中,可能安装了升级包,这自动意味着您拥有扩展库。在8.5.2。你必须手动安装它。