Chatree Srichart created OFBIZ-4845:
--------------------------------------- Summary: Apache Commons Compress is missing for Tika Key: OFBIZ-4845 URL: https://issues.apache.org/jira/browse/OFBIZ-4845 Project: OFBiz Issue Type: Bug Components: content Affects Versions: SVN trunk Environment: Ubuntu 10.04 Reporter: Chatree Srichart Attachments: commons-compress-1.4.jar I got a problem when I called createDataResource service for a zip file. 421240 [http-bio-0.0.0.0-8443-exec-2] ERROR org.ofbiz.service.group.GroupModel - Grouped service [createDataResource] failed. 421240 [http-bio-0.0.0.0-8443-exec-2] ERROR org.ofbiz.service.ServiceDispatcher - Error in Service [createContentFromUploadedFile]: ERROR: Could not complete the Create a Data Resource [file:/path/to/ofbiz/applications/content/script/org/ofbiz/content/data/DataServices.xml#createDataResource] process [Method to execute named getMimeTypeWithByteBuffer threw an exception: java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/zip/ZipFile] The problem was OFBiz is missing Apache Commons Compress library which is required for Tika. When I added commons-compress-1.4.jar into framework/base/lib/commons directory then it worked. Regards, Chatree Srichart -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chatree Srichart updated OFBIZ-4845: ------------------------------------ Attachment: commons-compress-1.4.jar > Apache Commons Compress is missing for Tika > ------------------------------------------- > > Key: OFBIZ-4845 > URL: https://issues.apache.org/jira/browse/OFBIZ-4845 > Project: OFBiz > Issue Type: Bug > Components: content > Affects Versions: SVN trunk > Environment: Ubuntu 10.04 > Reporter: Chatree Srichart > Attachments: commons-compress-1.4.jar > > Original Estimate: 3h > Remaining Estimate: 3h > > I got a problem when I called createDataResource service for a zip file. > 421240 [http-bio-0.0.0.0-8443-exec-2] ERROR org.ofbiz.service.group.GroupModel - Grouped service [createDataResource] failed. > 421240 [http-bio-0.0.0.0-8443-exec-2] ERROR org.ofbiz.service.ServiceDispatcher - Error in Service [createContentFromUploadedFile]: ERROR: Could not complete the Create a Data Resource [file:/path/to/ofbiz/applications/content/script/org/ofbiz/content/data/DataServices.xml#createDataResource] process [Method to execute named getMimeTypeWithByteBuffer threw an exception: java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/zip/ZipFile] > The problem was OFBiz is missing Apache Commons Compress library which is required for Tika. When I added commons-compress-1.4.jar into framework/base/lib/commons directory then it worked. > Regards, > Chatree Srichart -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erwan de FERRIERES reassigned OFBIZ-4845: ----------------------------------------- Assignee: Erwan de FERRIERES > Apache Commons Compress is missing for Tika > ------------------------------------------- > > Key: OFBIZ-4845 > URL: https://issues.apache.org/jira/browse/OFBIZ-4845 > Project: OFBiz > Issue Type: Bug > Components: content > Affects Versions: SVN trunk > Environment: Ubuntu 10.04 > Reporter: Chatree Srichart > Assignee: Erwan de FERRIERES > Attachments: commons-compress-1.4.jar > > Original Estimate: 3h > Remaining Estimate: 3h > > I got a problem when I called createDataResource service for a zip file. > 421240 [http-bio-0.0.0.0-8443-exec-2] ERROR org.ofbiz.service.group.GroupModel - Grouped service [createDataResource] failed. > 421240 [http-bio-0.0.0.0-8443-exec-2] ERROR org.ofbiz.service.ServiceDispatcher - Error in Service [createContentFromUploadedFile]: ERROR: Could not complete the Create a Data Resource [file:/path/to/ofbiz/applications/content/script/org/ofbiz/content/data/DataServices.xml#createDataResource] process [Method to execute named getMimeTypeWithByteBuffer threw an exception: java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/zip/ZipFile] > The problem was OFBiz is missing Apache Commons Compress library which is required for Tika. When I added commons-compress-1.4.jar into framework/base/lib/commons directory then it worked. > Regards, > Chatree Srichart -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erwan de FERRIERES closed OFBIZ-4845. ------------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Done at rev 1331060 Thanks Chatree for reporting. > Apache Commons Compress is missing for Tika > ------------------------------------------- > > Key: OFBIZ-4845 > URL: https://issues.apache.org/jira/browse/OFBIZ-4845 > Project: OFBiz > Issue Type: Bug > Components: content > Affects Versions: SVN trunk > Environment: Ubuntu 10.04 > Reporter: Chatree Srichart > Assignee: Erwan de FERRIERES > Fix For: SVN trunk > > Attachments: commons-compress-1.4.jar > > Original Estimate: 3h > Remaining Estimate: 3h > > I got a problem when I called createDataResource service for a zip file. > 421240 [http-bio-0.0.0.0-8443-exec-2] ERROR org.ofbiz.service.group.GroupModel - Grouped service [createDataResource] failed. > 421240 [http-bio-0.0.0.0-8443-exec-2] ERROR org.ofbiz.service.ServiceDispatcher - Error in Service [createContentFromUploadedFile]: ERROR: Could not complete the Create a Data Resource [file:/path/to/ofbiz/applications/content/script/org/ofbiz/content/data/DataServices.xml#createDataResource] process [Method to execute named getMimeTypeWithByteBuffer threw an exception: java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/zip/ZipFile] > The problem was OFBiz is missing Apache Commons Compress library which is required for Tika. When I added commons-compress-1.4.jar into framework/base/lib/commons directory then it worked. > Regards, > Chatree Srichart -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |