cancel
Showing results for 
Search instead for 
Did you mean: 

problem accesing new sites

roseta
Champ in-the-making
Champ in-the-making
Hello,

I've created a site with a java script file. I believe the site has been properly created, since it appears in the site's list, but the site is not accesible. The message I get when someone try to access the site is:

javax.servlet.ServletException: Could not resolve view with name 'site/mysite/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'
   org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1042)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
   org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
   org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
   org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:301)

And that's the piece of js code I've use to do it:

var site = siteService.createSite("example", "mysite", "MySite", "this is my new Site", true);

Is there anything else that needs to be done in order to make an accesible site? Can anyone give me some piece of advise about ti?

Thanks in advance,
Roseta
3 REPLIES 3

nbe222
Champ in-the-making
Champ in-the-making
hello rosetta,

Could you please share your solution if exist any - i have the same message, luck on solution.

nbee222

mrogers
Star Contributor
Star Contributor
Yes you need to configure surf as well as creating the site in the repository.     There's a thread in these forums with details.

roseta
Champ in-the-making
Champ in-the-making
But, how should I configure Surf??? I don't get what you mean…

I'm creating new sites with javascript in a step of my workflow… how can I do it in the repository???

Thanks in advance! 😃