AnsweredAssumed Answered

Create New Site Error with webscript

Question asked by kevingo on Aug 2, 2011
Latest reply on Aug 3, 2011 by janv
Recently, I want to use webscript to create a new site in Alfresco Share and getting trouble with "Spring Surf Dispatcher Servlet" exception.

I follow these steps :

1) post a json data to http://localhost:8080/alfresco/service/api/sites

2) The result json tell me that I already create site successful

3) When I trying to access that site with the URL "http://localhost:8080/share/page/site/shortName/dashboard" , I got an error

4) The page shows "A server error has occured."

5) And I check the log, and it shows "javax.servlet.ServletException: Could not resolve view with name 'site/zzzxxx/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'"
(When I create a site with shortName "zzzxxx")

Does any one got the same problem with me ? Any solution ? Thanks for your help :)