Problem while assigning Rights to a particular group in Nuxeo-JBoss-5.3.1

Hello,

Using Nuxeo DM 5.3.1(JBoss), I've got an error message when i try to give access to a particular group. There are 5 groups(Administrator, country, zone, members, designers), I assigned rights for 4 groups. its saved and working fine. But in designers groups..It takes long time for assigning rights, after that i got this error

ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://localhost/nuxeo/view_documents.faces

The following error was encountered:

* Read Timeout 

The system returned:

[No Error]

A Timeout occurred while waiting to read data from the network. The network or server may be down or congested. Please retry your request.

Your cache administrator is root.

Could you please help me to find a solution ?

My jboss log is :

Request Attributes:

com.sun.faces.util.RequestStateManager : {com.sun.faces.ExternalContextImpl=com.sun.faces.context.ExternalContextImpl@1ff0537, com.sun.faces.ELResolverChainType=Faces, com.sun.faces.renderKitImplForRequest=org.ajax4jsf.renderkit.ChameleonRenderKitFactory@35174664, com.sun.faces.INVOCATION_PATH=.faces}
securityError : false
stackTrace : javax.servlet.ServletException: javax.servlet.ServletException: javax.el.ELException: /incl/tabs/document_rights.xhtml @75,67 rendered="${empty securityActions.parentDocumentsUsers}": Error reading 'parentDocumentsUsers' on type org.nuxeo.ecm.webapp.security.SecurityActionsBean_$$_javassist_74
    at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:131)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilter(NuxeoAuthenticationFilter.java:469)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoRequestControllerFilter.doFilter(NuxeoRequestControllerFilter.java:132)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFilter.doFilter(NuxeoExceptionFilter.java:80)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:595)
Caused by: javax.servlet.ServletException: javax.el.ELException: /incl/tabs/document_rights.xhtml @75,67 rendered="${empty securityActions.parentDocumentsUsers}": Error reading 'parentDocumentsUsers' on type org.nuxeo.ecm.webapp.security.SecurityActionsBean_$$_javassist_74
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:65)
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
    at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.nuxeo.wss.servlet.WSSFilter.doFilter(WSSFilter.java:135)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:127)
    ... 27 more
Caused by: javax.faces.FacesException: javax.el.ELException: /incl/tabs/document_rights.xhtml @75,67 rendered="${empty securityActions.parentDocumentsUsers}": Error reading 'parentDocumentsUsers' on type org.nuxeo.ecm.webapp.security.SecurityActionsBean_$$_javassist_74
    at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:393)
    at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1018)
    at org.ajax4jsf.component.AjaxViewRoot$1.invokeContextCallback(AjaxViewRoot.java:392)
    at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:238)
    at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:409)
    at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    at org.nuxeo.ecm.platform.ui.web.lifecycle.NuxeoLifeCycleImpl.execute(NuxeoLifeCycleImpl.java:83)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    ... 51 more
Caused by: javax.el.ELException: /incl/tabs/document_rights.xhtml @75,67 rendered="${empty securityActions.parentDocumentsUsers}": Error reading 'parentDocumentsUsers' on type org.nuxeo.ecm.webapp.security.SecurityActionsBean_$$_javassist_74
    at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
    at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:390)
    ... 60 more
Caused by: java.lang.NullPointerException
    at org.nuxeo.ecm.webapp.security.SecurityActionsBean.getParentDocumentsUsers(SecurityActionsBean.java:616)
    at sun.reflect.GeneratedMethodAccessor1143.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
    at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
    at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
    at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
    at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
    at org.nuxeo.ecm.webapp.security.SecurityActionsBean_$$_javassist_74.getParentDocumentsUsers(SecurityActionsBean_$$_javassist_74.java)
    at sun.reflect.GeneratedMethodAccessor1142.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
    at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
    at org.jboss.el.parser.AstEmpty.getValue(AstEmpty.java:29)
    at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
    at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
    ... 61 more

lockActions : ERROR TRYING TO GET THIS REQUEST ATTRIBUTE VALUE
nuxeo.disable.redirect.wrapper : true
org.jboss.seam.transaction.transaction : org.jboss.seam.transaction.Transaction@daf5ee7
deleteActions : org.nuxeo.ecm.webapp.action.DeleteActionsBean@747f96b5
org.jboss.seam.core.manager : Manager([1988])
org.jboss.seam.transaction.synchronizations : org.jboss.seam.transaction.SeSynchronizations@647f80d3
org.richfaces.component.DecodesPhaseNotifiyingListener:_AFTER_DECODE_PHASE : true
org.jboss.seam.core.conversationPropagation : org.jboss.seam.core.ConversationPropagation@6ee2d030
NuxeoExceptionHandlerMarker : true
org.jboss.seam.web.servletContexts : org.jboss.seam.web.ServletContexts@6cd2382f
org.jboss.seam.core.eventContext : BasicContext(EVENT)
org.ajax4jsf.application.AjaxStateManager.AJAX_VIEW_SEQUENCE : j_id4
org.jboss.seam.core.conversationContext : ConversationContext(1990)
user_message : an unexpected error occurred
0 votes

0 answers

1241 views

ANSWER

On a standard nuxeo this problem never occurred. Can you tell us what do have in your configuration that may explain this.

For instance make the same test on demo.nuxeo.com.

04/11/2012

Hi,

After installing and configuring nuxeo, I can create users, groups and i can assign access rights for that groups. No problem in this case. Server working fine.

If i restore the previous nuxeo backup and database backup into new nuxeo server i can't assign rights for that particular group only. I checked in Database also. All groupname is there. While assigning rights to that particular group the above time-out error occurs. But server is working for remaining thinks.

I thing data corruption occures in that nuxeo and db backups.

How can i solve this issue? In which area i should focus for assigning rights in nuxeo?

Thanks…..

04/12/2012