AnsweredAssumed Answered

Not able to see MySpaces in Alfresco integrated with Liferay

Question asked by lakshya on Dec 17, 2008
Latest reply on May 3, 2009 by rivetlogic
Hello,
I have deployed Alfresco.war of Enterprise 3 in Liferay 5.1.2.
I am not able to view My Spaces. It gives error after clicking on it.

Exception :

Web Script Status 500 - Internal Error

The Web Script /alfresco/168s/ui/myspaces has responded with a status of 500 - Internal Error.

500 Description: An error inside the HTTP server which prevented it from fulfilling the request.
 
Message: Wrapped Exception (with status template): Error during processing of the template 'Error on line 34, column 4 in org/alfresco/portlets/myspaces.get.html.ftl userhome is undefined. It cannot be assigned to home'. Please contact your system administrator.
  
Exception: freemarker.core.InvalidReferenceException - Error on line 34, column 4 in org/alfresco/portlets/myspaces.get.html.ftl userhome is undefined. It cannot be assigned to home
  
freemarker.core.Assignment.accept(Assignment.java:111)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.IfBlock.accept(IfBlock.java:82)
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.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:201)
org.alfresco.web.scripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:504)
org.alfresco.web.scripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:241)
org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)
org.alfresco.repo.web.scripts.RepositoryContainer$1.execute(RepositoryContainer.java:311)
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)
org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:360)
org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:382)
org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:264)
org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:260)
org.alfresco.web.scripts.portlet.WebScriptPortlet$PortletRuntime.executeScript(WebScriptPortlet.java:302)
org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)
org.alfresco.web.scripts.portlet.WebScriptPortlet.doView(WebScriptPortlet.java:201)
org.alfresco.web.scripts.portlet.WebScriptPortlet.render(WebScriptPortlet.java:125)
com.sun.portal.portletcontainer.appengine.filter.FilterChainImpl.doFilter(FilterChainImpl.java:121)
com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:69)
com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:96)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:575)
com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:646)
com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:414)
org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1383)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:2391)
com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:2341)
com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:773)
com.liferay.portal.action.RenderPortletAction.execute(RenderPortletAction.java:96)
com.liferay.portal.action.UpdateLayoutAction.addPortlet(UpdateLayoutAction.java:260)
com.liferay.portal.action.UpdateLayoutAction.execute(UpdateLayoutAction.java:211)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:164)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:443)
com.liferay.portal.servlet.MainServlet.service(MainServlet.java:708)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:132)
com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:117)
com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:71)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:132)
com.liferay.portal.servlet.filters.compression.CompressionFilter.processFilter(CompressionFilter.java:141)
com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:71)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:132)
com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:282)
com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:71)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:132)
com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:186)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:132)
com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:74)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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:175)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
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:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
  
Exception: org.alfresco.service.cmr.repository.TemplateException - Error during processing of the template 'Error on line 34, column 4 in org/alfresco/portlets/myspaces.get.html.ftl userhome is undefined. It cannot be assigned to home'. Please contact your system administrator.
  
org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:205)
  
Exception: org.alfresco.web.scripts.WebScriptException - Wrapped Exception (with status template): Error during processing of the template 'Error on line 34, column 4 in org/alfresco/portlets/myspaces.get.html.ftl userhome is undefined. It cannot be assigned to home'. Please contact your system administrator.
  
org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:594)
  
Server: Alfresco Enterprise v3.0.0 (r11498) schema 501
Time: Dec 17, 2008 3:21:51 PM
  
Diagnostics: Inspect Web Script (org/alfresco/portlets/myspaces.get)



Can anyone help to get rid of this.


Thnx..

Outcomes