Best way to find out how many DB connections that are open at any given time

2017-01-10 Thread Joleen Barker
Hello All, Details: Tomcat Version: 7.0.64.0 Java Version: 1.8.0 OS: AIX 6.1 Database: Oracle 11 The web application installed on the server above makes data connections to run file transfers from point A to point B. The default Database connection setting that are set when the application

Re: Best way to find out how many DB connections that are open at any given time

2017-01-10 Thread Filippo Machi
Ciao Joleen, maybe you could retrieve this information connecting via JMX (JConsole, VisualVM) to the tomcat instances. According to the way the datasource is configured, you could find a JMX bean exposing this information. Before that, tomcat should be launched in a way JMX connections are

Re: Best way to find out how many DB connections that are open at any given time

2017-01-10 Thread tomcat
On 10.01.2017 17:10, Joleen Barker wrote: Hello All, Details: Tomcat Version: 7.0.64.0 Java Version: 1.8.0 OS: AIX 6.1 Database: Oracle 11 The web application installed on the server above makes data connections to run file transfers from point A to point B. The default Database connection

Re: Best way to find out how many DB connections that are open at any given time

2017-01-10 Thread Joleen Barker
Hello Filippo - I do not have JConsole available and the proposed idea is past my knowledge level. Hello André - This was an interesting idea but it didn't work for me. I only have the ksh available and could only use netstat -p tcp but the output didn't make sense to me. On Tue, Jan 10, 2017 at

Re: Best way to find out how many DB connections that are open at any given time

2017-01-10 Thread Joleen Barker
Hi Andre - I played around a little more and ran the command netstat -a | grep 1526 which is the port number and received information that looks like 11 connections are open at this time. Do you know what the number is that follows the machine name in the forth column for example the 51186?

Re: TomcatCon @ ApacheCon

2017-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/9/17 6:57 AM, Mark Thomas wrote: > There is the opportunity (if we can pull it together as a > community) to run a dedicated Tomcat conference alongside ApacheCon > NA 2017. The dates are May 16 to 18. Interesting. > The call for

Re: Best way to find out how many DB connections that are open at any given time

2017-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Joleen, On 1/10/17 11:10 AM, Joleen Barker wrote: > Hello All, > > Details: Tomcat Version: 7.0.64.0 Java Version: 1.8.0 OS: AIX 6.1 > Database: Oracle 11 > > The web application installed on the server above makes data > connections to run file

Re: Vulnerability Issue with Apache Tomcat 8.0.15 with CSRF token

2017-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Abhishek, On 1/10/17 8:03 AM, Kumar, Abhishek (IT Information Services ) wrote: > Hi Peter, > > Thank You! > > So, the solution would be to switch to the upgraded version for > this fix? You could also completely remove access to the manager

Re: TomcatCon @ ApacheCon

2017-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Coty, On 1/9/17 2:48 PM, Coty Sutherland wrote: > Would anyone be interested (and is it within the guidelines) to > talk about the differences in some tomcat distributions? Like the > difference in the Red Hat linux and Debian tomcat

Re: TomcatCon @ ApacheCon

2017-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jean-Frederic, On 1/9/17 9:00 AM, jean-frederic clere wrote: > On 01/09/2017 12:57 PM, Mark Thomas wrote: >> All, >> >> There is the opportunity (if we can pull it together as a >> community) to run a dedicated Tomcat conference alongside >>

Re: LogAbandoned Stack Trace?

2017-01-10 Thread Phil Steitz
On 1/10/17 12:48 PM, Christopher Schultz wrote: > Phil, > > On 1/8/17 5:41 PM, Phil Steitz wrote: > > On 1/6/17 3:44 PM, Jerry Malcolm wrote: > >> On 1/6/2017 4:30 PM, Christopher Schultz wrote: > >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 > >>> > >>> Jerry, > >>> > >>> On 1/6/17 10:35

Re: Best way to find out how many DB connections that are open at any given time

2017-01-10 Thread Joleen Barker
As always, thank you Christopher, I'll take a look at the slides. And Thank you to the other for pointing me in some directions for this. -Joleen On Tue, Jan 10, 2017 at 3:19 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > >

Re: 404 errors accessing webapp URLs using local IP address on fresh Tomcat 8.5.9 install

2017-01-10 Thread modjklist
Thanks for the help Christopher, I resolved this by adding 192.168.0.2 to hostB's httpd.conf file as a VirtualHost, then including JkMount for mod_jk. - Original Message - From: "Christopher Schultz" To: "Tomcat Users List"

Re: Best way to find out how many DB connections that are open at any given time

2017-01-10 Thread tomcat
On 10.01.2017 18:06, Joleen Barker wrote: Hi Andre - I played around a little more and ran the command netstat -a | grep 1526 which is the port number and received information that looks like 11 connections are open at this time. Do you know what the number is that follows the machine name in

Re: Best way to find out how many DB connections that are open at any given time

2017-01-10 Thread calder
The fourth column is the "Local Address" (local machine) - in the case, a machine-name (vs IP address) and the port value (such as 51186) the machine is listening on. Of course, the machine-name will resolve to an IP address, so in some netstat output, you might see tcp 0 0 10.240.100.20:51186

Re: Best way to find out how many DB connections that are open at any given time

2017-01-10 Thread Joleen Barker
Thank you Andre and calder. On the AIX side this worked. I am limited also I think due to the shell. If I use the -p tcp option it gives me a long list of counts of TCP connections and bytes. This command gave me similar on AIX: netstat -a|grep 1526 tcp0 0 cpmfttapt21.51186

Apache Tomcat product release roadmap

2017-01-10 Thread Akshat Tandon
Hi All, I want to know what is the frequency of product release cycle of Apache Tomcat, Is there any product roadmap list available anywhere ? *Thanks and Regards* *Akshat Tandon*

Re: LogAbandoned Stack Trace?

2017-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Phil, On 1/8/17 5:41 PM, Phil Steitz wrote: > On 1/6/17 3:44 PM, Jerry Malcolm wrote: >> On 1/6/2017 4:30 PM, Christopher Schultz wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >>> >>> Jerry, >>> >>> On 1/6/17 10:35 AM, Jerry Malcolm

Re: 404 errors accessing webapp URLs using local IP address on fresh Tomcat 8.5.9 install

2017-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 1/9/17 12:57 AM, modjkl...@comcast.net wrote: > I have two Linux servers connected via a cross-connect cable with > internal IP addresses 192.168.0.1 (hostA) and 192.168.0.2 (hostB). > > > hostA runs CentOS 5, and hostB

Re: Spurious "Internal Server Errors" accessing "jkmanager" after upgrading Apache, "mod_jk" and OpenSSL

2017-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 1/9/17 9:01 AM, Martin Knoblauch wrote: > Hi everyone, > > just in case the "final" solution is of interest: the problem was > as usual in the configuration. We did not set the following > directive for the LDAP connection pool: > >

Re: does Tomcat 8.5.9 have UTF-8 encoding throughout by default?

2017-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 1/7/17 5:57 PM, modjkl...@comcast.net wrote: > Anyone know if it has UTF-8 encoding throughout out-of-the-box, or > do I need to configure it to be so? > > I'm seeing some headers using iso-8859-1 and I'm not sure where

Re: Possible bug with Transfer-Encoding: chunked on Tomcat 8.5.9

2017-01-10 Thread Enrico Olivelli
I have found a work-around for my case. The original code of my servlet was like this: ObjectMapper mapper = new ObjectMapper(); // Jackson Mapper mapper.readValue(request.getInputStream(), "utf-8") I have added a buffer to hold all the request: byte[] content =

RE: JSP compilation fails with Java 9

2017-01-10 Thread Patil, Shital
Tomcat 9.0.0.M15 ecj-4.6.1.jar With Java 9 build 146 JSP's are broken. Surprisingly with Java 9 build 151, same tomcat started compiling and executing JSPs very well :) Now that’s called sun chasers -Original Message- From: Rémy Maucherat [mailto:r...@apache.org] Sent: 10 January

RE: Vulnerability Issue with Apache Tomcat 8.0.15 with CSRF token

2017-01-10 Thread Kumar, Abhishek (IT Information Services )
Hi Peter, Thank You! So, the solution would be to switch to the upgraded version for this fix? Thanks and Regards, Abhishek Kumar -Original Message- From: Kreuser, Peter [mailto:pkreu...@airplus.com] Sent: Tuesday, January 10, 2017 5:25 PM To: Tomcat Users List

Vulnerability Issue with Apache Tomcat 8.0.15 with CSRF token

2017-01-10 Thread Kumar, Abhishek (IT Information Services )
Hi, The Apache Tomcat web server running on the Load balancer is affected by an information disclosure vulnerability in the index page of the Manager and Host Manager applications. An unauthenticated attacker can exploit this vulnerability to obtain a valid cross-site request forgery (CSRF)

AW: Vulnerability Issue with Apache Tomcat 8.0.15 with CSRF token

2017-01-10 Thread Kreuser, Peter
Hi Abishek,   > -Ursprüngliche Nachricht- > Von: Kumar, Abhishek (IT Information Services ) > [mailto:abhishek.kum...@originenergy.com.au] > Gesendet: Dienstag, 10. Januar 2017 12:17 > An: users@tomcat.apache.org > Betreff: Vulnerability Issue with Apache Tomcat