Re: Is the thread status of tomcat 8.0.44 normal?

2018-03-28 Thread Shawn Heisey
On 3/28/2018 6:28 PM, 이의준 wrote: Test sequence and inquiry contents 1. In the local test, the same load (hp-jmeter) for tomcat 7, 8 5 minutes, 2. Thread dump generated after 5 minutes of load termination 3. Most Thread in Tomcat 7 is in TIME_WAITING state (normally OK) 4. Thread in Tomcat 8

Is the thread status of tomcat 8.0.44 normal?

2018-03-28 Thread 이의준
Hi! I posted the same question a few days ago, but it was not a satisfactory answer. So I ask again. Test sequence and inquiry contents 1. In the local test, the same load (hp-jmeter) for tomcat 7, 8 5 minutes, 2. Thread dump generated after 5 minutes of load termination 3. Most

Re: User session validation

2018-03-28 Thread George S.
On 3/28/2018 5:20 PM, Alex O'Ree wrote: Does tomcat do any validation on session id's based on up addresses? I'm thinking that if some one intercepts the session token and tries to use it from another ip address, then it's feasible to detect this and invalidate the session. If you're using

User session validation

2018-03-28 Thread Alex O'Ree
Does tomcat do any validation on session id's based on up addresses? I'm thinking that if some one intercepts the session token and tries to use it from another ip address, then it's feasible to detect this and invalidate the session.

Re: Getting all JDBC configs from the context

2018-03-28 Thread Shawn Heisey
On 3/28/2018 1:18 PM, Christopher Schultz wrote: > > I would like to write a logging thread that can get ALL of the > > datasource objects from the context, and for types that it knows, > > cast them to the appropriate object to log the active/idle > > connection counts. > > It might be easier to

Re: Trying to chase down "too many connection" problems with DB

2018-03-28 Thread Phil Steitz
On 3/28/18 11:29 AM, Christopher Schultz wrote: > Phil, > > On 3/27/18 1:03 PM, Phil Steitz wrote: > > On 3/26/18 10:28 AM, Christopher Schultz wrote: > >> Shawn, > >> > >> On 3/25/18 12:17 AM, Shawn Heisey wrote: > >>> On 3/24/2018 5:04 PM, Mark Thomas wrote: > Regarding your configuration:

Re: HOME user folder change & tomcat HOME

2018-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jérôme, On 3/27/18 11:27 AM, Jérôme Redouté wrote: > I've installed tomcat8 on Debian 9, to run a web App (XNAT) > > I've a proble concerning the HOME directory of my user "xnat". > > Before the HOME was, as expected, in /home/xnat > > but now

Re: Getting all JDBC configs from the context

2018-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shawn, On 3/27/18 10:26 PM, Shawn Heisey wrote: > This is what the code in our application looks like that gets a > datasource object from the context: > > Context initContext = new InitialContext(); Context envContext = >

Re: Granting permission to a single application-supplied JAR

2018-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 George, On 3/27/18 8:33 PM, George S. wrote: > One thing that has bitten me is that the entire stack/call chain > is examined, not just permissions on a specific piece of code as > you would expect. This comes into play when you're trying to make >

Re: Trying to chase down "too many connection" problems with DB

2018-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shawn, On 3/27/18 8:41 PM, Shawn Heisey wrote: > So now I have one person telling me that removeAbandoned DOES > close connections, and another saying that it does NOT close > connections. Is there a conflict here, or are both of these >

Re: tomcat jmx questions / help

2018-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 3/28/18 2:49 PM, Rainer Jung wrote: > I hope my below answers are all correct, but most should be. > > Am 28.03.2018 um 20:25 schrieb Greg Kaszycki: >> Tomcat version 7.0.82 >> >> I have some questions about tomcat monitoring and jmx.

Re: tomcat jmx questions / help

2018-03-28 Thread Rainer Jung
I hope my below answers are all correct, but most should be. Am 28.03.2018 um 20:25 schrieb Greg Kaszycki: Tomcat version 7.0.82 I have some questions about tomcat monitoring and jmx. The short version is that I am trying to get session information about users logged into my app. I see

Re: Trying to chase down "too many connection" problems with DB

2018-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Phil, On 3/27/18 1:03 PM, Phil Steitz wrote: > On 3/26/18 10:28 AM, Christopher Schultz wrote: >> Shawn, >> >> On 3/25/18 12:17 AM, Shawn Heisey wrote: >>> On 3/24/2018 5:04 PM, Mark Thomas wrote: Regarding your configuration: >>>

tomcat jmx questions / help

2018-03-28 Thread Greg Kaszycki
Tomcat version 7.0.82 I have some questions about tomcat monitoring and jmx. The short version is that I am trying to get session information about users logged into my app. I see documentation about different ways to get to the jmx beans but I don't understand the relationship between them.

Re: Trying to chase down "too many connection" problems with DB

2018-03-28 Thread Phil Steitz
On 3/27/18 5:41 PM, Shawn Heisey wrote: > On 3/27/2018 11:03 AM, Phil Steitz wrote: >> Not exactly, if what you are using is the DBCP pool.  To see the > The factory in use right now is > "org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory".  Information > gathered previously in this thread told

Re: HOME user folder change & tomcat HOME

2018-03-28 Thread Jérôme Redouté
Le 27/03/2018 à 18:15, Coty Sutherland a écrit : Hi, This sounds like a problem specific to the distribution's tomcat package, which is usually better served by the distribution's community rather than Tomcat's (they repackage what we provide). You may want to ask on their users list/support

Re: HOME user folder change & tomcat HOME

2018-03-28 Thread Jérôme Redouté
Le 28/03/2018 à 02:13, George S. a écrit : Did you edit /etc/passwd and change the home directory for your user xnat? nothing intentionnaly. I've tried to change home directory with usermod, but it always change back to /usr/lib/tomcat8 On 3/27/2018 9:27 AM, Jérôme Redouté wrote: Hello,