Alfresco ACS server side javascript controller debugging

cancel
Showing results for 
Search instead for 
Did you mean: 
yinyuantao
Member II

Alfresco ACS server side javascript controller debugging

Hi,

In Alfresco ACS 7.1, I'm trying to debug custom server side javascript controller such as custom-name.post.json.js by configing the log4j property. But when I deploy it through gocd it failed and give "Error creating bean with name 'scriptDebugger' defined in URL [jar:file:/srv/tomcat/a
lfrescoqa.intranet.mckinsey.com/webapps/alfresco/WEB-INF/lib/spring-webscripts-8.23.jar"Screenshot 2023-06-05 at 4.31.50 PM.png

After I add spring-webscripts to the pom, I still error withspring-webscripts that "caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it." Am I doing the correct configuration or I need add something more? Thanks.