cancel
Showing results for 
Search instead for 
Did you mean: 

Convert Doc 2 PDF Problem

groudie
Champ in-the-making
Champ in-the-making
Hi,

I defined a rule which convert DOC to PDF.

When the conversion running the error fallow :

Transaction didn't commit: Transaction has been rolled back because it has been marked as rollback-only


Thaks you for your help.
2 REPLIES 2

jarek_potiuk
Champ in-the-making
Champ in-the-making
We have exactly the same problem. Can you help. Stack trace follows:

Hi,

I defined a rule which convert DOC to PDF.

When the conversion running the error fallow :

Transaction didn't commit: Transaction has been rolled back because it has been marked as rollback-only


Thaks you for your help.

22:25:18,471 ERROR [util.transaction.SpringAwareUserTransaction] Transaction didn't commit
org.springframework.transaction.UnexpectedRollbackException: Transaction has been rolled back because it has been marked as rollbac
k-only
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.jav
a:465)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspect
Support.java:266)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
        at $Proxy18.executeAction(Unknown Source)
        at org.alfresco.repo.rule.RuleServiceImpl.executePendingRule(RuleServiceImpl.java:779)
        at org.alfresco.repo.rule.RuleServiceImpl.executePendingRulesImpl(RuleServiceImpl.java:744)
        at org.alfresco.repo.rule.RuleServiceImpl.executePendingRules(RuleServiceImpl.java:712)
        at org.alfresco.repo.rule.RuleTransactionListener.beforeCommit(RuleTransactionListener.java:61)
        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransaction
Support.java:585)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransacti
onManager.java:657)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionMana
ger.java:482)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.jav
a:469)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspect
Support.java:266)
        at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:397)

csiege
Champ in-the-making
Champ in-the-making
You could try this… I had this happening at one point… found if I started the open office service BEFORE starting the alfresco/tomcat service it worked…