cancel
Showing results for 
Search instead for 
Did you mean: 

Exception accessing the Guest Space RSS Feed

rguinot
Confirmed Champ
Confirmed Champ
Hi ,

I was trying to set up the RSS Feed on the Guest Space .
I am evaluating 1.4CE with JBoss Portal , under MySQL 5.0.22
It worked fine out of the box .
However , i switched to LDAP authentification ( which is working great ) , and modified the default settings so that each gets assigned a home in Company_home/home instead of Compny_home . Besides that , this is a fresh install .
This apparently broke something on the guest space because whenever i want to modify user permissions (Manage Space Users )  i get :

 A system error happened during the operation: Access Denied. The system is currently in read-only mode.
This is the only space where i get this error .
When accessing the feed , i get :

2006-11-23 15:58:16,244 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/alfresco].[guestTemplateContent]] Servlet.service() for servlet guestTemplateContent threw exception
org.alfresco.error.AlfrescoRuntimeException: Error during template servlet processing: A system error happened during the operation: Access Denied. The system is currently in read-only mode.
org.alfresco.web.app.servlet.BaseTemplateContentServlet.processTemplateRequest(BaseTemplateContentServlet.java:256)
        at org.alfresco.web.app.servlet.GuestTemplateContentServlet$TemplateContentWork.doWork(GuestTemplateContentServlet.java:183)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:244)
        at org.alfresco.web.app.servlet.GuestTemplateContentServlet.service(GuestTemplateContentServlet.java:131)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.alfresco.repo.security.permissions.AccessDeniedException: Accès interdit.  Le système est actuellement en lecture seule.
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:50)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:210)
        at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:156)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:61)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
        at $Proxy177.getPerson(Unknown Source)
        at org.alfresco.web.app.servlet.GuestTemplateContentServlet.buildModel(GuestTemplateContentServlet.java:104)
        at org.alfresco.web.app.servlet.BaseTemplateContentServlet.getModel(BaseTemplateContentServlet.java:277)
        at org.alfresco.web.app.servlet.BaseTemplateContentServlet.processTemplateRequest(BaseTemplateContentServlet.java:218)
        … 25 more
Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition
        at org.springframework.orm.hibernate3.HibernateTemplate.checkWriteOperationAllowed(HibernateTemplate.java:1071)
        at org.springframework.orm.hibernate3.HibernateTemplate$12.doInHibernate(HibernateTemplate.java:614)
        at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:365)
        at org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:612)
        at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.newNode(HibernateNodeDaoServiceImpl.java:394)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
        at org.alfresco.repo.transaction.TransactionalDaoInterceptor.invoke(TransactionalDaoInterceptor.java:60)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
        at $Proxy133.newNode(Unknown Source)
        at org.alfresco.repo.node.db.DbNodeServiceImpl.createNode(DbNodeServiceImpl.java:286)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:213)
        at $Proxy134.createNode(Unknown Source)
        at org.alfresco.repo.security.person.PersonServiceImpl.createPerson(PersonServiceImpl.java:264)
        at org.alfresco.repo.security.person.PersonServiceImpl.createMissingPerson(PersonServiceImpl.java:244)
        at org.alfresco.repo.security.person.PersonServiceImpl.getPerson(PersonServiceImpl.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:41)
        … 37 more
2006-11-23 15:58:16,251 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/alfresco].[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: RenderResponse object is null
        at org.alfresco.web.ui.repo.tag.SystemErrorTag.doStartTag(SystemErrorTag.java:226)
        at org.apache.jsp.jsp.error_jsp._jspx_meth_r_systemError_0(org.apache.jsp.jsp.error_jsp:148)
        at org.apache.jsp.jsp.error_jsp._jspService(org.apache.jsp.jsp.error_jsp:108)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:362)
        at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:211)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
