AnsweredAssumed Answered

Web Script Status 404 - Not Found

Question asked by sbzoom on Oct 26, 2007
Latest reply on Oct 31, 2007 by alrice
Hello.
I have just recently installed Enterprise 2.1 on Linux.  All looks good except the "My Alfresco" page.  I clicked on "Configure" and setup 2 columns and chose a few of the components for each column.  When I got back to the "My Alfresco" page I got 404 errors for any of the components that are Web Scripts.


Alfresco Web Script Status 404 - Not Found
The Web Script /wcs/ui/mytasks has responded with a status of 404 - Not Found.
404 Description:  Requested resource is not available.
Message:  Script url /mytasks does not map to a Web Script.
Exception:  org.alfresco.web.scripts.WebScriptException - Script url /mytasks does not map to a Web Script.

So, I went into the /jsp/dashboard/dashlets/ directory and edited the mytasks-webscript.jsp page and removed the "/wcs/" from the call to the web script.  Then I got this error:


Alfresco Web Script Status 400 - Bad Request
The Web Script /ui/mytasks has responded with a status of 400 - Bad Request.
400 Description:  Request sent by the client was syntactically incorrect.
Message:  Script URL not specified
Exception:  org.alfresco.web.scripts.WebScriptException - Script URL not specified

What's going on here?  The Document List and any other component that is a Web Script fails like that.  I went to the index of the Web Scripts and everything looks good.  Here is the My Tasks:


My Tasks
GET /service/ui/mytasks?f={filter?}
Description: Generate the My Tasks portlet page
Authentication: user
Transaction: required
Format Style: any
Default Format: html
Id: org/alfresco/portlets/mytasks.get
Description:   classpath:alfresco/templates/webscripts/org/alfresco/portlets/mytasks.get.desc.xml

Anything I can look at to see what went wrong?  The logs don't say anything.

Thanks a lot.


Charlie

Outcomes