Configure Tomcat Logging Programmatically

2013-12-09 Thread Matthew Westwood-Hill
I am running Tomcat programmatically (embedded) and I wanted to configure its logging so I can track inbound request. I start Tomcat as follows: tomcat = new Tomcat(); tomcat.setBaseDir(DEFAULT_BASE_DIR); tomcat.getService().addConnector(defaultConnector); tomcat.setConnector(defaultConnec

Setting unloadDelay within embedded Tomcat

2013-12-09 Thread Matthew Westwood-Hill
I am running Tomcat embedded via something like the following code: tomcat = new Tomcat(); tomcat.setBaseDir(DEFAULT_BASE_DIR); tomcat.getService().addConnector(defaultConnector); tomcat.setConnector(defaultConnector); tomcat.init(); tomcat.start(); How do I go about setting the *unloadD

Configuring Embedded Tomcat for SSL

2013-10-31 Thread Matthew Westwood-Hill
ly being started. When I try browsing to the above port using Chrome/IE all it does not connect. I thought I was following the correct process base don information I located on Google, however, it would appear I am still doing something incorrect. I have confirmed the existence of the private key in the keystore (using Keystore Explorer), so all that is fine. Please, any help would be greatly appreciated. Cheers, Matthew *Matthew Westwood-Hill ** *