Alfresco 5.1 Javascript debugger error no x11 display variable was set but this program performed an operation which requires

纵然是瞬间 提交于 2019-12-12 03:37:49

问题


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:

The Web Script /alfresco/s/api/javascript/debugger has responded with a status of 500 - Internal Error.

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.

Exception: java.awt.HeadlessException - No X11 DISPLAY variable was set, but this program performed an operation which requires it.

Please help!!


回答1:


https://forums.alfresco.com/forum/end-user-discussions/alfresco-share/javascript-debugger-error-09112012-1015

Also, in my experience - and I'm unable to find anything official now - debugging won't work when Alfresco runs as a service.



来源:https://stackoverflow.com/questions/37982859/alfresco-5-1-javascript-debugger-error-no-x11-display-variable-was-set-but-this

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!