cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot access site

karthiknalfresc
Champ in-the-making
Champ in-the-making
Hi,
I can't seem to be able to access the site that i just created.

Here is what i did:

1. I customized my dashboard
2. I created a site, added a wiki page.
3. I see the new site in my dashboard. I can browse it and can see what's in it.
4. After a while(about 3 minutes later), when i click on the site in My Sites, it wouldn't take me to the site. It just stays in the same page(Dashboard)
5. I logout, close the browser and login again. I still have the same problem. I can't get to the site anymore.
 
I looked at catalina.out and found this error.

 17:15:42,213  INFO  [web.framework.ModelObjectManager] Unable to save object: page.component-2-1.site~asdf~dashboard of type: 
component to persister: RemoteStore_/site-data/components_component due to error: Unable to save object: page.component-2-1.site~asdf~dashboard.xml due to error: Unable to create document path: page.component-2-1.site~asdf~dashboard.xml in remote store: alfresco due to error:

I'm using Alfresco Enterprise Edition 3.0 SP1 and am running it on port 8115. I made changes to the configuration files as suggested in Wiki.
http://wiki.alfresco.com/wiki/Changing_Default_Port_Configuration

If you have come across something like this, can you please help? Thank you.

Thanks
Karthik
7 REPLIES 7

bufke
Champ in-the-making
Champ in-the-making
This happened to me too with a site.  I created it, made a wiki, invited users, removed the blog tab.  Worked fine for an hour or so then it just kept going back to the user dashboard.  I played around with the URL trying to get to it and found I could get to the site sections just not the dashboard.  Then it just worked again.  Weird.  I changed no settings the dashboard just suddenly worked after trying different URL's.  This is a slightly old post, is this happening to others?

Running on Ubuntu 9.10 with the ppa install.

fjdoyle
Champ in-the-making
Champ in-the-making
I have been having similar problems.  We are using  Alfresco Community Edition 3.2 on a CentOS 5 box.  Alfresco is configured to be accessed via an Apache pass through on https: (via a self signed certificate).
A number of sites have been configured and occasionally one of them will become inaccessible, i.e., clicking its link in "My Sites" will just refresh users' dashboard page.
Typically, it resolves itself after a short period, but it is not predictable.  Any resolutions would be appreciated.

