RE: Slow HTTP Rquest via Tomcat

2015-01-14 Thread Thone Soungpanya
Hello All, Thank you all for responding to my issue. I will see if we can turn off autodeploy and see if this helps. Will let you know. Yes, that seems confusing if it is just stating "DEBUG Checking context[/ps_9.0_8.53.02_1] redeploy resource /usr/local/tomcat-instance5/webapps/ps_9.0_8.53.0

Re: Web filter to forward some requests to another remote webserver

2015-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jose, On 1/14/15 3:54 PM, Jose María Zaragoza wrote: > 2015-01-14 20:05 GMT+01:00 Christopher Schultz > : Jose, > > On 1/14/15 8:27 AM, Jose María Zaragoza wrote: 2015-01-14 12:46 GMT+01:00 André Warnier : > Jose María Zaragoza wrote:

Re: Slow HTTP Rquest via Tomcat

2015-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/14/15 3:27 PM, Mark Thomas wrote: > On 14/01/2015 18:56, Christopher Schultz wrote: > >> Possibly. >> >> I re-read the log file, and there are no logs that actually say >> that the context is reloading. It just says "checking >> context

Re: Web filter to forward some requests to another remote webserver

2015-01-14 Thread Jose María Zaragoza
2015-01-14 20:05 GMT+01:00 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jose, > > On 1/14/15 8:27 AM, Jose María Zaragoza wrote: >> 2015-01-14 12:46 GMT+01:00 André Warnier : >>> Jose María Zaragoza wrote: Hello: I would like to create a web filt

Re: Slow HTTP Rquest via Tomcat

2015-01-14 Thread Mark Thomas
On 14/01/2015 20:46, André Warnier wrote: > Mark Thomas wrote: >> On 14/01/2015 18:56, Christopher Schultz wrote: >> >>> Possibly. >>> >>> I re-read the log file, and there are no logs that actually say that >>> the context is reloading. It just says "checking context[/path] reload >>> resource" ov

Re: Catalina INFO: Encountered a non-recycled request and recycled it forcedly

2015-01-14 Thread Sean Dawson
I am - could try to simplify up a testcase and see if it always happens. Thanks. On Wed, Jan 14, 2015 at 3:40 PM, Mark Thomas wrote: > On 14/01/2015 20:06, Sean Dawson wrote: > > I'm seeing this... > > > > Jan 14, 2015 2:56:32 PM org.apache.catalina.connector.CoyoteAdapter > > checkRecycled >

Re: Slow HTTP Rquest via Tomcat

2015-01-14 Thread André Warnier
Mark Thomas wrote: On 14/01/2015 18:56, Christopher Schultz wrote: Possibly. I re-read the log file, and there are no logs that actually say that the context is reloading. It just says "checking context[/path] reload resource" over and over again. I checked, and Tomcat does not emit any log me

Re: Catalina INFO: Encountered a non-recycled request and recycled it forcedly

2015-01-14 Thread Mark Thomas
On 14/01/2015 20:06, Sean Dawson wrote: > I'm seeing this... > > Jan 14, 2015 2:56:32 PM org.apache.catalina.connector.CoyoteAdapter > checkRecycled > INFO: Encountered a non-recycled request and recycled it forcedly. > org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException > at > o

Re: Undeploy Error

2015-01-14 Thread Mark Thomas
On 14/01/2015 19:55, Mike Seda wrote: > > On 01/04/2015 11:13 AM, Mark Thomas wrote: >> On 03/01/2015 02:25, Mike Seda wrote: >>> On 01/01/2015 09:35 AM, Mark Thomas wrote: On 31/12/2014 22:38, Mike Seda wrote: > Please let us know what you think. The information you provided do

Re: Slow HTTP Rquest via Tomcat

2015-01-14 Thread Mark Thomas
On 14/01/2015 18:56, Christopher Schultz wrote: > Possibly. > > I re-read the log file, and there are no logs that actually say that > the context is reloading. It just says "checking context[/path] reload > resource" over and over again. I checked, and Tomcat does not emit any > log messages tha

Re: Catalina INFO: Encountered a non-recycled request and recycled it forcedly

2015-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sean, On 1/14/15 3:06 PM, Sean Dawson wrote: > I'm seeing this... > > Jan 14, 2015 2:56:32 PM > org.apache.catalina.connector.CoyoteAdapter checkRecycled INFO: > Encountered a non-recycled request and recycled it forcedly. > org.apache.catalina.co

Re: Is there a way to abruptly force a connection closed without returning anything?

2015-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/14/15 3:05 PM, André Warnier wrote: > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> André, >> >> On 1/14/15 5:56 AM, André Warnier wrote: >>> Christopher Schultz wrote: -BEGIN PGP SIGNED M

Re: Can't make SSL work on Tomcat7 on Ubuntu Server 14.04

