Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Mark Thomas
On 15/06/2015 09:42, Jose María Zaragoza wrote: Hello: I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 The context.xml settings are Resource auth=Container type=javax.sql.DataSource factory=org.apache.tomcat.jdbc.pool.DataSourceFactory

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Mark Thomas
On 15/06/2015 11:39, Jose María Zaragoza wrote: 2015-06-15 11:39 GMT+02:00 Mark Thomas ma...@apache.org: On 15/06/2015 09:42, Jose María Zaragoza wrote: Hello: I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 The context.xml settings are Resource auth=Container

Re: Also having issue on high CPU Usage on Tomcat 8

2015-06-15 Thread Ari Luoma
Hi, Does anyone have any ideas how this issue with ajp-apr-poller could be solved? Using CATALINA_OPTS: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/xyz/HeapDump.log -Xms384m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m -XX:+UseParallelGC -XX:MaxGCPauseMillis=1500

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Jose María Zaragoza
2015-06-15 11:39 GMT+02:00 Mark Thomas ma...@apache.org: On 15/06/2015 09:42, Jose María Zaragoza wrote: Hello: I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 The context.xml settings are Resource auth=Container type=javax.sql.DataSource

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Jose María Zaragoza
2015-06-15 13:09 GMT+02:00 Mark Thomas ma...@apache.org: On 15/06/2015 11:39, Jose María Zaragoza wrote: 2015-06-15 11:39 GMT+02:00 Mark Thomas ma...@apache.org: On 15/06/2015 09:42, Jose María Zaragoza wrote: Hello: I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 The

Tomcat not reading jsp code

2015-06-15 Thread Ankur Gupta
I have apache tomcat 7.0 and Linux 6.1 server. I had written simple jsp code in a .jsp page which will redirect page and deployed in tomcat . When. Page is accessed then only html tags are shown and tomcat just skips jsp code written under % % tag. Plz help.

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Dhaval Jaiswal
You can change the DB log parameter log_statement setting to ALL for the time being and ensure the query execution. On Mon, Jun 15, 2015 at 2:12 PM, Jose María Zaragoza demablo...@gmail.com wrote: Hello: I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 The context.xml

Re: I'm using jdk1.6 + tomcat 7.0.23

2015-06-15 Thread chedana jayasinghe
Christopher, I'm not using strict servlet compliance, still *I've tried setting * org.apache.catalina.core.StandardHostValve.ACCESS_SESSION system property to false in catalina properties but no luck. still the problem is same. Javascript heartbeat keeps the session alive only in tomcat 7 and

RE: useServerCipherSuitesOrder in 7.0.62

2015-06-15 Thread George Stanchev
Is there any chance for the OpenSSL-style ciphers to be backported to the 7 release line? -Original Message- From: George Stanchev [mailto:gstanc...@serena.com] Sent: Saturday, June 13, 2015 11:41 AM To: Tomcat Users List Subject: RE: useServerCipherSuitesOrder in 7.0.62 Thanks

Re: Tomcat not reading jsp code

2015-06-15 Thread André Warnier
Ankur Gupta wrote: I have apache tomcat 7.0 and Linux 6.1 server. I had written simple jsp code in a .jsp page which will redirect page and deployed in tomcat . When. Page is accessed then only html tags are shown and tomcat just skips jsp code written under % % tag. Plz help. Do you have

Re: Tomcat 8 DB Connection Pooling