2006-11-23 15:58:16,252 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/jsp/error.jsp]
java.lang.IllegalStateException: RenderResponse object is null
        at org.alfresco.web.ui.repo.tag.SystemErrorTag.doStartTag(SystemErrorTag.java:226)
        at org.apache.jsp.jsp.error_jsp._jspx_meth_r_systemError_0(org.apache.jsp.jsp.error_jsp:148)
        at org.apache.jsp.jsp.error_jsp._jspService(org.apache.jsp.jsp.error_jsp:108)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:362)
        at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:211)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)

Any help would be appreciated ! i really don't know where this is coming from .
Thanks .

On a side note , are you guys planning to support some kind of
authenticated feed , where you would access a restricted space via RSS ?
8 REPLIES 8

derek
Star Contributor
Star Contributor
Hi,

What does the license message say at startup?

When you modified set up the LDAP config, did you set the createMissingPeople property by any chance?

        <!– Valid values are                                         –>
        <!–     ${server.transaction.allow-writes}                   –>
        <!–     false                                                –>
        <property name="createMissingPeople">
           <value>${server.transaction.allow-writes}</value>
        </property>

Did you change the ${server.transaction.allow-writes} property?

Regards

rguinot
Confirmed Champ
Confirmed Champ
Thanks for taking time to answer .
I did not modify the create missing people , in authentication-services-context.xml , i have : 


<property name="createMissingPeople">
           <value>${server.transaction.allow-writes}</value>
</property>

and in domain/transaction.properties ,
server.transaction.allow-writes=true


I do not see the licence message you mention at startup , could you tell me more about that ? I am evaluating the community edition , there shouldn't be licence issues …
The weird thing is i only get the error on the guest space (even logged in as admin ) , on the other spaces i can modify whatever i want .

Thanks for the help .
Regards

derek
Star Contributor
Star Contributor
Hi,

It seems likely then that an exception is being incorrectly interpreted as arising from the read only issue.  In order to bypass the exception translation, override the exceptionTranslator bean.  The original is in public-services-context.xml.  In custom-repository-context.xml (see your extensions folder) add:

    <bean id="exceptionTranslator" class="org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor"/>
Restart the server and trigger the error again.  The cause of the issue won't be translated and will therefore not be treated specially by the client and you should see a stack trace.  Post that here and we'll see what can be done about the root cause.

Regards

rguinot
Confirmed Champ
Confirmed Champ
Here's the result with the modification applied :

Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition

Here's the full stacktrace :

