Difference between revisions of "Liferay"

From Amahi Wiki
Jump to: navigation, search
 
(10 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 9: Line 9:
  
 
== INSTALL TROUBLESHOOTING ==
 
== INSTALL TROUBLESHOOTING ==
* If the application fails to install correctly, there is a script to manually install and deploy it.
+
* 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 and 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 complete, 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:
 
  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
INFO  [ReleaseLocalServiceImpl:136] Create tables and populate with default data
+
INFO  [ReleaseLocalServiceImpl:136] Create tables and populate with default data
INFO  [DBUtil:501] Database does not support case sensitive queries
+
INFO  [DBUtil:501] Database does not support case sensitive queries
INFO  [VerifyProcessSuite:37] Verifying
+
INFO  [VerifyProcessSuite:37] Verifying
..
+
..
INFO  [HotDeployUtil:64] Initializing hot deploy manager 412344118
+
INFO  [HotDeployUtil:64] Initializing hot deploy manager 412344118
INFO: Server startup in 299947 ms
+
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