使用Lotus Domino 8.5.2 Fixpack 3
标题总结了它。我有一个使用java的xpages应用程序。似乎我做的任何java更改,永远不会在服务器上显示。对某种缓存问题来说,这听起来像是一个死气沉沉的人。应用程序在服务器上运行,我在服务器日志中看到System.out.println语句,但是我没有对这些语句或我添加的任何新语句做出任何更改。
代码设置为自动重建。尽管如此,服务器似乎看不到变化。我需要一些特殊的方法来构建数据库(除了典型的Rebuild All)吗?我是否需要重置或重新启动多米诺骨牌服务器上的某个进程才能看到更改?
非常感谢任何想法或想法。
编辑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了。我确保自己能够胜任。而且,按照建议,我已经尝试了
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>
一如既往地为你的想法付出便宜。
另外,谢谢大家的反馈。对不起,我已经离开了一点,忽略了这个问题。我真的想弄清楚这一点。
答案 0 :(得分:1)
您没有提及项目 - &gt;清洁所以先试试。
我曾经遇到类似问题,这是由类名或包名中的下划线引起的。
如果XPages也存在问题,那么这是一个常规构建问题。至少在具有不同Designer和/或ExtLib版本的开发人员修改应用程序时,可能会发生这种情况。当我遇到这个问题时,修复它的唯一方法是创建一个新的应用程序并将所有内容复制粘贴。在我们的例子中,其他开发人员从未遇到过这个问题。
答案 1 :(得分:0)
这太傻了。我的src文件夹不在构建路径上。这导致了所有问题。