Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
    • Fix Version/s: 6.1.30 EE GA3, 6.2.0 CE M2
    • Labels:
    • Environment:
      Jboss 5.1, Tomcat 6, Jboss 5.1, Nuxeo DM 5.5.0-HF6, OpenJDK 6. FreeBSD 8.3 RC2, Liferay 6.1.+ CE. PostgreSQL 9.1
    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      5

      Description

      I'm Using these settings in portal-ext.properties.

      image.hook.impl=com.liferay.portal.image.DatabaseHook
      dl.store.impl=com.liferay.portlet.documentlibrary.store.DBStore

      changing the Logo from the portal and store the new one as blob inside the database provides these expation

      17:26:30,712 ERROR [ImageProcessorImpl:269] java.io.IOException: org.postgresql.util.PSQLException: ERROR: invalid large-object descriptor: 1
      java.io.IOException: org.postgresql.util.PSQLException: ERROR: invalid large-object descriptor: 1
              at org.postgresql.largeobject.BlobInputStream.read(BlobInputStream.java:98)
              at java.io.InputStream.read(InputStream.java:170)
              at java.io.InputStream.read(InputStream.java:101)
              at com.liferay.portal.kernel.util.StreamUtil.transferByteArray(StreamUtil.java:206)
              at com.liferay.portal.kernel.util.StreamUtil.transfer(StreamUtil.java:162)
              at com.liferay.portal.kernel.util.StreamUtil.transfer(StreamUtil.java:129)
              at com.liferay.portal.util.FileImpl.getBytes(FileImpl.java:401)
              at com.liferay.portal.util.FileImpl.getBytes(FileImpl.java:387)
              at com.liferay.portal.util.FileImpl.getBytes(FileImpl.java:381)
              at com.liferay.portal.kernel.util.FileUtil.getBytes(FileUtil.java:153)
              at com.liferay.portlet.documentlibrary.util.ImageProcessorImpl._generateImages(ImageProcessorImpl.java:248)
              at com.liferay.portlet.documentlibrary.util.ImageProcessorImpl.generateImages(ImageProcessorImpl.java:85)
              at com.liferay.portlet.documentlibrary.util.ImageProcessorUtil.generateImages(ImageProcessorUtil.java:38)
              at com.liferay.portlet.documentlibrary.messaging.ImageProcessorMessageListener.doReceive(ImageProcessorMessageListener.java:36)
              at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
              at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
              at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:103)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:669)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:580)
              at java.lang.Thread.run(Thread.java:679)
      

        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:
                  5 years, 1 week ago