Difference between revisions of "Liferay"

From Amahi Wiki
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
  
[http://www.liferay.com/ Liferay] is in Alpha in Amahi.   
+
[http://www.liferay.com/ Liferay] is in Beta in Amahi.   
  
  
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:
  cd /var/hda/web-apps/liferay
+
  /var/hda/web-apps/liferay/install-liferay.sh
./install-liferay.sh
+
* This will download the most current Liferay (135MB), so it may take a while.
* This will download the most current Liferay (140MB), 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.
Line 19: Line 18:
 
  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<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

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