Difference between revisions of "Liferay"

From Amahi Wiki
Jump to: navigation, search
Line 18: Line 18:
 
{{Code|tail -f /var/hda/web-apps/liferay/html/tomcat-6.0.18/logs/catalina.out}}
 
{{Code|tail -f /var/hda/web-apps/liferay/html/tomcat-6.0.18/logs/catalina.out}}
 
* Look for the following in the log:
 
* Look for the following in the log:
  WARN  [ReleaseLocalServiceImpl:123] Table 'lportal.Release_' doesn't exist<br />
+
  WARN  [ReleaseLocalServiceImpl:123] Table 'lportal.Release_' doesn't exist
  INFO  [ReleaseLocalServiceImpl:136] Create tables and populate with default data<br />
+
  INFO  [ReleaseLocalServiceImpl:136] Create tables and populate with default data
  INFO  [DBUtil:501] Database does not support case sensitive queries<br />
+
  INFO  [DBUtil:501] Database does not support case sensitive queries
  INFO  [VerifyProcessSuite:37] Verifying<br />
+
  INFO  [VerifyProcessSuite:37] Verifying
  ..<br />
+
  ..
  INFO  [HotDeployUtil:64] Initializing hot deploy manager 412344118<br />
+
  INFO  [HotDeployUtil:64] Initializing hot deploy manager 412344118
  INFO: Server startup in 299947 ms<br />
+
  INFO: Server startup in 299947 ms

Revision as of 00:55, 26 January 2011


Liferay is in Beta in Amahi.


NOTE: This application is Java-based and takes some time to deploy. Please wait at least 5 minutes before trying to access it. If you are installing from your HDA, it will automatically open the application in FireFox when it is up and running.


INSTALL TROUBLESHOOTING

  • If the application fails to install correctly, there is a script to manually install/deploy the app.
  • Open terminal window and become root user. Enter the following:
bash code
​/var/hda/web-apps/liferay/install-liferay.sh​
  • This will download the most current Liferay (135MB), so it may take a while.
  • Once the script finishes, you should be able to access the application.
  • You can monitor progress of the deployment by watching the Tomcat log file.
  • Do the following in terminal as root user:
bash code
​tail -f /var/hda/web-apps/liferay/html/tomcat-6.0.18/logs/catalina.out​
  • Look for the following in the log:
WARN  [ReleaseLocalServiceImpl:123] Table 'lportal.Release_' doesn't exist
INFO  [ReleaseLocalServiceImpl:136] Create tables and populate with default data
INFO  [DBUtil:501] Database does not support case sensitive queries
INFO  [VerifyProcessSuite:37] Verifying
..
INFO  [HotDeployUtil:64] Initializing hot deploy manager 412344118
INFO: Server startup in 299947 ms