2015-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alexandre, On 1/14/15 2:15 PM, Alexandre Lima wrote: > On 14 January 2015 at 15:59, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Alexandre, > > On 1/14/15 1:18 PM, Alexandre Lima wrote: On 13 January 2015 at 18:20, Christ

Re: Is there a way to abruptly force a connection closed without returning anything?

2015-01-14 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/14/15 5:56 AM, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jesse, On 1/13/15 6:29 PM, Jesse Barnum wrote: I need the ability to examine the POST data fr

Catalina INFO: Encountered a non-recycled request and recycled it forcedly

2015-01-14 Thread Sean Dawson
I'm seeing this... Jan 14, 2015 2:56:32 PM org.apache.catalina.connector.CoyoteAdapter checkRecycled INFO: Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled

Re: Undeploy Error

2015-01-14 Thread Mike Seda
On 01/04/2015 11:13 AM, Mark Thomas wrote: > On 03/01/2015 02:25, Mike Seda wrote: >> On 01/01/2015 09:35 AM, Mark Thomas wrote: >>> On 31/12/2014 22:38, Mike Seda wrote: >>> Please let us know what you think. >>> The information you provided doesn't add up. >>> >>> CATALINA_BASE: /usr/loca

Re: Occasional long wait for a JDBC connection

2015-01-14 Thread Filip Hanik
The timeout happens in your SocketRead, this is configurable (default is forever) http://dev.mysql.com/doc/connector-j/en/connector-j-reference-configuration-properties.html what appears to be happening is that somewhere there isn't a reset packet sent from the server to the JDBC driver. Setting a

Re: Can't make SSL work on Tomcat7 on Ubuntu Server 14.04

2015-01-14 Thread Alexandre Lima
On 14 January 2015 at 15:56, Sanaullah wrote: > > > protocol="org.apache.coyote. > http11.Http11Protocol" > > SSLEnabled="true" maxThreads="200" scheme="https" > > secure="true" keystoreFile="/home/myuser/key.keystore" > > keystorePass="mypass" clientAuth="false" sslProt

Re: Can't make SSL work on Tomcat7 on Ubuntu Server 14.04

2015-01-14 Thread Alexandre Lima
On 14 January 2015 at 15:59, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Alexandre, > > On 1/14/15 1:18 PM, Alexandre Lima wrote: > > On 13 January 2015 at 18:20, Christopher Schultz < > > ch...@christopherschultz.net> wrote: >

Re: Web filter to forward some requests to another remote webserver

2015-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jose, On 1/14/15 8:27 AM, Jose María Zaragoza wrote: > 2015-01-14 12:46 GMT+01:00 André Warnier : >> Jose María Zaragoza wrote: >>> >>> Hello: >>> >>> I would like to create a web filter to forward some requests >>> to another webserver, >>> >>>

Re: Web filter to forward some requests to another remote webserver

2015-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/14/15 6:46 AM, André Warnier wrote: > Jose María Zaragoza wrote: >> Hello: >> >> I would like to create a web filter to forward some requests to >> another webserver, >> >> The filter receives an "application/x-www-form-urlencoded" >>

Re: Can't make SSL work on Tomcat7 on Ubuntu Server 14.04

2015-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alexandre, On 1/14/15 1:18 PM, Alexandre Lima wrote: > On 13 January 2015 at 18:20, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Alexandre, > > On 1/13/15 2:41 PM, Alexandre Lima wrote: On 13 January 2015 at 16:11, Christ

Re: Slow HTTP Rquest via Tomcat

2015-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 1/14/15 1:15 PM, David kerber wrote: > On 1/14/2015 1:02 PM, Christopher Schultz wrote: Thone, > >> ... > > Also, yes, autodeploy is equal to "True". I will check with my colleague to see if we can test with false because this

Re: Can't make SSL work on Tomcat7 on Ubuntu Server 14.04

2015-01-14 Thread Sanaullah
> protocol="org.apache.coyote. http11.Http11Protocol" > SSLEnabled="true" maxThreads="200" scheme="https" > secure="true" keystoreFile="/home/myuser/key.keystore" > keystorePass="mypass" clientAuth="false" sslProtocol="TLS" > /> May be its due to the truststore file

Re: Is there a way to abruptly force a connection closed without returning anything?

2015-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/14/15 5:56 AM, André Warnier wrote: > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Jesse, >> >> On 1/13/15 6:29 PM, Jesse Barnum wrote: >>> I need the ability to examine the POST data from a reque

Re: Occasional long wait for a JDBC connection

2015-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Darren, On 1/13/15 11:32 PM, Darren Davis wrote: > On Tue, Jan 13, 2015 at 8:39 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Darren, > > (Sorry... just had to remove that monstrous stack trace...) > > On 1/13/15 5:04 PM,

Re: Can't make SSL work on Tomcat7 on Ubuntu Server 14.04

