RE: How to start Liferay automatically on windows server 2012

Adel Bayoudh, modified 10 Years ago. Junior Member Posts: 47 Join Date: 8/5/14 Recent Posts
Hello,
My liferay server work perfectly but I need to start Liferay automatically each time windows starts.

Best regards
thumbnail
Ravi Kumar Gupta, modified 10 Years ago. Liferay Legend Posts: 1302 Join Date: 6/24/09 Recent Posts
To auto start an application, a windows service can help. You need to create a service for tomcat. See the post here.
https://www.liferay.com/community/forums/-/message_boards/message/11933627
Adel Bayoudh, modified 10 Years ago. Junior Member Posts: 47 Join Date: 8/5/14 Recent Posts
thank you emoticon
I resolved the problem via this link
http://stackoverflow.com/questions/24119318/install-liferay-as-windows-2012r2-service
thumbnail
Mahammad Ashik A, modified 6 Years ago. Junior Member Posts: 81 Join Date: 7/17/17 Recent Posts
Hi ,

I followed all the steps on above link But server is not starting automatically.
Any else changes required ?

Thank You
thumbnail
Olaf Kock, modified 6 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Mahammad Ashik A

I followed all the steps on above link But server is not starting automatically.
Any else changes required ?

Assuming you're starting Liferay in Tomcat, that's largely all there is. It's tomcat that's running as a Windows Service. Liferay then just runs on top of Tomcat.
If you're running into issues, please be more descriptive on
  • what you did
  • what exactly you observe (e.g. logs)
  • which software versions are involved (Java, Tomcat, Liferay, database, etc). Be specific (down to the last digit of version)
thumbnail
Mahammad Ashik A, modified 6 Years ago. Junior Member Posts: 81 Join Date: 7/17/17 Recent Posts
Hi Olaf Kock,Thanks for your support,It is working fine.

​​​​​​​Thank You