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

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 prop

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/

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/1

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 > > > timeBetweenEvictionRunsMillis="0"/> Ar

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/201

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: Agreed, I probably wouldn't trust some random binary :P, but documentation is fairly lacking on building t

Re: tcnative CVE-2015-4000 (Logjam)

2015-06-15 Thread Mark Thomas
On 15/06/2015 16:22, Arthur Ramsey wrote: >> 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 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: 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 : > On Mon, Jun 15, 2015 at 4:42 AM, 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 >> >> >> > factory="org.apache.tomcat.jdbc.pool.Dat

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
> -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

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 in

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 Arth

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 bina

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 > wrote: > >> Hello: >> >> >> I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 >> >> The context.xml settings are >> >> >> > factory="org.apache.tomcat.jdbc.pool.Dat

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 p

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 man

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 wrote: > Hello: > > > I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 > > The context.xml settings are > > >factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" driverClassName="org.po

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 Konstant

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 an

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: 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 : > On 15/06/2015 11:39, Jose María Zaragoza wrote: >> 2015-06-15 11:39 GMT+02:00 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 conte

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 : >> 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 >>> >>> >>> >>

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 : > 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 >> >> >> > 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 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 > > >factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" > driverClassName="org.postgresql

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:MaxGCPauseMil

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 wrote: > Hello: > > > I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 > > The context.xml settings are >

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.

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 I've configured JDBC driver in failover mode ( as you can see in URL definition ) When I test this configuration ( I stop/start databases but , at least, there is one running ) , sometimes