Description of problem: When I install quick-start application Lifaray following the instructions on GitHub the app doesn't start properly. Logs are attached. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Follow the instructions on https://github.com/openshift/jbossas7-liferay-quickstart Actual results: Application doesn't start properly Expected results: Application must be started successfully Additional info:
Created attachment 598653 [details] server.log
I tried with ami-2fb61846
Hi Grant, Who owns this one? Thanks, Dan
Its me Dan, will try to help as much as I can, since I am the one who developed this quick start. (In reply to comment #3) > Hi Grant, > > Who owns this one? > > Thanks, > > Dan
I also like to know if the DB cartridge has been added to the app ? by default it expects MySql cartridge added to the app. Any ways thanks for pointing to this i need to ensure that the scenarios without DB (MySql) things should work. Let me work on a fix and let the community know. ~Kamesh
Hi, I verified creating the application based on the README.md found at https://github.com/openshift/jbossas7-liferay-quickstart and see the application getting created and started successfully. I have created two applications #1 with mysql support This one gets started successfully except for the issue that I have mentioned in the Open Issues section #with no mysql/posgresql support. This will throw the following messsage when you do a git push because of missing $OPENSHIFT_DB_HOST ...... remote: Running .openshift/action_hooks/deploy remote: remote: Could not find mysql database. Please run: remote: rhc app cartridge add -a lpdemo2 -c mysql-5.1 remote: then make a sample commit (add whitespace somewhere) and re-push ..... Even in the above case the server is started without the liferay deployment, as Liferay requires a DB the deployment is skipped via .openshift/action_hooks/deploy script A liferay portal user can then decide to use the default HSQL db if we wishes to by commenting "jdbc.default.jndi.name" the portal-ext.properties file found in the location specified in README.md ~Kamesh
Created attachment 599491 [details] Server Logs The server logs for the application getting started properly with Mysql DB support and log without mysql DB support where the application is not deployed The live application created and started successfully with mysql DB support is available at http://lpdemo1-workspace7.rhcloud.com/
I have destroyed the application mentioned above (lpdemo1) just to save space for my account
Updated the quick start with bug fixes and postgesql support It will be great if the openshift fork could be rebased with https://github.com/kameshsampath/jbossas7-liferay-quickstart/tree/1.0.0 (Tag 1.0.0)
*** Bug 846183 has been marked as a duplicate of this bug. ***
Bringing more in line with dup bug
We stopped supporting this quickstart.