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

Liferay Portal 6.2 CE RC4 Tomcat Bundle HSQLDB Sample Data and Minimal Data Errors

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      5

      Description

      Overview

      The Liferay Portal 6.2 CE RC4 and Tomcat bundle available at Sourceforge exhibits various issues when using the sample data (packaged in the "bundle") or the minimal database created from scratch.

      This issue is an extension of LPS ticket https://issues.liferay.com/browse/LPS-41013 and is related to LPS ticket https://issues.liferay.com/browse/LPS-37300.

      Test Cases

      Test Case 20131014-1 : Mac OS X and LP TC Bundle Data

      Environment

      • Liferay Portal: Liferay Portal 6.2 CE RC4 Tomcat 7 Bundle
      • O/S: Apple Mac OS X 10.8.5 (Mountain Lion)
      • Java: Java 1.6.0_35
      • Database: HSQLDB

      Test Steps

      Test Outcome

      Test Outcome: Fail

      User permission error as per LPS ticket LPS-41013 at

      https://issues.liferay.com/browse/LPS-41013

      Test Case 20131014-2 : Mac OS X and LP TC Empty Data

      Environment

      • Liferay Portal: Liferay Portal 6.2 CE RC4 Tomcat 7 Bundle
      • O/S: Apple Mac OS X 10.8.5 (Mountain Lion)
      • Java: Java 1.6.0_35
      • Database: HSQLDB

      Test Steps

      • Delete (or rename) "LIFERAY_HOME_HOME/data" folder.
      • Start Liferay Portal 6.2 CE RC4.
        • NOTE: Portal does not start due to errors. See Test Outcome (below).

      Test Outcome

      Test Outcome: Fail

      No user exists error and system properties load error.

      Oct 14, 2013 2:33:10 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 69249 ms
      14:33:14,859 INFO  [liferay/hot_deploy-1][ResourcesImporterHotDeployMessageListener:117] Importing resources from welcome-theme to group 10184 takes 4073 ms
      14:33:17,109 ERROR [http-bio-8080-exec-3][SecureFilter:92] com.liferay.portal.NoSuchUserException: No User exists with the primary key 10560
      com.liferay.portal.NoSuchUserException: No User exists with the primary key 10560
      	at com.liferay.portal.service.persistence.UserPersistenceImpl.findByPrimaryKey(UserPersistenceImpl.java:7198)
      	at com.liferay.portal.service.persistence.UserPersistenceImpl.findByPrimaryKey(UserPersistenceImpl.java:7216)
      	at com.liferay.portal.service.impl.UserLocalServiceImpl.getUserById(UserLocalServiceImpl.java:2656)
      
      . . .
      14:33:20,635 WARN  [com.liferay.portal.kernel.process.ProcessExecutor-1][ProcessExecutor:147] Found corrupt leading log Loading jar:file:/Users/tim.telcik/work/projects/permeance/liferay-marketplace/liferay-portal/liferay-portal-6.2.0-ce-rc4/bundles/liferay-portal-6.2.0-ce-rc4/tomcat-7.0.40/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties_ [Sanitized]
      

      Test Case 20131014-3 : MS Win 8 and LP TC Bundle Data

      Environment

      • Liferay Portal: Liferay Portal 6.2 CE RC4 Tomcat 7 Bundle
      • O/S: MS Window 8
      • Java: Java 1.6.0_45
      • Database: HSQLDB

      Test Steps

      Test Outcome

      Test Outcome: Fail

      User permission error as per LPS ticket LPS-41013 at

      https://issues.liferay.com/browse/LPS-41013

      Test Case 20131014-4 : MS Windows 8 and LP TC Empty Data

      Environment

      • Liferay Portal: Liferay Portal 6.2 CE RC4 Tomcat 7 Bundle
      • O/S: MS Windows 8
      • Java: Java 1.6.0_45
      • Database: HSQLDB

      Test Steps

      • Delete (or rename) "LIFERAY_HOME_HOME/data" folder.
      • Start Liferay Portal 6.2 CE RC4.
        • NOTE: Portal does not start due to errors. See Test Outcome (below).

      Test Outcome

      Test Outcome: Fail

      System properties load error and no user exists error.

      14-Oct-2013 15:57:16 org.apache.catalina.startup.Catalina start
      INFO: Server startup in 151853 ms
      15:57:26,107 INFO  [liferay/hot_deploy-1][ResourcesImporterHotDeployMessageListener:117] Importing resources from welcom
      e-theme to group 10184 takes 9672 ms
      15:57:37,680 WARN  [com.liferay.portal.kernel.process.ProcessExecutor-1][ProcessExecutor:147] Found corrupt leading log
      Loading jar:file:/C:/opt/lportal/liferay-portal-6.2.0-ce-rc4/tomcat-7.0.40/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/sys
      tem.properties__ [Sanitized]
      15:57:37,848 ERROR [http-bio-8080-exec-3][SecureFilter:92] com.liferay.portal.NoSuchUserException: No User exists with t
      he primary key 10561
      com.liferay.portal.NoSuchUserException: No User exists with the primary key 10561
              at com.liferay.portal.service.persistence.UserPersistenceImpl.findByPrimaryKey(UserPersistenceImpl.java:7198)
              at com.liferay.portal.service.persistence.UserPersistenceImpl.findByPrimaryKey(UserPersistenceImpl.java:7216)
              at com.liferay.portal.service.impl.UserLocalServiceImpl.getUserById(UserLocalServiceImpl.java:2656)
      

        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:
                  2 years, 50 weeks, 5 days ago