cancel
Showing results for 
Search instead for 
Did you mean: 

Regd Failure of ASR deployement on Linux

dynamolalit
Champ on-the-rise
Champ on-the-rise
Hi,

We are using Alfresco 3.1.1 over Linux RHEL 5.0 over JBoss 4.2.3 GA.Setup is working fine but we are facing a strange issue with ASR deployment.When a user creates some content using web form & submit it to other user for approval, recipient is able to see the notification in his "My Tasks to do" list but as soon as recipient approves the content,it is not deployed to his user sand box & it is giving "Access is denied error" .Here we are using websiteSubmission workflow to deploy content from one user sandbox to the other & have checked in "Auto Deploy" option while submitting content for approval in workflow.Please see the error below:


repo.action.AsynchronousActionExecutionQueueImpl] Failed to execute asynchronous action: Action[ id=7a08de93-65c9-4e19-b646-d5651409c86f, node=null ]
org.alfresco.repo.security.permissions.AccessDeniedException: Access Denied.  You do not have the appropriate permissions to perform this operation.
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:53)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:275)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy63.getProperties(Unknown Source)
   at org.alfresco.repo.avm.actions.AVMDeployWebsiteAction.executeImpl(AVMDeployWebsiteAction.java:271)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:688)
   at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:625)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:369)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:322)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:229)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:378)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:497)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:381)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
   at java.lang.Thread.run(Thread.java:595)
Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied.
   at net.sf.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:86)
   at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:394)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
   … 21 more

Do anyone have an idea on it? I am struggling with it for very long. :evil:

I will be very happy if Alfresco guys can look into it.
2 REPLIES 2

dynamolalit
Champ on-the-rise
Champ on-the-rise
Hi,

I got the clue.It was due to database & alf_data mismatch as alfresco db got corrupted due to export & import of alf_data & db backup from windows  machine to another Linux machine which created two tables with same name both in capitals & small letters hence the issue raised. :wink:

Be careful while exporting alfresco backup…u never know what issues you can face… Smiley Surprised …try always to set up fresh installation on separate machines separately as it will reduce your rework & pain. :idea:

dynamolalit
Champ on-the-rise
Champ on-the-rise
Please refer to my post.

http://forums.alfresco.com/en/viewtopic.php?f=29&t=20693&p=77913#p77913

Basically this is an alfresco issue creating user by itself.