Alfresco 5.1 Javascript调试器错误未设置x11显示变量,但此程序执行了需要执行的操作 [英] Alfresco 5.1 Javascript debugger error no x11 display variable was set but this program performed an operation which requires
问题描述
我已经在Ubuntu 14.04上安装了 Alfresco 5.1 ,并且还安装了Javascript存储库以进行脚本编辑。但是,我的挑战是当我想通过 http:// localhost:8080 / alfresco启用JavaScript调试器时/ s / api / javascript / debugger 我遇到以下错误:
I have installed Alfresco 5.1 on Ubuntu 14.04 and I have also installed the Javascript repo for script editing. However my challenge is when I want to enable javascript debugger through http://localhost:8080/alfresco/s/api/javascript/debugger I get the following error:
Web脚本/ alfresco / s / api / javascript / debugger的
a状态为500-内部错误。
The Web Script /alfresco/s/api/javascript/debugger has responded with a status of 500 - Internal Error.
500说明:HTTP服务器内部发生错误,阻止其
满足请求。消息:05230000包装的异常
(带有状态模板):没有设置X11 DISPLAY变量,但是此
程序执行了需要它的操作。
500 Description: An error inside the HTTP server which prevented it from fulfilling the request. Message: 05230000 Wrapped Exception (with status template): No X11 DISPLAY variable was set, but this program performed an operation which requires it.
异常:java.awt.HeadlessException-没有设置X11 DISPLAY变量,但是该程序执行了需要它的操作。
Exception: java.awt.HeadlessException - No X11 DISPLAY variable was set, but this program performed an operation which requires it.
请帮助!
推荐答案
此外,根据我的经验-我无法找到任何官方文件现在-Alfresco作为服务运行时,调试将无法进行。
Also, in my experience - and I'm unable to find anything official now - debugging won't work when Alfresco runs as a service.
这篇关于Alfresco 5.1 Javascript调试器错误未设置x11显示变量,但此程序执行了需要执行的操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!