Restricted Access to Tomcat Manager Caused Database Issues

2016-09-07 Thread Yuval Schwartz
Hello, Tomcat: 8.0.22 Java: jdk1.8.0_05 I recently restricted access to my Tomcat Manager App by: 1) Changing the name of the manager app. 2) Block access to the manager app by IP address. I did the following: A) Stopped Tomcat B) Simply renamed the manager app in $CATALINA_BASE/webapps by

tomcat8 unable to load the Resource/property file from jar

2016-09-07 Thread Venkata Reddy P
Hi, Recently we have upgraded the one of application from tomcat6.x to tomcat8.0.36 version. In tomcat6, i was able to read the property/resource file from the jar file but certain reasons after upgrading to the tomca8.0.36 its failing to load. My jar: auth.jar com/trianz/auth/*.java

Re: Tomcat 8.5 Regarding PostResources for Web-Inf\lib and Web-Inf\classes

2016-09-07 Thread vimil
Thank you for updating the documentation. This helps a lot with clarifying how Resources work -- View this message in context: http://tomcat.10.x6.nabble.com/Tomcat-8-5-Regarding-PostResources-for-Web-Inf-lib-and-Web-Inf-classes-tp5053929p5054838.html Sent from the Tomcat - User mailing list

Re: Tomcat 8.5 Regarding PostResources for Web-Inf\lib and Web-Inf\classes

2016-09-07 Thread Mark Thomas
On 05/09/2016 20:14, Mark Thomas wrote: > On 03/09/2016 14:07, vimil wrote: >> I looked at tomcat 8 source code to determine how the class loader resolves >> libraries and class folders specified in post resources. >> >> if the order of post resources is as follows >> >> >

RE: Using server Web.xml Mime Types Data

2016-09-07 Thread Jeffrey Janner
George, As I recall, anything in the server's web.xml is merged with the application's web.xml unless overridden by the applications own settings, i.e. if not defined in the app web.xml file. Was there something specific you were asking that didn't come across in your question? Jeff >

RE: Restrict access to manager app by IP

2016-09-07 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Tuesday, September 06, 2016 12:30 PM > To: Tomcat Users List > Subject: Re: Restrict access to manager app by IP > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256

Re: Restrict access to manager app by IP

2016-09-07 Thread Mark Thomas
On 07/09/2016 18:43, Jeffrey Janner wrote: > > >> -Original Message- >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Sent: Tuesday, September 06, 2016 12:30 PM >> To: Tomcat Users List >> Subject: Re: Restrict access to manager app by IP >>

Re: Using server Web.xml Mime Types Data

2016-09-07 Thread Mark Thomas
On 07/09/2016 00:58, George Sexton wrote: > Is there any easy way that I can use the mime types in the Tomcat server > level web.xml file? > > I know I can parse the XML myself, I was just wondering if there's a way > to get the data already defined. ServletContext.getMimeType(String filename) ?

Tomcat as Windows Service

2016-09-07 Thread Amit Pande
Hello experts, We have configured the Tomcat to run as a Windows Service. And Windows SCM has a default time of 30 seconds, but the Tomcat process does not start/stop within this time. So, if we restart the service via SCM, we receive the Address in Use exceptions (as previous Tomcat process