Tomcat is not Running
baba-dude opened this issue · 6 comments
If we run the Playbook, it will run successfully but web page will not be displayed.
If run the start up script manually in the catalina/bin/ startup.sh. Then the webpage will appear.
Is there anything we need to do in the playbook to fix this issue ??
There is an init.d script in /etc/init.d/{{ tomcat_process_name }} where process name is 'tomcat_app_sys'. If you use default you can start Tomcat via:
/etc/init.d/tomcat_app_sys restart
command. Currently it does not start the service automatically. However it is a good idea to add an variable and make (re)start optional. Is this what you want?
Can you post also a log spinets where Tomcat startup process has failed? I use this method to start Tomcat and it is working. If it is not a configuration bug, the a bug in this role.
For starting Tomcat automatically - I will add that feature. Thanks!
Thanks for the update. All the tasks are executed properly in the role. But not sure why it is not loading in the browser.
When can you add the feature in the playbook ?
Thank you so much for the reply.
Feature added. Thank you for the report!