Orbeon 表单生成器 - 会话问题 [英] Orbeon Form Builder - Session Issue

查看:58
本文介绍了Orbeon 表单生成器 - 会话问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 orbeon 表单生成器中遇到了一个问题.它经常要求我重新加载页面.它一次可以处理多少个请求?是否有任何特定的 tomcat 配置来处理多个请求?似乎是内存问题.我已经在 TOMCAT_HOME/bin/catalina.sh 文件中添加了配置.我还附上了错误对话的屏幕截图和 tomcat 控制台错误消息.请指导我解决问题.

I have been facing an issue in the orbeon form builder. It asks me often to reload the page. How many requests would it handle at a time?. Is there any specific tomcat configuration to handle multiple requests?. There seems to be a memory issue. I have added the configuration in the TOMCAT_HOME/bin/catalina.sh file. I have also attached the screen shot of the error dialogue and the tomcat console error message. Please guide me on this to resolve issues.

Tomcat 配置

export CATALINA_OPTS="$CATALINA_OPTS -Xms1024m"
export CATALINA_OPTS="$CATALINA_OPTS -Xmx4096m"
export CATALINA_OPTS="$CATALINA_OPTS -XX:MaxPermSize=256m"

ORBEON_MEMORY_OPTS="-Xms300m -Xmx1000m -XX:MaxPermSize=256m -verbosegc -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintGCDetails"
ORBEON_DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=61155,suspend=n,server=y"
export JAVA_OPTS="$ORBEON_MEMORY_OPTS -server"

错误对话

Tomcat 控制台错误

Tomcat Console Error

推荐答案

当您收到这样的对话框时,可能会发生以下两种情况之一:浏览器上发生了 JavaScript 错误,或者浏览器出现了错误服务器.当前者发生时,对话框包含一些关于错误的更多信息,这里似乎没有显示.所以你最有可能是后一种情况:服务器发生错误.

When you get such a dialog, one of two things might have happened: either there was a JavaScript error that happened on the browser, or there was an error the server. When the former happens, the dialog includes some more information about the error, which doesn't seem to be showing here. So you're most likely in the latter case: an error happened on the server.

要了解它是什么,您需要查看orbeon.log.它位于 ../logs/orbeon.log 相对于您启动 Tomcat 的目录中,如果您在 bin 中启动它,它将指向 Tomcat 的 logs 目录.收到此类错误后立即检查 orbeon.log,看看是否可以在文件底部找到异常.

To see what it is, you need to look at the orbeon.log. It is in ../logs/orbeon.log relative to the directory where you start Tomcat, which if you start it in bin will point to Tomcat's logs directory. Check the orbeon.log just after you get such an error, and see if you can find an exception at the bottom of the file.

(如果查看日志文件没有帮助,请随时将其发布在某处,例如在 https://gist.github.com/,更新您的问题以包含文件链接,并在此处发表评论,以便我收到通知.)

(If looking at the log file doesn't help, feel free to post it somewhere, e.g. on https://gist.github.com/, update your question to include a link to the file, and post a comment here, so I'm notified do you did so.)

这篇关于Orbeon 表单生成器 - 会话问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