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

NoSuchFileException in console when starts JBoss EAP 6.4 with Oracle 12

    Details

    • Fix Priority:
      5
    • Application Servers:
      JBoss EAP 6.4
    • Databases:
      Oracle Database 12c Release 1

      Description

      Steps to reproduce:

      1. Start JBoss EAP 6.4 with Oracle 12.

      Expected result:
      Server could start up successfully.

      Actual result:
      1. NoSuchFileException occurred in console.
      2. Staging does not work.
      3. There is a break icon near DXP character.

      03:15:24,290 ERROR [http-/127.0.0.1:8080-5][ImageImpl:69] Error reading image 20163
      com.liferay.document.library.kernel.exception.NoSuchFileException: {companyId=0, repositoryId=0, fileName=20163.png, cause=java.io.FileNotFoundException: D:\bundles\test\liferay-dxp-digital-enterprise-7.0-sp4\data\document_library\0\0\20163.png\1.0 (系统找不到指定的路径。)}
      	at com.liferay.portal.store.file.system.FileSystemStore.getFileAsStream(FileSystemStore.java:277)
      	at com.liferay.document.library.kernel.store.BaseStore.getFileAsStream(BaseStore.java:322)
      	at com.liferay.portal.store.ignore.duplicates.wrapper.internal.IgnoreDuplicatesStore.getFileAsStream(IgnoreDuplicatesStore.java:189)
      	at com.liferay.portal.store.safe.file.name.wrapper.internal.SafeFileNameStore.getFileAsStream(SafeFileNameStore.java:241)
      	at com.liferay.portlet.documentlibrary.store.DLStoreImpl.getFileAsStream(DLStoreImpl.java:290)
      	at com.liferay.document.library.kernel.store.DLStoreUtil.getFileAsStream(DLStoreUtil.java:383)
      	at com.liferay.portal.model.impl.ImageImpl.getTextObj(ImageImpl.java:60)
      	at com.liferay.portal.webserver.WebServerServlet.getImageBytes(WebServerServlet.java:569)
      	at com.liferay.portal.webserver.WebServerServlet.writeImage(WebServerServlet.java:1322)
      	at com.liferay.portal.webserver.WebServerServlet.service(WebServerServlet.java:311)
      

      Notes:
      1. If I remove the postgresql.jar in "modules\com\liferay\portal\main" and remove the "<resource-root path="postgresql.jar" />" in module.xml, this would not happen.
      2. This does not happen with HSQL & MySQL.

        Attachments

          Activity

            People

            • Assignee:
              dante.wang Dante Wang
              Reporter:
              hong.zhao Hong Zhao
              Participants of an Issue:
              Recent user:
              Michael Saechang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 4 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 DXP SP3