AnsweredAssumed Answered

NoTransformerException

Question asked by gdinfo on Jan 7, 2008
Latest reply on Jan 8, 2008 by gdinfo
Hi All,

my configuration is:
Alfresco 2.9B, Tomcat, Mysql
CentOS 4.5
OpenOffice 2.3

with a new installation I receive an error (0) during an upload of a MS Word file in a space with a simple transformation rule to PDF.  The application stops after the upload with the "red" error:

Correggere gli errori riportati di seguito e premere OK.
Loperazione ha generato un errore di sistema: {0}

Neither the doc file nor the pdf have been created in the space.  No errors reported in the Catalina log file.

Using CIFS the doc file has been uploaded in the space without generating the PDF and the stack error in the log is:

7-gen-2008 8.20.50 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
7-gen-2008 8.20.50 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3232 ms
7-gen-2008 8.20.50 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
7-gen-2008 8.20.50 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
7-gen-2008 8.20.51 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
7-gen-2008 8.20.52 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
08:21:48,246 User:System WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
08:21:58,839 User:System INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
08:22:03,269 User:System INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
08:22:12,211 User:System INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco/alf_data
08:22:12,427 User:System INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
08:22:14,432 User:System INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
08:22:14,788 User:System ERROR [alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
08:22:14,789 User:System ERROR [alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
08:22:15,423 User:System WARN  [alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
08:22:15,439 User:System INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_13-b05; maximum heap size 506,313MB
08:22:15,441 User:System INFO  [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.9.0 (B 698) schema 116 - Installed version 2.9.0 (B 698) schema 116
7-gen-2008 8.22.29 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
7-gen-2008 8.22.29 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
7-gen-2008 8.22.29 org.apache.catalina.startup.Catalina start
INFO: Server startup in 99392 ms
javax.transaction.RollbackException: Transaction didn't commit: No transformation exists between mimetypes application/msword and application/pdf
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:430)
   at org.alfresco.filesys.server.SrvSession.endTransaction(SrvSession.java:684)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1401)
   at java.lang.Thread.run(Thread.java:595)
Caused by: org.alfresco.service.cmr.repository.NoTransformerException: No transformation exists between mimetypes application/msword and application/pdf
   at org.alfresco.repo.action.executer.TransformActionExecuter.executeImpl(TransformActionExecuter.java:189)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:120)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:537)
   at org.alfresco.repo.action.executer.CompositeActionExecuter.executeImpl(CompositeActionExecuter.java:72)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:120)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:537)
   at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:472)
   at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:399)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
   at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:241)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
   at $Proxy18.executeAction(Unknown Source)
   at org.alfresco.repo.rule.RuleServiceImpl.executeRule(RuleServiceImpl.java:922)
   at org.alfresco.repo.rule.RuleServiceImpl.executePendingRule(RuleServiceImpl.java:890)
   at org.alfresco.repo.rule.RuleServiceImpl.executePendingRulesImpl(RuleServiceImpl.java:861)
   at org.alfresco.repo.rule.RuleServiceImpl.executePendingRules(RuleServiceImpl.java:834)
   at org.alfresco.repo.rule.RuleTransactionListener.beforeCommit(RuleTransactionListener.java:69)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:638)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:620)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:592)
   at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:48)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:821)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:637)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:624)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:307)
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:420)
   … 3 more

(I reported also the bootstrap lines that appear to be correct.)

Whith a plain TXT file, all works fine.

Outcomes