XPages 500/404错误

XPages 500/404错误,xpages,lotus-notes,lotus-domino,xpinc,Xpages,Lotus Notes,Lotus Domino,Xpinc,[2018年7月25日编辑] 我在使用XPages的工作中遇到了一个问题,这让我毛骨悚然。 我不断得到一个500错误,然后是一个404错误,看起来是随机的,无法重现错误,但它经常发生。 我确信大多数人都在web上运行他们的XPages,因此没有人会遇到这种情况,但我的应用程序只在notes客户端中运行,因为出于安全原因,服务器无法通过web访问。 我非常希望只在notes客户机中使用XPages,但我不能让这种行为发生在生产数据库上。 我已经尝试在下面列出尽可能多的细节,但如果我能澄清任何有助于

[2018年7月25日编辑]

我在使用XPages的工作中遇到了一个问题,这让我毛骨悚然。 我不断得到一个500错误,然后是一个404错误,看起来是随机的,无法重现错误,但它经常发生。 我确信大多数人都在web上运行他们的XPages,因此没有人会遇到这种情况,但我的应用程序只在notes客户端中运行,因为出于安全原因,服务器无法通过web访问。 我非常希望只在notes客户机中使用XPages,但我不能让这种行为发生在生产数据库上。 我已经尝试在下面列出尽可能多的细节,但如果我能澄清任何有助于解决此问题的内容,请告诉我

  • Notes客户端和服务器都运行v9
  • 服务器无法通过web访问
  • 应用程序将仅在XPiNC中运行
  • 应用程序有时会工作,然后会无缘无故地停止工作
  • 这个问题发生在任何数据库上,即使使用空白的XPage,也不会与代码相关
  • 清洁构建没有影响
  • 如果我只是在designer中打开应用程序,它运行得非常好。我不需要做页面预览或任何事情,只要简单地拥有 在designer中打开应用程序使其工作
  • 最近一次发生这种情况时,事件的顺序是:打开应用程序,做一些工作,等待一段时间(可能) 30分钟-1小时),尝试导航到另一页,出现错误500,关闭 应用程序,重新打开的应用程序,给出404,再等一段时间(可能 30分钟),重新打开应用程序,工作正常。有关更多信息,请参见下面的跟踪结果 细节
  • 还有一些应用程序刚启动时使用了500/404
  • 我尝试使用保持会话活动的代码运行,但没有效果
  • 我在另一台服务器上有其他XPage应用程序,可以通过web访问,并且可以在web浏览器上完美运行
  • 该问题自v8.5.2以来一直存在
  • 跟踪:

    10:59:48.547 229 SEVERE com.ibm.designer.runtime.domino.adapter.LCDEnvironment doService
    
    CLFAD0211E: Exception thrown
    
    javax.servlet.ServletException: java.util.concurrent.ExecutionException: java.lang.StackOverflowError
            at com.ibm.domino.xsp.module.nsf.NSFService.doService(Unknown Source)
            at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(Unknown Source)
            at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(Unknown Source)
            at com.ibm.domino.xsp.bridge.websrv.servlets.DispatcherServlet.service(Unknown Source)
            at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(Unknown Source)
            at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(Unknown Source)
            at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(Unknown Source)
            at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(Unknown Source)
            at javax.servlet.http.HttpServlet.service(Unknown Source)
            at com.ibm.pvc.webhttpservice.BridgeServlet.service(Unknown Source)
            at com.ibm.pvc.internal.webcontainer.VirtualHost.handleRequest(Unknown Source)
            at com.ibm.ws.webcontainer.WebContainer.handleRequest(Unknown Source)
            at com.ibm.wsspi.webcontainer.WebContainer.handleRequest(Unknown Source)
            at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(Unknown Source)
            at com.ibm.ws.http.HttpConnection.readAndHandleRequest(Unknown Source)
            at com.ibm.ws.http.HttpConnection.run(Unknown Source)
            at com.ibm.ws.util.ThreadPool$Worker.run(Unknown Source)
    
    ___________
    
    10:59:48.720 229 SEVERE CLFAD0256E: Dispatcher Servlet Problem - java.util.concurrent.ExecutionException: java.lang.StackOverflowError
        javax.servlet.ServletException: java.util.concurrent.ExecutionException: java.lang.StackOverflowError
                at com.ibm.domino.xsp.module.nsf.NSFService.doService(Unknown Source)
                at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(Unknown Source)
                at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(Unknown Source)
                at com.ibm.domino.xsp.bridge.websrv.servlets.DispatcherServlet.service(Unknown Source)
                at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(Unknown Source)
                at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(Unknown Source)
                at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(Unknown Source)
                at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(Unknown Source)
                at javax.servlet.http.HttpServlet.service(Unknown Source)
                at com.ibm.pvc.webhttpservice.BridgeServlet.service(Unknown Source)
                at com.ibm.pvc.internal.webcontainer.VirtualHost.handleRequest(Unknown Source)
                at com.ibm.ws.webcontainer.WebContainer.handleRequest(Unknown Source)
                at com.ibm.wsspi.webcontainer.WebContainer.handleRequest(Unknown Source)
                at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(Unknown Source)
                at com.ibm.ws.http.HttpConnection.readAndHandleRequest(Unknown Source)
                at com.ibm.ws.http.HttpConnection.run(Unknown Source)
                at com.ibm.ws.util.ThreadPool$Worker.run(Unknown Source)
    
    ___________
    
    11:00:30.327 226 SEVERE com.ibm.domino.xsp.bridge.websrv.servlets.DispatcherServlet service CLFAD0256E: Dispatcher Servlet Problem - Error opening the database 'server!!database.nsf'
    
    com.ibm.designer.runtime.domino.adapter.util.PageNotFoundException: Error opening the database 'server!!database.nsf'
    
    at com.ibm.domino.xsp.module.nsf.NSFService.doService(Unknown Source)
            at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(Unknown Source)
            at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(Unknown Source)
            at com.ibm.domino.xsp.bridge.websrv.servlets.DispatcherServlet.service(Unknown Source)
            at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(Unknown Source)
            at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(Unknown Source)
            at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(Unknown Source)
            at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(Unknown Source)
            at javax.servlet.http.HttpServlet.service(Unknown Source)
            at com.ibm.pvc.webhttpservice.BridgeServlet.service(Unknown Source)
            at com.ibm.pvc.internal.webcontainer.VirtualHost.handleRequest(Unknown Source)
            at com.ibm.ws.webcontainer.WebContainer.handleRequest(Unknown Source)
            at com.ibm.wsspi.webcontainer.WebContainer.handleRequest(Unknown Source)
            at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(Unknown Source)
            at com.ibm.ws.http.HttpConnection.readAndHandleRequest(Unknown Source)
            at com.ibm.ws.http.HttpConnection.run(Unknown Source)
            at com.ibm.ws.util.ThreadPool$Worker.run(Unknown Source)
    

    如果这是一个超时问题,在xsp属性窗口中有关于应用程序和会话超时的选项。默认值为30分钟(即使为空)


    您可以将其设置为更大的值(我使用300分钟)

    “java.lang.StackOverflowerr”-似乎您进行了无限递归。“无明显原因而停止工作”-可能与构建问题有关,请仔细检查冲突的设计元素名称。我不确定无限递归将如何发生。即使在没有任何代码的空白XPage上也会发生这种情况。就冲突的设计元素名称而言,没有一个元素具有相同的名称。我不认为设计师会允许你们拥有它,但也许你们指的是别的东西。到目前为止,我看到的最重要的事情是清单上的#7,这可能会给这个问题提供一些线索。谢谢你的反馈。实际上我已经把它设置为600了。我一开始也认为这可能是个问题,但目前不怀疑这是一个超时问题。我甚至添加了一些js代码来保持会话的活动性,只是为了测试。谢谢你的建议。