RE: Separate and Redirect Tomcat Embedded 8.5.6 Log

2017-01-25 Thread Costin Giorgian Papuc
Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, January 24, 2017 12:30 AM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Separate and Redirect Tomcat Embedded 8.5.6 Log -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Costin, On 1/20/17 5:39 AM, Costin Giorgian Papuc

Separate and Redirect Tomcat Embedded 8.5.6 Log

2017-01-20 Thread Costin Giorgian Papuc
I have an app that can take a war file and deploy it with embedded tomcat .5.6. So, for each uploaded war file I do the following Tomcat tomcat = new Tomcat(); tomcat.setPort(port); File catalinaHome = new File(TOMCAT_DIR + port); catalinaHome.mkdirs(); File webapp = new File(TOMCAT_DIR + port +