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
    • Similar Issues:
      Show 5 results 

      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)
      

        Issue Links

          Activity

          Hide
          Tim Telcik added a comment -

          Hello Liferay QA,

          this issue also exists in Liferay Portal 6.2 CE RC5.

          Are there plans to resolve this issue before the final release ?

          Regards,

          Tim

          Show
          Tim Telcik added a comment - Hello Liferay QA, this issue also exists in Liferay Portal 6.2 CE RC5. Are there plans to resolve this issue before the final release ? Regards, Tim
          Hide
          JR Houn added a comment -

          Hi Tim - Thanks for checking in on this issue. Shinn is currently assigned to investigate and implement a solution - it is (as of the time of this writing) something that we are planning to fix for the final 6.2 GA. Please let us know if you have any questions or concerns!

          Show
          JR Houn added a comment - Hi Tim - Thanks for checking in on this issue. Shinn is currently assigned to investigate and implement a solution - it is (as of the time of this writing) something that we are planning to fix for the final 6.2 GA. Please let us know if you have any questions or concerns!
          Hide
          Lawrence Lee added a comment -

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x CE GIT ID: f37970e112e79b024ddf96d6825bc7de5f2a4e83.

          User will now see the follow lines in the console when going through the setup wizard.

          17:17:21,685 INFO  [http-bio-8080-exec-5][SetupWizardSampleDataUtil:58] Adding sample data
          17:17:44,012 INFO  [http-bio-8080-exec-5][SetupWizardSampleDataUtil:142] Finished adding data in 22327 ms
          
          Show
          Lawrence Lee added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x CE GIT ID: f37970e112e79b024ddf96d6825bc7de5f2a4e83. User will now see the follow lines in the console when going through the setup wizard. 17:17:21,685 INFO [http-bio-8080-exec-5][SetupWizardSampleDataUtil:58] Adding sample data 17:17:44,012 INFO [http-bio-8080-exec-5][SetupWizardSampleDataUtil:142] Finished adding data in 22327 ms
          Hide
          Shinn Lok added a comment -

          Note:

          Originally I moved SetupWizardUtil.setSetupFinished(true) from the jsp to the action thinking it was the same.

          I had to move it back because it has to happen after the forward is complete since PortalRequestProcessor checks if the setup is finished and redirects accordingly.

          Show
          Shinn Lok added a comment - Note: Originally I moved SetupWizardUtil.setSetupFinished(true) from the jsp to the action thinking it was the same. I had to move it back because it has to happen after the forward is complete since PortalRequestProcessor checks if the setup is finished and redirects accordingly.
          Hide
          Lawrence Lee added a comment -

          PASSED Manual Testing following the steps in the description.
          Fixed on:
          Tomcat 7.0 + HSQL 2. Portal 6.1.x EE GIT ID: f0af434a02db8b61c1a54265f1812f55a9d1a523.
          User will now see the follow lines in the console when going through the setup wizard.

          INFO: Server startup in 42403 ms
          23:16:30,450 INFO  [http-bio-8080-exec-1][SetupWizardSampleDataUtil:58] Adding sample data
          23:16:32,642 INFO  [http-bio-8080-exec-1][SetupWizardSampleDataUtil:144] Finished adding data in 2192 ms
          23:16:32,806 INFO  [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1436] Checking for available updates
          23:16:32,807 INFO  [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1480] Finished checking for available updates in 1 ms
          
          Show
          Lawrence Lee added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + HSQL 2. Portal 6.1.x EE GIT ID: f0af434a02db8b61c1a54265f1812f55a9d1a523. User will now see the follow lines in the console when going through the setup wizard. INFO: Server startup in 42403 ms 23:16:30,450 INFO [http-bio-8080-exec-1][SetupWizardSampleDataUtil:58] Adding sample data 23:16:32,642 INFO [http-bio-8080-exec-1][SetupWizardSampleDataUtil:144] Finished adding data in 2192 ms 23:16:32,806 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1436] Checking for available updates 23:16:32,807 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1480] Finished checking for available updates in 1 ms

            People

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

              Dates

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

                Development

                  Structure Helper Panel