12-29-2010 09:01 PM
Exception in thread "Thread-110" net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A
valid SecureContext was not provided in the RequestContext
at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSe
curityInterceptor.java:477)
at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecur
ityInterceptor.java:355)
at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(Method
SecurityInterceptor.java:77)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(E
xceptionTranslatorMethodInterceptor.java:49)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:147)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInte
rceptor.java:107)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy64.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
12-30-2010 10:07 AM
01-03-2011 01:17 AM
class ThumbnailGenerateThread extends Thread{
FileFolderService ffservice;
NodeRef noderef;
public ThumbnailGenerateThread(FileFolderService service, NodeRef node){
this.ffservice = service;
this.noderef = node;
}
public void run(){
RunAsWork<Object> thumbGeneWork = new RunAsWork<Object>()
{
public Object doWork() throws Exception
{
System.out.println("before generation of ThumbnailGenerateThread");
ffservice.generaThumbnail(noderef);
System.out.println("after generation of ThumbnailGenerateThread");
return null;
}
};
AuthenticationUtil.runAs(thumbGeneWork, AuthenticationUtil.SYSTEM_USER_NAME);
}
}
Exception in thread "Thread-103" org.springframework.transaction.UnexpectedRollbackException: Transa
ction rolled back because it has been marked as rollback-only
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(Abstrac
tPlatformTransactionManager.java:717)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAft
erReturning(TransactionAspectSupport.java:394)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInte
rceptor.java:117)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy64.generaThumbnail(Unknown Source)
at org.alfresco.web.bean.content.EditContentPropertiesDialog$ThumbnailGenerateWork.doWork(Ed
itContentPropertiesDialog.java:360)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.jav
a:514)
at org.alfresco.web.bean.content.EditContentPropertiesDialog$ThumbnailGenerateThread.run(Edi
tContentPropertiesDialog.java:391)
01-08-2011 11:09 PM
01-09-2011 05:42 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.