Web Scripts Hello World Quick Start fails

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2009 06:46 AM
Hi!
I have tried to test this tutorial: http://wiki.alfresco.com/wiki/Web_Scripts_Hello_World_Quick_Start
I follow every step, but when it comes to part "Click Refresh list of Web Scripts. You see a message indicating there is one additional web script." it will fail.
I mean, it does NOT tell me that there is one additional script.
Instead it says:
"Maintenance Completed
Reset Web Scripts Registry; found 41 Web Scripts. Previously, there were 41."
Any ideas what can be wrong?
I have tried to test this tutorial: http://wiki.alfresco.com/wiki/Web_Scripts_Hello_World_Quick_Start
I follow every step, but when it comes to part "Click Refresh list of Web Scripts. You see a message indicating there is one additional web script." it will fail.
I mean, it does NOT tell me that there is one additional script.
Instead it says:
"Maintenance Completed
Reset Web Scripts Registry; found 41 Web Scripts. Previously, there were 41."
Any ideas what can be wrong?
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2009 09:42 AM
Try to upload your three files (the desc file, the js file and the response file) using FTP to the folder Webscript Extensions. I use webscripts every day and never had a problem 
Check that your files are named properly, I mean if you have the webscript "helloWorld" you should have "helloWorld.get.js", "helloWorld.get.desc.xml" and "helloWorld.get.xml.ftl" (the response file could be helloWorld.get.html.ftl or even a js).

Check that your files are named properly, I mean if you have the webscript "helloWorld" you should have "helloWorld.get.js", "helloWorld.get.desc.xml" and "helloWorld.get.xml.ftl" (the response file could be helloWorld.get.html.ftl or even a js).

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2009 12:08 AM
Well, I tried to manually put those files in /opt/alfresco/tomcat/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco and then tried to refresh list, but still no success… 
It just don't find anything new files.
Btw, is my folder even right (Yes, it is installed in /opt/alfresco/tomcat/alfresco)?

It just don't find anything new files.
Btw, is my folder even right (Yes, it is installed in /opt/alfresco/tomcat/alfresco)?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2009 12:55 AM
Well. I downloaded alfresco on my own computer, made clean install and tried that step-by-step tutorial and it worked well.
So, it seems that something is totally crashed on that another machine.
But anyway, thanks. I am going to develop apps now on my own computer…
So, it seems that something is totally crashed on that another machine.
But anyway, thanks. I am going to develop apps now on my own computer…

