Re: SQLExceptions after stopping Tomcat

2016-09-16 Thread Yuval Schwartz
Hey Chris, You have a line in your link that reads: // if you want to issue multiple queries and/or // work with multiple result sets, either declare more Statement // and ResultSet locals above and duplicate all cleanup logic for them, // or make sure you close each object along

Re: SQLExceptions after stopping Tomcat

2016-09-16 Thread Yuval Schwartz
Thanks Chris, I'll have a look. On Fri, Sep 16, 2016 at 6:41 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Yuval, > > On 9/16/16 3:32 AM, Yuval Schwartz wrote: > > A few more words/questions on my issue: > > > > My Resource

Re: SQLExceptions after stopping Tomcat

2016-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Yuval, On 9/16/16 3:32 AM, Yuval Schwartz wrote: > A few more words/questions on my issue: > > My Resource element used the attribute "removeAbandoned" rather > than "removeAbandonedOnBorrow". I have now corrected this. Does > this affect what

Re: HttpServletRequest.login & remoteUser null

2016-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicolas, On 9/14/16 3:59 AM, nclemeur wrote: >>> Hello, >>> >>> I am using HttpServletRequest.login to authenticate users on an >>> ajax call. This is working fine and the relevant realm is >>> queried. However, on subsequent requests, I have

Re: Using hashes in tomcat-users.xml

2016-09-16 Thread Coty Sutherland
You could also take a look at tomcat-vault (https://github.com/picketbox/tomcat-vault). On Wed, Sep 14, 2016 at 5:37 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Brian, > > On 9/14/16 3:40 PM, Paquin, Brian wrote: >> I was

Re: SQLExceptions after stopping Tomcat

2016-09-16 Thread Mark Thomas
On 16/09/2016 08:32, Yuval Schwartz wrote: > A few more words/questions on my issue: > > My Resource element used the attribute "removeAbandoned" rather than > "removeAbandonedOnBorrow". I have now corrected this. Does this affect what > gets logged (ie: I've had "logAbandoned" on this whole time

Re: SQLExceptions after stopping Tomcat

2016-09-16 Thread Mark Thomas
On 15/09/2016 09:30, Yuval Schwartz wrote: > Questions: > 1) What order does a thread dump print in? That is, I'd like to know what > the first thread was in my thread dump (temporally) so that I might know > which thread caused the actual issue. Is this the beginning of the thread > dump or

Re: Tomcat 8.5.4

2016-09-16 Thread Linux Support
Thanks Mark, The issues was not there when i used 8.5.5.. Thank you for pointing me in that direction On Fri, Sep 16, 2016 at 5:20 PM, Mark Thomas wrote: > On 16/09/2016 07:44, Linux Support wrote: > > > > > I cannot make out where it picks up the alias tomcat > >

Re: SQLExceptions after stopping Tomcat

2016-09-16 Thread Yuval Schwartz
A few more words/questions on my issue: My Resource element used the attribute "removeAbandoned" rather than "removeAbandonedOnBorrow". I have now corrected this. Does this affect what gets logged (ie: I've had "logAbandoned" on this whole time but have not seen anything in the logs about

Re: Tomcat 8.5.4

2016-09-16 Thread Mark Thomas
On 16/09/2016 07:44, Linux Support wrote: > I cannot make out where it picks up the alias tomcat https://bz.apache.org/bugzilla/show_bug.cgi?id=59910 Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Tomcat 8.5.4

2016-09-16 Thread Linux Support
Hi all, The version details : Using CATALINA_BASE: /apps/TOMCAT/tomcat Using CATALINA_HOME: /apps/TOMCAT/tomcat Using CATALINA_TMPDIR: /apps/TOMCAT/tomcat/temp Using JRE_HOME:/usr Using CLASSPATH: