Thanks for your suggesion Kautuk Sahni, I changed "datawrite" to "Workflow-service".Now im getting following exception at the time of group creation [ group = userManager.createGroup(groupName,new SimplePrincipal(groupName),PATH_HOME_GROUPS); ]:javax.jcr.AccessDeniedException: Missing permission to ...