Monthly Archives: November 2011

How can I have my Java application accessible at my domain root URL?

Tomcat Put your application files directly in ~/appservers/apache-tomcat/webapps/ROOT directory. This can also be achieved by renaming your war to ROOT.war either locally before uploading or remotely on the server and restarting Tomcat. Another way of having your app at root … Continue reading

Posted in Java, Tomcat | Leave a comment

How to use SSL certificates with Java, Tomcat and cPanel?

In Java hosting there are 2 basic ways you can secure data flow to/from your application server. Get dedicated IP and setup SSL certificate for your domain in cPanel. This will secure any requests to your domain on HTTPS port, … Continue reading

Posted in Control Panels, Java, Tomcat | Leave a comment

How to disable Tomcat directory listing?

In Tomcat 4.x and upper versions, the Default Servlet serves static content. The Tomcat Functional Specifications require that implementations accept several parameters – including one that indicates whether to provide directory listings when a directory without welcome files is requested. … Continue reading

Posted in Java, Tomcat | Leave a comment