doiheartwentyon
Champ in-the-making
Champ in-the-making
I have also seen this behaviour. Nothing appears in catalina.out (but I haven't got debug set up). The behaviour is fixed after about 5 minutes.
The redirect to the user dashboard is the normal behaviour for an unknown Share URL.

Is it possibly related that the connection "Keep-alive" header is set to 300, i.e. about 6 minutes ? Maybe a malformed JSON response is getting cached for the duration of the backend connection, or something. I was a little too late to set Firebug on it…

bufke
Champ in-the-making
Champ in-the-making
Got it again and found this by going to /share/page/site/mysite/customise-site-dashboard
As always it fixes itself in about 5 minutes.  I was inviting users before it happened.  Spectacular timing, hey check out alfresco….great product right?
An error has occured in the Share component: /share/service/components/dashboard/customise-layout.
It responded with a status of 500 - Internal Error.
Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request.
Error Message: 11010005 Failed to load script '/org/alfresco/components/dashboard/customise-layout.get.js (in classpath store file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts)': 11010004 TypeError: Cannot read property "properties" from null (file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashboard/customise-layout.get.js#4)
Server: Alfresco <unknown> v<unknown> schema -1
Time: Dec 1, 2009 1:30:05 PM
Click here to view full technical information on the error.
Exception: org.mozilla.javascript.EcmaError - TypeError: Cannot read property "properties" from null (file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashboard/customise-layout.get.js#4)
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3660)
org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3679)
org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3692)
org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1421)
org.mozilla.javascript.gen.c50._c1(file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashboard/customise-layout.get.js:4)
org.mozilla.javascript.gen.c50.call(file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashboard/customise-layout.get.js)
org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
org.mozilla.javascript.gen.c50._c0(file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashboard/customise-layout.get.js:32)
org.mozilla.javascript.gen.c50.call(file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashboard/customise-layout.get.js)
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
org.mozilla.javascript.gen.c50.call(file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashboard/customise-layout.get.js)
org.mozilla.javascript.gen.c50.exec(file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashboard/customise-layout.get.js)
org.alfresco.web.scripts.PresentationScriptProcessor.executeScriptImpl(PresentationScriptProcessor.java:306)
org.alfresco.web.scripts.PresentationScriptProcessor.executeScript(PresentationScriptProcessor.java:189)
org.alfresco.web.scripts.AbstractWebScript.executeScript(AbstractWebScript.java:819)
org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:90)
org.alfresco.web.scripts.PresentationContainer.executeScript(PresentationContainer.java:60)
org.alfresco.web.scripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:186)
org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:262)
org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)
org.alfresco.web.scripts.WebScriptProcessor.executeBody(WebScriptProcessor.java:329)
org.alfresco.web.framework.render.AbstractProcessor.execute(AbstractProcessor.java:85)
org.alfresco.web.framework.render.RenderHelper.processComponent(RenderHelper.java:341)
org.alfresco.web.framework.render.RenderUtil.renderRawComponent(RenderUtil.java:451)
org.alfresco.web.framework.render.RenderUtil.renderRawComponent(RenderUtil.java:434)
org.alfresco.web.framework.render.bean.ComponentRenderer.body(ComponentRenderer.java:135)
org.alfresco.web.framework.render.RenderUtil.renderRegionComponents(RenderUtil.java:328)
org.alfresco.web.site.taglib.RegionIncludeTag.doStartTag(RegionIncludeTag.java:43)
org.alfresco.tools.TagUtil.execute(TagUtil.java:147)
org.alfresco.tools.TagUtil.execute(TagUtil.java:81)
org.alfresco.web.scripts.FreemarkerTagSupportDirective.executeTag(FreemarkerTagSupportDirective.java:89)
org.alfresco.web.scripts.GenericFreemarkerTagDirective.execute(GenericFreemarkerTagDirective.java:127)
freemarker.core.Environment.visit(Environment.java:261)
freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.Environment.process(Environment.java:188)
freemarker.template.Template.process(Template.java:237)
org.alfresco.web.scripts.PresentationTemplateProcessor.process(PresentationTemplateProcessor.java:185)
org.alfresco.web.scripts.FreemarkerProcessor.executeBody(FreemarkerProcessor.java:266)
org.alfresco.web.framework.render.AbstractProcessor.execute(AbstractProcessor.java:85)
org.alfresco.web.framework.render.RenderHelper.processRenderable(RenderHelper.java:278)
org.alfresco.web.framework.render.bean.ChromeRenderer.body(ChromeRenderer.java:60)
org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
org.alfresco.web.framework.render.bean.RegionRenderer.body(RegionRenderer.java:134)
org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
org.alfresco.web.framework.render.RenderUtil.startRegionRenderer(RenderUtil.java:273)
org.alfresco.web.framework.render.RenderUtil.renderRegion(RenderUtil.java:213)
org.alfresco.web.framework.render.PresentationUtil.renderRegion(PresentationUtil.java:125)
org.alfresco.web.site.taglib.RegionTag.doStartTag(RegionTag.java:109)
org.alfresco.tools.TagUtil.execute(TagUtil.java:147)
org.alfresco.tools.TagUtil.execute(TagUtil.java:81)
org.alfresco.web.scripts.FreemarkerTagSupportDirective.executeTag(FreemarkerTagSupportDirective.java:89)
org.alfresco.web.scripts.RegionFreemarkerTagDirective.execute(RegionFreemarkerTagDirective.java:128)
freemarker.core.Environment.visit(Environment.java:261)
freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.Environment.visit(Environment.java:393)
freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.Macro$Context.runMacro(Macro.java:164)
freemarker.core.Environment.visit(Environment.java:601)
freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.Environment.process(Environment.java:188)
freemarker.template.Template.process(Template.java:237)
org.alfresco.web.scripts.PresentationTemplateProcessor.process(PresentationTemplateProcessor.java:185)
org.alfresco.web.scripts.FreemarkerProcessor.executeBody(FreemarkerProcessor.java:266)
org.alfresco.web.framework.render.AbstractProcessor.execute(AbstractProcessor.java:85)
org.alfresco.web.framework.render.RenderHelper.processTemplate(RenderHelper.java:385)
org.alfresco.web.framework.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:140)
org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
org.alfresco.web.framework.render.bean.PageRenderer.body(PageRenderer.java:81)
org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
org.alfresco.web.framework.render.RenderUtil.startPageRenderer(RenderUtil.java:144)
org.alfresco.web.framework.render.RenderUtil.renderPage(RenderUtil.java:117)
org.alfresco.web.framework.render.PresentationUtil.renderPage(PresentationUtil.java:86)
org.alfresco.web.site.servlet.DispatcherServlet.dispatchPage(DispatcherServlet.java:512)
org.alfresco.web.site.servlet.DispatcherServlet.dispatch(DispatcherServlet.java:389)
org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:165)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
java.lang.Thread.run(Thread.java:636)
Exception: org.alfresco.web.scripts.WebScriptException - 11010004 TypeError: Cannot read property "properties" from null (file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashboard/customise-layout.get.js#4)
org.alfresco.web.scripts.PresentationScriptProcessor.executeScriptImpl(PresentationScriptProcessor.java:316)
Exception: org.alfresco.web.scripts.WebScriptException - 11010005 Failed to load script '/org/alfresco/components/dashboard/customise-layout.get.js (in classpath store file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts)': 11010004 TypeError: Cannot read property "properties" from null (file:/var/lib/tomcat6/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashboard/customise-layout.get.js#4)
org.alfresco.web.scripts.PresentationScriptProcessor.executeScript(PresentationScriptProcessor.java:193)

bufke
Champ in-the-making
Champ in-the-making
Finally I figured out how to reproduce this bug!  Not sure if there is a quicker way.  I let my browser sit at a alfresco site for a long time, until my login expires.  Then click on the dashboard so the page reloads, this put me at the login prompt as it should.  Now when I log in however the site is broken for 5 minutes.  The site is still broken for other people too.  Can anyone else reproduce this way?  I filed a bug report

https://issues.alfresco.com/jira/browse/ALFCOM-3698

bufke
Champ in-the-making
Champ in-the-making
I think it's related to this https://issues.alfresco.com/jira/browse/ETHREEOH-2428

To work around I enabled guest login and the problem went away.  Yay.

gronfelt
Champ in-the-making
Champ in-the-making
It looks a lot like this issue, which should have been fixed by now:

https://issues.alfresco.com/jira/browse/ALFCOM-3306

You might want to comment on that issue to get it reopened if the problem is still there.