2015-06-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Douglas, On 6/12/15 8:13 PM, Douglas Schaible wrote: Hi Chris, I have the connection pool defined in /etc/tomcat8/context.xml. Is that the wrong place the define it? Most likely. That file (if I'm guessing correctly about your package

Re: Shutdown port and multiple Tomcat instances

2015-06-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 6/15/15 10:49 AM, Jeffrey Janner wrote: I’m making the switch to running all my tomcats on Linux. I’m planning to deploy multiple instances per machine, splitting catalina_base and catalina_home, and just have question on the

RE: Shutdown port and multiple Tomcat instances

2015-06-15 Thread Jeffrey Janner
Left out the important bits: Tomcat 7.x - latest release Ubuntu 14.04 - though could be any Linux Java 1.7.0_80 Upgrade to Tomcat 8.x From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Monday, June 15, 2015 9:49 AM To: 'Tomcat Users List' Subject: Shutdown port and multiple Tomcat

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Daniel Mikusa
On Mon, Jun 15, 2015 at 4:42 AM, Jose María Zaragoza demablo...@gmail.com wrote: Hello: I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 The context.xml settings are Resource auth=Container type=javax.sql.DataSource

Shutdown port and multiple Tomcat instances

2015-06-15 Thread Jeffrey Janner
I'm making the switch to running all my tomcats on Linux. I'm planning to deploy multiple instances per machine, splitting catalina_base and catalina_home, and just have question on the shutdown port. Under Windows, I just deployed the binary with the commons daemon wrapper and set the shutdown

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Mark Thomas
On 15/06/2015 15:35, Daniel Mikusa wrote: On Mon, Jun 15, 2015 at 4:42 AM, Jose María Zaragoza demablo...@gmail.com wrote: Hello: I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 The context.xml settings are Resource auth=Container type=javax.sql.DataSource

Re: tcnative CVE-2015-4000 (Logjam)

2015-06-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arthur, On 6/13/15 8:42 PM, Arthur Ramsey wrote: I have working binaries for Linux x64 and Windows x64 if anyone needs them. Thanks for offering, but: 1. Anyone running Linux should be able to trivially build their own. 2. Anyone wanting

Re: Shutdown port and multiple Tomcat instances

2015-06-15 Thread Mark Thomas
On 15/06/2015 15:49, Jeffrey Janner wrote: I’m making the switch to running all my tomcats on Linux. I’m planning to deploy multiple instances per machine, splitting catalina_base and catalina_home, and just have question on the shutdown port. Under Windows, I just deployed the binary

RE: Shutdown port and multiple Tomcat instances

2015-06-15 Thread Jeffrey Janner
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, June 15, 2015 9:51 AM To: Tomcat Users List Subject: Re: Shutdown port and multiple Tomcat instances On 15/06/2015 15:49, Jeffrey Janner wrote: I'm making the switch to running all my tomcats on Linux.

Re: tcnative CVE-2015-4000 (Logjam)

2015-06-15 Thread Arthur Ramsey
On 06/15/2015 09:50 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arthur, On 6/13/15 8:42 PM, Arthur Ramsey wrote: I have working binaries for Linux x64 and Windows x64 if anyone needs them. Thanks for offering, but: 1. Anyone running Linux should be able to

Re: tcnative CVE-2015-4000 (Logjam)

2015-06-15 Thread Arthur Ramsey
I haven't that would have helped a while back. Did that exist back when Heartbleed was discovered? On 06/15/2015 10:28 AM, Mark Thomas wrote: On 15/06/2015 16:22, Arthur Ramsey wrote: snip/ Agreed, I probably wouldn't trust some random binary :P, but documentation is fairly lacking on

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jose, It looks like your issue is mostly solved... On 6/15/15 4:42 AM, Jose María Zaragoza wrote: I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 The context.xml settings are Resource auth=Container

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Jose María Zaragoza
2015-06-15 16:35 GMT+02:00 Daniel Mikusa dmik...@pivotal.io: On Mon, Jun 15, 2015 at 4:42 AM, Jose María Zaragoza demablo...@gmail.com wrote: Hello: I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 The context.xml settings are Resource auth=Container

Re: tcnative CVE-2015-4000 (Logjam)

2015-06-15 Thread Mark Thomas
On 15/06/2015 16:22, Arthur Ramsey wrote: snip/ Agreed, I probably wouldn't trust some random binary :P, but documentation is fairly lacking on building tcnative for windows x64 and it requires commercial software. Have you seen this? http://wiki.apache.org/tomcat/BuildTcNativeWin Mark

Re: tcnative CVE-2015-4000 (Logjam)

2015-06-15 Thread Mark Thomas
On 15/06/2015 16:29, Arthur Ramsey wrote: I haven't that would have helped a while back. Did that exist back when Heartbleed was discovered? No. I put it together when I was trying to do the release builds post heartbleed. Mark On 06/15/2015 10:28 AM, Mark Thomas wrote: On 15/06/2015

Re: I'm using jdk1.6 + tomcat 7.0.23

2015-06-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chedana, On 6/15/15 9:07 AM, chedana jayasinghe wrote: Christopher, I'm not using strict servlet compliance, still *I've tried setting * org.apache.catalina.core.StandardHostValve.ACCESS_SESSION system property to false in catalina properties

RE: Shutdown port and multiple Tomcat instances

2015-06-15 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, June 15, 2015 10:02 AM To: Tomcat Users List Subject: Re: Shutdown port and multiple Tomcat instances -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 6/15/15 10:49

RE: Shutdown port and multiple Tomcat instances

2015-06-15 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, June 15, 2015 10:02 AM To: Tomcat Users List Subject: Re: Shutdown port and multiple Tomcat instances -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 6/15/15 10:49

validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Jose María Zaragoza
Hello: I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 The context.xml settings are Resource auth=Container type=javax.sql.DataSource factory=org.apache.tomcat.jdbc.pool.DataSourceFactory driverClassName=org.postgresql.Driver

Issues porting application from tomcat 5.0.28 to tomcat 7.0.57

2015-06-15 Thread RAJ
Hi, Can anyone please help me with the below. I even posted this in struts users group but no reply. I am facing this issue after porting my application from the existing Tomcat 5.0.28 to the new tomcat 7.0.57. I am using Struts version 1.1 is something particular, the app in both the old and