RE: Launch Liferay

Gustaw Symanski, modified 4 Years ago. New Member Post: 1 Join Date: 9/26/20 Recent Posts
Hi..I have a project that is to design a webapp using Liferay and jsf, considering that I am fluent in jsf, but unfortunately I could not even launch Liferay ​​​​​​​... I can ask you to help me
thumbnail
Christoph Rabel, modified 4 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
Can you tell us a bit more about your problem?
Liferay usually is pretty easy to start. Download the package, unpack it and start it using startup.bat or startup.sh (depends on OS). Do you get any errors? Please check the catalina logfile of tomcat and also the logs folder in the Liferay folder and post anything that could help diagnose the issue you are facing.
thumbnail
Neil Griffin, modified 4 Years ago. Liferay Legend Posts: 2655 Join Date: 7/27/05 Recent Posts
Hi Gustaw,
I agree with Christoph -- the Liferay+Tomcat bundle should be pretty easy to get up and running.

After you get the Liferay+Tomcat bundle up and running, you would simply deploy your JSF portlet WAR to the /deploy folder. One of the many benefits of JSF portlets is that you don't need to know much of anything about portlets or the Portlet API. Instead, you can simply use your skills as a JSF developer. What makes a JSF application into a JSF "portlet" application is the addition of Liferay Faces Bridge, which makes your JSF web application work in a portlet environment. In most circumstances, the JSF application code will work in a portlet environment without modification.

I recommend that you start by visiting https://www.liferayfaces.org and use the "mvn archetype" command found there to create a new Maven-based WAR project. After the project is generated, you can use "mvn package" to create the WAR file that you would deploy to the Liferay /deploy folder.
Kind Regards,
Neil