Difference between revisions of "Liferay"

From Amahi Wiki
Jump to: navigation, search
 
Line 11: Line 11:
 
* If the application fails to install correctly, there is a script to manually install/deploy the app.
 
* If the application fails to install correctly, there is a script to manually install/deploy the app.
 
* Open terminal window and become <b>root</b> user.  Enter the following:
 
* Open terminal window and become <b>root</b> user.  Enter the following:
{{Code|/var/hda/web-apps/liferay/install-liferay.sh}}
+
/var/hda/web-apps/liferay/install-liferay.sh
 
* This will download the most current Liferay (135MB), so it may take a while.
 
* 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.
 
* 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.
 
* You can monitor progress of the deployment by watching the Tomcat log file.
 
* Do the following in terminal as '''root''' user:
 
* Do the following in terminal as '''root''' user:
{{Code|tail -f /var/hda/web-apps/liferay/html/tomcat-6.0.18/logs/catalina.out}}
+
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
 
  WARN  [ReleaseLocalServiceImpl:123] Table 'lportal.Release_' doesn't exist

Latest revision as of 03:36, 23 June 2020


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:
/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:
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