使用 Lotus Domino 8.5.2 Fixpack 3
标题总结了它。我有一个使用 java 的 xpages 应用程序。似乎我所做的任何 java 更改都不会在服务器上可见。对于某种缓存问题,这听起来很糟糕。应用程序在服务器上运行,我在服务器日志中看到 System.out.println 语句,但不要对这些语句或我添加的任何新语句进行任何更改。
代码设置为自动重建。尽管如此,看起来服务器永远不会看到更改。我是否需要一些特殊的方式来构建数据库(除了典型的 Rebuild All 之外)?我是否需要重置或重新启动 domino 服务器上的某些进程才能看到更改?
任何想法或想法将不胜感激。
编辑 1
我要回到这个项目,因此,这个问题。我收到的具体错误消息是:
[6815810:00012-05659] 03/19/2013 09:27:01 HTTP JVM: Managedbean Calendar could not be created Can't instantiate class: 'calendar.CalendarServices'.. java.lang.ClassNotFoundException: class java.lang.ClassNotFoundException: calendar.CalendarServices. For more detailed inform
ation, please consult error-log-0
[6815810:00012-05659] 03/19/2013 09:27:01 HTTP JVM: xml located in /local/notesdata/domino/workspace/logs
[6815810:00012-05659] 03/19/2013 09:27:01 HTTP JVM: com.ibm.xsp.exception.EvaluationExceptionEx: Error while executing JavaScript action expression
我尝试取消选中自动构建并进行清理->全部重建。我已经尝试再次签署 nsf。我已经确保我在 acl 上。而且,按照建议,我已经尝试过
restart task http
通过实时控制台命令。无论我做什么,我都会收到此错误。奇怪的是,这个项目只是另一个工作正常的项目的副本 --> 粘贴(重命名)。所以,该项目有效......直到我改变并重新编译......
上述异常指向的日志不是很有帮助。上面写着:
<CommonBaseEvent creationTime="2013-03-05T09:01:03.254-06:00" globalInstanceId="EL0a04a8b800013d3af27da200000008" msg="Managedbean Calendar could not be created Can't instantiate class: 'calendar.CalendarServices'.. java.lang.ClassNotFoundException: class java.lang.ClassNotFoundException: calendar.CalendarServices" severity="50" version="1.0.1">
<extendedDataElements name="CommonBaseEventLogRecord:level" type="noValue">
<children name="CommonBaseEventLogRecord:name" type="string">
<values>SEVERE</values>
</children>
</extendedDataElements>
<extendedDataElements name="CommonBaseEventLogRecord:sourceClassName" type="string">
<values>com.sun.faces.application.ApplicationAssociate</values>
</extendedDataElements>
<extendedDataElements name="CommonBaseEventLogRecord:sourceMethodName" type="string">
<values>createAndMaybeStoreManagedBeans</values>
</extendedDataElements>
<extendedDataElements name="CommonBaseEventLogRecord:Exception" type="string">
<values>javax.faces.FacesException: Can't instantiate class: 'calendar.CalendarServices'.. java.lang.ClassNotFoundException: class java.lang.ClassNotFoundException: calendar.CalendarServices
	at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:234)
	at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:291)
	at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:135)
	at com.ibm.xsp.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:71)
	at com.ibm.xsp.javascript.ServerSideLocalObject.resolveVariable(ServerSideLocalObject.java:97)
	at com.ibm.xsp.javascript.ServerSideLocalObject.resolveAttribute(ServerSideLocalObject.java:73)
	at com.ibm.xsp.javascript.AbstractLocalObject._get(AbstractLocalObject.java:119)
	at com.ibm.xsp.javascript.AbstractLocalObject.getPropertyReference(AbstractLocalObject.java:101)
	at com</values>
