To Debug Alfresco Scripts
Go to
http://localhost:8080/alfresco/service/api/javascript/debugger
Click on Enable button
or edit log4j.properties in tomcat\webapps\alfresco\WEB-INF\classes
log4j.logger.org.alfresco.repo.web.scripts.AlfrescoRhinoScriptDebugger=on
To Debug Share Scripts
http://localhost:8080/share/service/api/javascript/debugger
click on Enable button
you will get a new debugger window
Thursday, November 26, 2009
Subscribe to:
Post Comments (Atom)
Hi thanks for your article.
ReplyDeleteI did the same steps but when I click on Enable button I get this :
The Web Script /share/page/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: 01270001 Wrapped Exception (with status template): null
Exception: org.springframework.extensions.webscripts.WebScriptException - 01270001 Wrapped Exception (with status template): null
org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:970)
is there another solution?
I'm using alfresco 4.0.d
ReplyDeleteHi,
ReplyDeleteYou need to start alfresco not as Windows Service.
https://forums.alfresco.com/en/viewtopic.php?f=36&t=26149