shuffly2 Posted September 1, 2017 Posted September 1, 2017 Hi team, I have few questions regarding the Tomcat installation: 1) I am able to reach my website over HTTPS, for example: https://shuffly-backend.heliohost.org/. Anyway, I am not able to reach the war application in my Tomcat over HTTPS, it works only over HTTP. Is it possible to extend the HTTPS protection to the Tomcat applications too? 2) Is there a way for us to read the Tomcat logs? It would be very helpful to check my war logs. As an alternative, can I configure my application to log in an accessible folder visible from the File Manager webpage (as an example, /home/shuffly/logs/)? Thanks for the support!
miwilc Posted September 1, 2017 Posted September 1, 2017 error logs are in error_logs files You need the reference the https files in ~/ssl
Krydos Posted September 2, 2017 Posted September 2, 2017 1) By default the deployment script only deploys on http because deploying it on https as well takes twice as many system resources and not everyone needs it. If you ask it can manually be deployed on https too. There you go https://shuffly-backend.heliohost.org/shufflyMusicBackend/ 2) No, unfortunately the log files contain information pertaining to all of the accounts on the server that have java enabled. It would violate our terms of service to grant you access to them because then you would be able to see private information of the other accounts. I'm not sure anyone has ever tried this, but you may be able to write to a log file from within your servlet by using the absolute path /home/shuffly/public_html/tomcat.log or something like that. The tomcat server runs with pretty limited permissions for security, but it may work.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now