<values>.ibm.jscript.engine.ProgramContext.findGlobalScopeIdentifier(ProgramContext.java:143)
	at com.ibm.jscript.engine.ProgramContext.findIdentifier(ProgramContext.java:134)
	at com.ibm.jscript.ASTTree.ASTIdentifier.interpret(ASTIdentifier.java:105)
	at com.ibm.jscript.ASTTree.ASTMember.interpret(ASTMember.java:106)
	at com.ibm.jscript.ASTTree.ASTCall.interpret(ASTCall.java:88)
	at com.ibm.jscript.ASTTree.ASTArgumentList.interpretArguments(ASTArgumentList.java:63)
	at com.ibm.jscript.types.FBSObject.call(FBSObject.java:153)
	at com.ibm.jscript.ASTTree.ASTCall.interpret(ASTCall.java:175)
	at com.ibm.jscript.ASTTree.ASTIf.interpret(ASTIf.java:85)
	at com.ibm.jscript.ASTTree.ASTTry.interpret(ASTTry.java:109)
	at com.ibm.jscript.ASTTree.ASTProgram.interpret(ASTProgram.java:119)
	at com.ibm.jscript.ASTTree.ASTProgram.interpretEx(ASTProgram.java:139)
	at com.ibm.jscript.JSExpression._interpretExpression(JSExpression.java:435)</values>
<values>
	at com.ibm.jscript.JSExpression.access$1(JSExpression.java:424)
	at com.ibm.jscript.JSExpression$2.run(JSExpression.java:414)
	at java.security.AccessController.doPrivileged(AccessController.java:284)
	at com.ibm.jscript.JSExpression.interpretExpression(JSExpression.java:410)
	at com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:251)
	at com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:234)
	at com.ibm.xsp.javascript.JavaScriptInterpreter.interpret(JavaScriptInterpreter.java:220)
	at com.ibm.xsp.binding.javascript.JavaScriptMethodBinding.invoke(JavaScriptMethodBinding.java:111)
	at com.ibm.xsp.component.UIViewRootEx.invokePhaseMethodBinding(UIViewRootEx.java:1705)
	at com.ibm.xsp.controller.FacesControllerImpl.invokePhaseMethodBinding(FacesControllerImpl.java:444)
	at com.ibm.xsp.controller.FacesControllerImpl.access$0(FacesControllerImpl.java:438)
	at com.ibm.xsp.controller.FacesControllerImpl$</values>
<values>ViewPhaseListener.afterPhase(FacesControllerImpl.java:506)
	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:218)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:120)
	at com.ibm.xsp.controller.FacesControllerImpl.render(FacesControllerImpl.java:264)
	at com.ibm.xsp.webapp.FacesServlet.serviceView(FacesServlet.java:219)
	at com.ibm.xsp.webapp.FacesServletEx.serviceView(FacesServletEx.java:193)
	at com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:154)
	at com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:137)
	at com.ibm.xsp.webapp.DesignerFacesServlet.service(DesignerFacesServlet.java:86)
	at com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(ComponentModule.java:538)
	at com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(NSFComponentModule.java:1151)
	at com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServl</values>
<values>et(ComponentModule.java:803)
	at com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(ComponentModule.java:758)
	at com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(ComponentModule.java:527)
	at com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFComponentModule.java:1135)
	at com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:523)
	at com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:352)
	at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:304)
	at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:261)
	at com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:291)
Caused by: java.security.PrivilegedActionException: java.lang.ClassNotFoundException: class java.lang.ClassNotFoundException: calendar.CalendarServices
	at java.security.AccessController</values>
<values>.doPrivileged(AccessController.java:255)
	at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:216)
	... 51 more
Caused by: java.lang.ClassNotFoundException: class java.lang.ClassNotFoundException: calendar.CalendarServices
	at java.beans.Beans.instantiate(Beans.java:194)
	at java.beans.Beans.instantiate(Beans.java:75)
	at com.sun.faces.config.ManagedBeanFactory$1.run(ManagedBeanFactory.java:222)
	at java.security.AccessController.doPrivileged(AccessController.java:251)
	... 52 more
</values>
</extendedDataElements>
<sourceComponentId component="Expeditor 6.2" componentIdType="ProductName" instanceId="" location="<server here>" locationType="Hostname" subComponent="com.sun.faces.application.ApplicationImpl" threadId="0" componentType="http://www.w3.org/2001/XMLSchema-instance"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
一如既往,一分钱你的想法。
另外,感谢大家的反馈。对不起,我离开了一段时间,忽略了这个问题。我真的很想弄清楚这一点。