cancel
Showing results for 
Search instead for 
Did you mean: 

on the fly deploy webscript without restarting tomcat

mplebani
Champ in-the-making
Champ in-the-making
Hi all,
up to now I created webscript and I deployed them using the alfresco web application. I deployed them in /Data Dictionaty/Web Script Extenstions/ecc.

Now I want to save WebScripts in SVN and load them in Alfresco using a different way. I read here and there that I can copy my webscripts in /tomcat/shared/classes/alfresco/… folders and reload them using "http://localhost:8080/alfresco/service/index" service (without restarting tomcat)

I copied my simple WebScript in that folder but refreshing the webscript list I'm not able to see my new webscript. Any suggestion?

I'm using the Alfresco 3.4d version and the webscript are javascript based (not java based)
2 REPLIES 2

loftux
Star Contributor
Star Contributor
You should, but they need to go into tomcat/shared/classes/alfresco/extension/templates/webscripts/ and any subfolder there.
(edited post to correct path)

mplebani
Champ in-the-making
Champ in-the-making
It works now, after a tomcat restart. Now I'm able to edit the script on-the-fly and test the new script without a tomcat restart

Thanks a lot!