[ https://issues.apache.org/jira/browse/OFBIZ-9840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265712#comment-16265712 ]
Aman Mishra commented on OFBIZ-9840: ------------------------------------ Issue is occurring because DataResource (ids are DR1105b and DR1105a) have mime type as application/msword. Also the file associated with these DataResource is 'mswordtest2.doc' which is an msword file. During generation of a Composite PDF from Content Manager, 'renderContentPdf' service is invoked to render PDF file but there is not any support to render msword file. [~jleroux] Could you please provide some clarity about following data: {code} <DataResource dataResourceId="DR1105b" dataResourceTypeId="OFBIZ_FILE_BIN" objectInfo="/applications/content/data/mswordtest2.doc" mimeTypeId="application/msword" dataResourceName="2nd Quarter Review"/> <DataResource dataResourceId="DR1105a" dataResourceTypeId="OFBIZ_FILE_BIN" objectInfo="/applications/content/data/mswordtest2.doc" mimeTypeId="application/msword" dataResourceName="2nd Quarter Review"/> {code} Thanks! > Mime Type not supported Error while generating a Composite Pdf > -------------------------------------------------------------- > > Key: OFBIZ-9840 > URL: https://issues.apache.org/jira/browse/OFBIZ-9840 > Project: OFBiz > Issue Type: Bug > Components: content > Affects Versions: Trunk > Reporter: Julian Leichert > Assignee: Aman Mishra > > When generating a Composite Pdf in the Content Manager an Error occurs : > Mime Type not Supported > Steps to recreate the Error Message: > Content Manager-> CompDoc ->T ree-> View Instances-> Tree -> Generate > Composite Pdf > Error log: > {code:java} > java.lang.Exception: Error in Service [renderCompDocPdf]: Mime Type not > supported > at > org.apache.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:361) > [ofbiz.jar:?] > at > org.apache.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:302) > [ofbiz.jar:?] > at > org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:537) > [ofbiz.jar:?] > at > org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:229) > [ofbiz.jar:?] > at > org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88) > [ofbiz.jar:?] > at > org.apache.ofbiz.content.compdoc.CompDocEvents.genCompDocPdf(CompDocEvents.java:171) > [ofbiz.jar:?] > ... > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)