ERROR [org.alfresco.web.ui.common.Utils] A system error has occured : Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition
        at org.springframework.orm.hibernate3.HibernateTemplate.checkWriteOperationAllowed(HibernateTemplate.java:1071)
        at org.springframework.orm.hibernate3.HibernateTemplate$12.doInHibernate(HibernateTemplate.java:614)
        at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:365)
        at org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:612)
        at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.newNode(HibernateNodeDaoServiceImpl.java:394)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
        at org.alfresco.repo.transaction.TransactionalDaoInterceptor.invoke(TransactionalDaoInterceptor.java:60)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
        at $Proxy133.newNode(Unknown Source)
        at org.alfresco.repo.node.db.DbNodeServiceImpl.createNode(DbNodeServiceImpl.java:286)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:213)
        at $Proxy134.createNode(Unknown Source)
        at org.alfresco.repo.security.person.PersonServiceImpl.createPerson(PersonServiceImpl.java:264)
        at org.alfresco.repo.security.person.PersonServiceImpl.createMissingPerson(PersonServiceImpl.java:244)
        at org.alfresco.repo.security.person.PersonServiceImpl.getPerson(PersonServiceImpl.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:32)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:210)
        at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:156)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:61)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
        at $Proxy177.getPerson(Unknown Source)
        at org.alfresco.web.bean.users.UserMembersBean.getUsers(UserMembersBean.java:326)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:400)
        at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:71)
        at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:532)
        at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
        at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:378)
        at org.alfresco.web.ui.common.component.data.UIRichList.getValue(UIRichList.java:144)
        at org.alfresco.web.ui.common.component.data.UIRichList.getDataModel(UIRichList.java:466)
        at org.alfresco.web.ui.common.component.data.UIRichList.bind(UIRichList.java:409)
        at org.alfresco.web.ui.common.renderer.data.RichListRenderer.encodeChildren(RichListRenderer.java:75)
        at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:319)
        at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:343)
        at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:251)
        at org.apache.jsp.jsp.roles.manage_002dinvited_002dusers_jsp._jspx_meth_a_richList_0(org.apache.jsp.jsp.roles.manage_002dinvited_002dusers_jsp:1507)
        at org.apache.jsp.jsp.roles.manage_002dinvited_002dusers_jsp._jspx_meth_a_panel_1(org.apache.jsp.jsp.roles.manage_002dinvited_002dusers_jsp:1442)
        at org.apache.jsp.jsp.roles.manage_002dinvited_002dusers_jsp._jspService(org.apache.jsp.jsp.roles.manage_002dinvited_002dusers_jsp:571)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.jboss.portal.portlet.impl.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:77)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
        at org.jboss.portal.portlet.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:98)
        at org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:164)
        at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:195)
        at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:396)
        at org.alfresco.web.app.portlet.AlfrescoFacesPortlet.facesRender(AlfrescoFacesPortlet.java:314)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
        at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContainer.java:521)
        at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:433)
        at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
        at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:65)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
        at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247)
        at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:73)
        at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81)
        at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:79)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:94)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:49)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:64)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
        at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:84)
        at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
        at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168)
        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61)
        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:68)
        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
        at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107)
        at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:141)
        at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:231)
        at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:164)
        at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
        at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168)
        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61)
        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58)
        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
        at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107)
        at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93)
        at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:151)
        at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77)
        at org.jboss.portal.core.CoreController.handle(CoreController.java:190)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
        at $Proxy210.handle(Unknown Source)
        at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
        at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47)
        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52)
        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69)
        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87)
        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75)
        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
        at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
        at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)

Do you know what config file i need to modify to make it work ?
For info , this is my transaction.properties , in alfresco/domain/transaction.properties :


#
# Server read-only or read-write modes
#
server.transaction.mode.readOnly=PROPAGATION_REQUIRED

# the properties below should change in tandem
#server.transaction.mode.default=PROPAGATION_REQUIRED
#server.transaction.allow-writes=false

server.transaction.mode.default=PROPAGATION_REQUIRED
server.transaction.allow-writes=true

As you can see , i tried to remove the readOnly mentions after PROPAGATION_REQUIRED which are present by default , but that did not solve the problem , the error still occurs .

Thanks for all the help .

Regards

andy
Champ on-the-rise
Champ on-the-rise
Hi

It sounds like you have deleted guest.

The LDAP import can delete all existing users and groups on import.
Are you deleting all users? I would check. I would not advide this.
This is mainly there to delete groups.

You could add guest to the ldap users.

Check via the admin console that the guest user exists.

Can we see your LDAP import config?

Regards

Andy

rguinot
Confirmed Champ
Confirmed Champ
I actually had clearAllChildren set to true , so the guest user got deleted .

I cleared the db and indexes , and reimported all via the restore-context , and now the situation is resolved .

Thank you very much indeed for your time and precision of your answers !

On a side note , are you guys planning to support some kind of
authenticated feed , where you would access a restricted space via RSS ?
I'm not feeling too good about inviting the guest user to get access to this hot functionnality  .

Thanks a lot ,

Regards

kevinr
Star Contributor
Star Contributor
Yes it would be good to have an authenticated feed. I guess we could allow username/password to be passed on the url - obviously that's not very secure but it would work Smiley Wink

Thanks,

Kevin

simon
Champ in-the-making
Champ in-the-making
I have exactly the same problem so maybe it's not a bad idea to note somewhere that the guest accounts will be removed when the clearAllChilderen LDAP is used? Or some better error message?

Don't include the username and password in the RSS link, use a token per user. What priority does Alfresco give to authenticated RSS feeds? It's something I absolutly want to use but it's completly useless if I need to include the guest account.

UPDATE: Seems there is a workaround for the authenticated RSS in 2.1.