2016-06-23 3 views
0

Alfresco 5.1がUbuntu 14.04にインストールされていて、スクリプト編集用Javascriptリポジトリもインストールされています。しかし、私の挑戦は、私がhttp://localhost:8080/alfresco/s/api/javascript/debuggerを通じてJavaScriptデバッガを有効にするとき、私は次のエラーを取得する次のとおりです。Alfresco 5.1 Javascriptデバッガエラーx11表示変数が設定されていませんでしたが、このプログラムでは操作が必要です

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.

助けてください!

+0

ヘッドレスモードでJVMを起動しますか? – Gagravarr

+0

こんにちはギャグラーバー。それ、どうやったら出来るの? – coolman

+0

通常の方法で 'java.awt.headless'をtrueに設定するだけです! – Gagravarr

答えて

1

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

また、私の経験では - と私は今、公式の何かを見つけることができませんよ - Alfrescoは、サービスとして実行されたときにデバッグが機能しません。

+0

私はそのポストを見ました。私は無駄にそれに従おうとしました。 Alfreso 5.1のインストールでは、このファイルはフォーラム "/tomcat/scripts/ctl.sh"で強調表示されていません。 – coolman