2015-01-14 Thread Alexandre Lima
On 13 January 2015 at 18:20, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Alexandre, > > On 1/13/15 2:41 PM, Alexandre Lima wrote: > > On 13 January 2015 at 16:11, Christopher Schultz < > > ch...@christopherschultz.net> wrote: >

Re: Slow HTTP Rquest via Tomcat

2015-01-14 Thread David kerber
On 1/14/2015 1:02 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thone, ... Also, yes, autodeploy is equal to "True". I will check with my colleague to see if we can test with false because this will impact all web folders. Do you see any impact if this was "

Re: Slow HTTP Rquest via Tomcat

2015-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thone, On 1/13/15 7:59 PM, Thone Soungpanya wrote: > Hello Andre, > > Yes sorry the logs files are not clear. We have so much traffic > going through the Tomcat and many clients connecting which it seems > to be logging for different sessions at di

Re: Session Clustering Monitoring

2015-01-14 Thread Peter Rifel
Chris, On 1/13/15, 11:06 AM, "Christopher Schultz" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Peter, > >On 1/13/15 1:10 PM, Peter Rifel wrote: >> On 1/13/15, 6:32 AM, "Christopher Schultz" >> wrote: >> >> I was wondering, because there is an unfortunately situation with >> ses

Re: Delay when: Deploying web application

2015-01-14 Thread Mike Smotritsky
Konstantin, thank you very much! Exactly what I needed! Thanks and Regards, Mike On 1/14/2015 2:05 PM, Konstantin Kolinko wrote: 2015-01-14 14:15 GMT+03:00 Mike Smotritsky : Hi guys, please help me solve this riddle: Startup times for my app are hugely growing with advancement of Tomcat tec

Re: Web filter to forward some requests to another remote webserver

2015-01-14 Thread Jose María Zaragoza
2015-01-14 12:46 GMT+01:00 André Warnier : > Jose María Zaragoza wrote: >> >> Hello: >> >> I would like to create a web filter to forward some requests to >> another webserver, >> >> The filter receives an "application/x-www-form-urlencoded" request , >> inspects the value of a parameter and choose

Re: Delay when: Deploying web application

2015-01-14 Thread Konstantin Kolinko
2015-01-14 14:15 GMT+03:00 Mike Smotritsky : > Hi guys, please help me solve this riddle: > > Startup times for my app are hugely growing with advancement of Tomcat > technology!: > > 7.0.23 - 23 sec > 7.0.40 - 32 sec > 7.0.47 - 75 sec > 7.0.57 - 88 sec > > The delay is when the application is depl

Re: Web filter to forward some requests to another remote webserver

2015-01-14 Thread André Warnier
Jose María Zaragoza wrote: Hello: I would like to create a web filter to forward some requests to another webserver, The filter receives an "application/x-www-form-urlencoded" request , inspects the value of a parameter and chooses to forward to another remote webserver ( as a proxy ) I've see

Delay when: Deploying web application

2015-01-14 Thread Mike Smotritsky
Hi guys, please help me solve this riddle: Startup times for my app are hugely growing with advancement of Tomcat technology!: 7.0.23 - 23 sec 7.0.40 - 32 sec 7.0.47 - 75 sec 7.0.57 - 88 sec The delay is when the application is deploying to DIR from WAR. Running on VM/newest RedHat, patches a

Re: Memory shortage appears as missing pulse-java.jar file error with Java 7

2015-01-14 Thread Konstantin Kolinko
2015-01-13 14:18 GMT+03:00 Peter Lavin : > > Hi all, I have deployed a simple (Eclipse developed) webservice in a Tomcat7 > container which is running on Debian, details as follows... > > The error is as follows... (abridged, but it is complaining about missing a > file called pulse-java.jar) > > I

Re: Is there a way to abruptly force a connection closed without returning anything?

2015-01-14 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jesse, On 1/13/15 6:29 PM, Jesse Barnum wrote: I need the ability to examine the POST data from a request, examine it, and either respond to it or close the connection without returning any result, not even a 200 OK sta

Re: Memory shortage appears as missing pulse-java.jar file error with Java 7

2015-01-14 Thread Peter Lavin
Hi André, thanks for your reply. well spotted, I've corrected my Xmx/Xms error and restarted. On 13-01-2015 14:07, André Warnier wrote: Peter Lavin wrote: Tomcat7 was installed using apt-get. With the default memory settings (around line 271 in catalina.sh) as follows... CATALINA_OPTS="$CATA

Web filter to forward some requests to another remote webserver

2015-01-14 Thread Jose María Zaragoza
Hello: I would like to create a web filter to forward some requests to another webserver, The filter receives an "application/x-www-form-urlencoded" request , inspects the value of a parameter and chooses to forward to another remote webserver ( as a proxy ) I've seen some posts where they open