Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32257

PDFBox 1.6 cause tomcat crash on big PDF files

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
    • Component/s: DM
    • Labels:
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: af4a21c6d630e31cfb25b9c84e942503bdabe0bb.
      Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: ffb9e96ac872372bd7936d0ce3f40a4828259775.

      Description

      Upload a big PDF file. (I can't attach the file to this ticket because it is too large : 31.12MB > 14.77MB)
      Try to access to the file preview in Document Library

      Then Tomcat is not responding to any request.

      This is caused by PDFBox library, ERROR [liferay/document_library_raw_metadata_processor-1][FlateFilter:127] Stop reading corrupt stream

      Upgrading to PDFBow 1.7.1 fix this issue.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 33 weeks, 6 days ago

                  Packages

                  Version Package
                  6.1.2 CE GA3
                  6.1.30 EE GA3
                  6.2.0 CE M4