AnsweredAssumed Answered

New site sample not loading

Question asked by jodorovski on Jan 13, 2010
Hi all,

As a newbie to alfresco surf I was trying to do some of the tutorials, but I get stuck rather quickly. Below is description of what I did, sorry for the long post. Can anyone advise where I'm going wrong? As a next step I thought reinstalling a previous alfresco version and checking whether there's any differences. Of course I'd rather avoid this..

I have successfuly used a surf.war and create a few pages based on the tutorial at http://www.benh.co.uk/alfresco/surf-part-1-getting-started/. But it seems such a waste not to use the provided sample sites as a reference, likewise it seems a waste not to use studio. Any advice is highly appreciated.

Thanks in advance!

  • First off I couldn't find the studio.war in my 32r2 installation. This may be related to the Mac OS X install that I used. Since I didn't want to complicate things too much I simply coped the studio.war from a 32r2 installation. When I launch alfresco, I don't see any complaints in the logs so I'm assuming this is ok.

  • when launching http://localhost:8080/studio I can see a studio folder being created etc, following error is logged in alfresco.log:
  • 11:07:57,197 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 00130003 Login failed
    org.alfresco.web.scripts.WebScriptException: 00130003 Login failed
            at org.alfresco.repo.web.scripts.bean.AbstractLoginBean.login(AbstractLoginBean.java:81)
            at org.alfresco.repo.web.scripts.bean.LoginPost.executeImpl(LoginPost.java:79)
            at org.alfresco.web.scripts.DeclarativeWebScript.executeImpl(DeclarativeWebScript.java:223)
            at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:70)
            at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:372)
            at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327)
            at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:422)
            at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:439)
            at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:262)
            at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:306)
            at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:183)
            at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:613)

  • when logging in with the admin account, this error seems to be logged continuously

  • I decided to proceed with a new site, based on one of the samples. These wouldn't load initially, but moving to a network location without proxy solved this. Generating the site based on a sample seems to start ok (connecting to alfresco network, loading stuff etc). But at the end of the process I get a pop-up with some html text saying something about not finding a 404 page (If need be I'll reproduce the problem and make a screen shot). At the end studio proceeds, but I end up with a blank site..

  • at that time the continuous error has been accompanied with a new one:
  • 12:49:21,952 INFO  [org.alfresco.web.site.FrameworkHelper] Reset Web Scripts Registry; registered 101 Web Scripts.  Previously, there were 101.
    12:49:22,000 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 001320135 Login failed
    org.alfresco.web.scripts.WebScriptException: 001320135 Login failed
            at org.alfresco.repo.web.scripts.bean.AbstractLoginBean.login(AbstractLoginBean.java:81)
            at org.alfresco.repo.web.scripts.bean.LoginPost.executeImpl(LoginPost.java:79)
            at org.alfresco.web.scripts.DeclarativeWebScript.executeImpl(DeclarativeWebScript.java:223)
            at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:70)
            at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:372)
            at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327)
            at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:422)
            at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:439)
            at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:262)
            at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:306)
            at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:183)
            at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:613)

Outcomes