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

2015-01-13 Thread Konstantin Kolinko
2015-01-14 6:28 GMT+03:00 Christopher Schultz > 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 status. >> >> The reason

Re: Occasional long wait for a JDBC connection

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

Re: question on EL Lambda expression in a JSP on Tomcat 8_0_15

2015-01-13 Thread Anup Aggarwal
Thanks, Bug 57441 if filed for this issue. On Tue, Jan 13, 2015 at 5:29 PM, Mark Thomas wrote: > On 13/01/2015 21:11, Anup Aggarwal wrote: > > Hi, > > > > I am trying to run this EL Lambda expression in a JSP on Tomcat 8_0_15 > > > > ${(

Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Darren, (Sorry... just had to remove that monstrous stack trace...) On 1/13/15 5:04 PM, Darren Davis wrote: > Hi Christopher. Yes, we've tried a show process list and can find > no evidence of the validation query running on mysql. Strange. Maybe

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

2015-01-13 Thread Christopher Schultz
-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 status. > > The reason for

RE: Slow HTTP Rquest via Tomcat

2015-01-13 Thread Thone Soungpanya
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 different time. We really have no control to sort this out as the connections are simultaneous. Our reorderi

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

2015-01-13 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/13/2015 4:03 PM, Jesse Barnum wrote: >> On Jan 13, 2015, at 6:46 PM, Mark Eggers >> wrote: >> >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> On 1/13/2015 3:29 PM, Jesse Barnum wrote: >>> I need the ability to examine the POST data from

Re: question on EL Lambda expression in a JSP on Tomcat 8_0_15

2015-01-13 Thread Konstantin Kolinko
2015-01-14 0:11 GMT+03:00 Anup Aggarwal : > Hi, > > I am trying to run this EL Lambda expression in a JSP on Tomcat 8_0_15 > > ${(incr = x->x+1; incr(10)} > > But I get this exception > > org.apache.jasper.JasperException: /TestLambda.jsp (line: 44, column: 42) > The function incr must be used with

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

2015-01-13 Thread Jesse Barnum
> On Jan 13, 2015, at 6:46 PM, Mark Eggers > wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 1/13/2015 3: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 >> returni

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

2015-01-13 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/13/2015 3: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 status. > > The reason for this is

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

2015-01-13 Thread Jesse Barnum
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 status. The reason for this is because I’m getting overwhelmed with thousands of invalid requests per second, which are rackin

Re: autoDeploy underlying old failed versions

2015-01-13 Thread Mark Thomas
On 13/01/2015 22:25, Jeff Storey wrote: > I have autoDeploy and undeployOldVersions enabled on my Tomcat server > and I am using parallel deployments. The issue I'm having is that old > versions that have errors in their startup are not removed. Let's say > I deploy the following apps: > > myapp##

Re: question on EL Lambda expression in a JSP on Tomcat 8_0_15

2015-01-13 Thread Mark Thomas
On 13/01/2015 21:11, Anup Aggarwal wrote: > Hi, > > I am trying to run this EL Lambda expression in a JSP on Tomcat 8_0_15 > > ${(incr = x->x+1; incr(10)} > > But I get this exception > > org.apache.jasper.JasperException: /TestLambda.jsp (line: 44, column: 42) > The function incr must be used

autoDeploy underlying old failed versions

2015-01-13 Thread Jeff Storey
I have autoDeploy and undeployOldVersions enabled on my Tomcat server and I am using parallel deployments. The issue I'm having is that old versions that have errors in their startup are not removed. Let's say I deploy the following apps: myapp##001.war myapp##002.war If myapp#001.war failed dur

Re: Slow HTTP Rquest via Tomcat

2015-01-13 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thone, On 1/13/15 1:05 PM, Thone Soungpanya wrote: Hello Andre, I do not think it is an DNS lookup issue but I'll check on it. Yes we actually have logs but it does not tell us much. We added additional logging in ou

Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Darren Davis
On Tue, Jan 13, 2015 at 2:33 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Darren, > > On 1/13/15 1:04 PM, Christopher Schultz wrote: > > On 1/13/15 11:49 AM, Darren Davis wrote: > >> The problem occurred again this morning.

Re: mod_jk status worker returns 500 error with no messages, logs

2015-01-13 Thread Rainer Jung
Am 13.01.2015 um 18:59 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 1/10/15 2:56 PM, Christopher Schultz wrote: I'm having a problem with mod_jk 1.2.40 under Apache 2.4.10. After a successful start up, accessing the mod_jk status page gives me a 500 erro

Re: question on EL Lambda expression in a JSP on Tomcat 8_0_15

2015-01-13 Thread Anup Aggarwal
No that is not the issue, that was my typing mistake ${incr = x->x+1; incr(10)} throws same *message* */TestLambda.jsp (line: 59, column: 42) The function incr must be used with a prefix when a default namespace is not specified* *description* *The server encountered an internal error that prev

Re: question on EL Lambda expression in a JSP on Tomcat 8_0_15

2015-01-13 Thread Daniel Mikusa
On Tue, Jan 13, 2015 at 4:11 PM, Anup Aggarwal wrote: > Hi, > > I am trying to run this EL Lambda expression in a JSP on Tomcat 8_0_15 > > ${(incr = x->x+1; incr(10)} > This could be a typo in your email, but you have an extra "(" at the beginning before "incr =". Dan > > But I get this excep

Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Darren, On 1/13/15 1:04 PM, Christopher Schultz wrote: > On 1/13/15 11:49 AM, Darren Davis wrote: >> The problem occurred again this morning. I was able to generate >> a thread dump and narrow down the source of our problem to >> tomcat thread 23.

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

2015-01-13 Thread Christopher Schultz
-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: > > Alexandre, > > On 1/13/15 1:37 PM, Alexandre Lima wrote: Hello! This is the first time I'm u

question on EL Lambda expression in a JSP on Tomcat 8_0_15

2015-01-13 Thread Anup Aggarwal
Hi, I am trying to run this EL Lambda expression in a JSP on Tomcat 8_0_15 ${(incr = x->x+1; incr(10)} But I get this exception org.apache.jasper.JasperException: /TestLambda.jsp (line: 44, column: 42) The function incr must be used with a prefix when a default namespace is not specified org.a

Re: How to debug tomcat code in eclipse

2015-01-13 Thread Jim Anderson
Hi Harmeet, I have a setup similar to yours and I had to go through the same process you are right now. The good news is that with some help, I got it going and it works well. The bad news is that I am very busy at the moment and cannot help immediately, but I will try to get back to you over

RE: Occasional long wait for a JDBC connection

2015-01-13 Thread MWick
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Tuesday, January 13, 2015 1:05 PM > To: Tomcat Users List > Subject: Re: Occasional long wait for a JDBC connection > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Darren, > > On 1/13/15 11:49 AM, Darren Davis wrote

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

2015-01-13 Thread Alexandre Lima
On 13 January 2015 at 16:41, Alexandre Lima wrote: > > > On 13 January 2015 at 16:11, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Alexandre, >> >> On 1/13/15 1:37 PM, Alexandre Lima wrote: >> > Hello! This is the first

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

2015-01-13 Thread Alexandre Lima
On 13 January 2015 at 16:11, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Alexandre, > > On 1/13/15 1:37 PM, Alexandre Lima wrote: > > Hello! This is the first time I'm using tomcat, so I'm a little bit > > lost... > > Welcome!

RE: Slow HTTP Rquest via Tomcat

2015-01-13 Thread Thone Soungpanya
Hello Chris, Yes, sorry when we pull from a Splunk program we have for the logs, it splits it out in the reverse order. Regarding #3, yes sorry it was missing from the logs but it basically return some information we request around that time. Tomcat is reloading in the middle of the request?

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

2015-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alexandre, On 1/13/15 1:37 PM, Alexandre Lima wrote: > Hello! This is the first time I'm using tomcat, so I'm a little bit > lost... Welcome! Configuring SSL always turns out to be a pain in the neck. > Using the tutorials, I could make the server

Re: Session Clustering Monitoring

2015-01-13 Thread Christopher Schultz
-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: On 1/12/15 4:32 PM, Peter > Rifel wrote: On 1/12/15, 11:36 AM, "Christopher Schultz" wrote: On 1/12/15 2:28 PM, Peter Rifel wrote:

Re: Slow HTTP Rquest via Tomcat

2015-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thone, On 1/13/15 1:05 PM, Thone Soungpanya wrote: > Hello Andre, > > I do not think it is an DNS lookup issue but I'll check on it. > > Yes we actually have logs but it does not tell us much. We added > additional logging in our servlet code to

FarmWarDeployer not checking watchDir

2015-01-13 Thread Théo Chamley
Hello, I have setup a Tomcat cluster and I am now trying to get the FarmWarDeployer to work. However, it seems that the Deployer never checks my watchDir and therefore never finds my new wars to deploy. When starting Tomcat, the logs indicate that the Deployer is started: 13-Jan-2015 19:21:43

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

2015-01-13 Thread Alexandre Lima
Hello! This is the first time I'm using tomcat, so I'm a little bit lost... Using the tutorials, I could make the server and the application I want to run with it work. The only modification I did until now was changing the http port from 8080 to 80, I did that changing the http conector on servers

Re: Session Clustering Monitoring

2015-01-13 Thread Peter Rifel
Chris, On 1/13/15, 6:32 AM, "Christopher Schultz" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Peter, > >On 1/12/15 4:32 PM, Peter Rifel wrote: >> On 1/12/15, 11:36 AM, "Christopher Schultz" >> wrote: On 1/12/15 2:28 PM, Peter >> Rifel wrote: > Chris, > > On 1/12/15,

Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Darren, On 1/13/15 11:49 AM, Darren Davis wrote: > The problem occurred again this morning. I was able to generate a > thread dump and narrow down the source of our problem to tomcat > thread 23. > >> From 8:45:51,397 to 09:01:19,083, it was stuck

Re: mod_jk status worker returns 500 error with no messages, logs

2015-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 1/10/15 2:56 PM, Christopher Schultz wrote: > I'm having a problem with mod_jk 1.2.40 under Apache 2.4.10. After > a successful start up, accessing the mod_jk status page gives me a > 500 error with no errors on the screen or in the logs. S

RE: Slow HTTP Rquest via Tomcat

2015-01-13 Thread Thone Soungpanya
Hello Chris, The average number of simultaneous requests I would say would be about 1500 connections when this slows down. Is there a max number of connection or memory limitation? We have about 4 GB of memory on the system which 1 GB is set as the XMX value for this JVM instance. Jolt port i

Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Daniel Mikusa
On Tue, Jan 13, 2015 at 11:49 AM, Darren Davis wrote: First thing, please don't top post. The convention followed on this list is to either reply inline, like this, or reply at the bottom. The problem occurred again this morning. I was able to generate a thread > dump and narrow down the sourc

Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Darren Davis
The problem occurred again this morning. I was able to generate a thread dump and narrow down the source of our problem to tomcat thread 23. >From 8:45:51,397 to 09:01:19,083, it was stuck in the validate check for a newly instantiated connection: I ran the thread dump several times during this

Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Daniel Mikusa
On Tue, Jan 13, 2015 at 9:51 AM, Darren Davis wrote: > Recently we deployed our production application on a Tomcat 8.0.14 web > server. We are using the Tomcat JDBC Connection pool against MySQL 5. Our > web application uses Spring (3.2.11.RELEASE) /Hibernate (3.6.10.Final) for > transaction ma

Occasional long wait for a JDBC connection

2015-01-13 Thread Darren Davis
Recently we deployed our production application on a Tomcat 8.0.14 web server. We are using the Tomcat JDBC Connection pool against MySQL 5. Our web application uses Spring (3.2.11.RELEASE) /Hibernate (3.6.10.Final) for transaction management. We are using a Cent OS 6 linux server in the cloud r

Re: Scripting mod_jk load-balancer member changes

2015-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 1/12/15 5:41 PM, Rainer Jung wrote: > Am 12.01.2015 um 20:12 schrieb Christopher Schultz: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> All, >> >> On 1/12/15 2:01 PM, Christopher Schultz wrote: >>> I'm running into a bit of d

Re: Session Clustering Monitoring

2015-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 1/12/15 4:32 PM, Peter Rifel wrote: > On 1/12/15, 11:36 AM, "Christopher Schultz" > wrote: On 1/12/15 2:28 PM, Peter > Rifel wrote: Chris, On 1/12/15, 11:08 AM, "Christopher Schultz" wrote: Peter, >

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

2015-01-13 Thread André Warnier
Peter Lavin wrote: 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) INFO: Deploying web applicatio

Re: Slow HTTP Rquest via Tomcat

2015-01-13 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thone, On 1/12/15 6:03 PM, Thone Soungpanya wrote: When connecting from Tomcat to third party, we are going through a servlet code which is customized by us. We package the code into a jar file which sits on the \WEB-I

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

2015-01-13 Thread 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) INFO: Deploying web application archive /var/lib/