Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread Peter
Guys see here is that error message , I am attaching log file also please help OS - Centos 6.5 64 bit HTTP Status 500 - Error instantiating servlet class gov.noaa.pfel.erddap.Erddap -- *type* Exception report *message* *Error instantiating servlet class gov.noaa.pfel

Re: how http connector backlog attribute works?

2013-12-26 Thread André Warnier
侯树成 wrote: Hi, I find a problem of http bio connector,I need help. You can find it in flowing steps: 1.set tomcat connector like this: 2. deploy a war file, which contains a servlet that will sleep 60s in it's doPost method 3. use LR or JMeter send 5 requests to the serlvet above 4. use

Re: how http connector backlog attribute works?

2013-12-26 Thread Mark Eggers
On 12/26/2013 11:09 PM, 侯树成 wrote: Hi, I find a problem of http bio connector,I need help. You can find it in flowing steps: 1.set tomcat connector like this: 2. deploy a war file, which contains a servlet that will sleep 60s in it's doPost method 3. use LR or JMeter send 5 requests to t

how http connector backlog attribute works?

2013-12-26 Thread 侯树成
Hi, I find a problem of http bio connector,I need help. You can find it in flowing steps: 1.set tomcat connector like this: 2. deploy a war file, which contains a servlet that will sleep 60s in it's doPost method 3. use LR or JMeter send 5 requests to the serlvet above 4. use command jstac

Re: Tomcat auto deployer not working for ROOT applications

2013-12-26 Thread Jesse Barnum
I ran apt-get today and I got version 7.0.35, not 7.0.47. Maybe this is more of a Linux question then Tomcat, but shouldn't apt-get get me the latest version? Do I need to do something on my end, or is this something that the Tomcat team needs to publish somewhere? --Jesse Barnum, President, 36

Re: Request Timeout and empty post data issue

2013-12-26 Thread André Warnier
Peter Rifel wrote: From: Mark Thomas [ma...@apache.org] Sent: Thursday, December 26, 2013 3:19 PM To: Tomcat Users List Subject: Re: Request Timeout and empty post data issue On 26/12/2013 20:45, Peter Rifel wrote: Hello, I'm currently running Tomcat 7.

Re: Request Timeout and empty post data issue

2013-12-26 Thread Mark Thomas
On 26/12/2013 23:57, Peter Rifel wrote: > >> >> From: Mark Thomas [ma...@apache.org] >> >> On 26/12/2013 20:45, Peter Rifel wrote: >>> >>> I noticed that our connector's connectionTimeout >>> is set to 2ms, but it wouldn't make sense for that value to

RE: Request Timeout and empty post data issue

2013-12-26 Thread Peter Rifel
> >From: Mark Thomas [ma...@apache.org] >Sent: Thursday, December 26, 2013 3:19 PM >To: Tomcat Users List >Subject: Re: Request Timeout and empty post data issue > >On 26/12/2013 20:45, Peter Rifel wrote: >> Hello, >> >> I'm currently running Tomcat 7.0.42 o

Re: Tomcat auto deployer not working for ROOT applications

2013-12-26 Thread Mark Thomas
On 26/12/2013 19:33, Jesse Barnum wrote: > Any ideas here? It sounds like a bug in the deployer. Can you confirm the behaviour with the latest 7.0.x release? If so, please create a Bugzilla entry. Mark - To unsubscribe, e-mail:

Re: Request Timeout and empty post data issue

2013-12-26 Thread Mark Thomas
On 26/12/2013 20:45, Peter Rifel wrote: > Hello, > > I'm currently running Tomcat 7.0.42 on Ubuntu 12.04 with OpenJDK > 1.7.0_25. I'm using Apache Tomcat Native library 1.1.27 with APR > version 1.4.6. > > I'm noticing in my access logs that some of our POST requests don't > have any POST data a

RE: Request Timeout and empty post data issue

2013-12-26 Thread Peter Rifel
> >From: Jesse Barnum [jsb_tom...@360works.com] >Sent: Thursday, December 26, 2013 2:14 PM >To: Tomcat Users List >Subject: Re: Request Timeout and empty post data issue > >One issue that will cause empty POST data to be received is if the POST data >size e

Re: Request Timeout and empty post data issue

2013-12-26 Thread André Warnier
Peter Rifel wrote: -Original Message- From: Konstantin Preißer [kpreis...@apache.org] Sent: Thursday, December 26, 2013 1:28 PM To: 'Tomcat Users List' Subject: RE: Request Timeout and empty post data issue Hi, -Original Message- From: Peter Rifel [mailto:pri...@mixpo.com] Sent

Re: apache tomcat serialization

2013-12-26 Thread Mark Thomas
On 26/12/2013 17:14, Ray Holme wrote: > It appears new revisions of tomcat (current for sure) are much more > sensitive to keeping serialized data BETWEEN restarts. I have to wait > at least 30 minutes to properly restart my applications. Nope. Nothing has changed in the session serialization code

RE: Request Timeout and empty post data issue

2013-12-26 Thread Peter Rifel
> From: André Warnier [a...@ice-sa.com] > Sent: Thursday, December 26, 2013 2:11 PM > To: Tomcat Users List > Subject: Re: Request Timeout and empty post data issue > >Peter Rifel wrote: >> Hello, >> >> I'm currently running Tomcat 7.0.42 on Ubuntu 12.04 with OpenJDK 1.7.0_25. >> I'm using Apache

Re: Request Timeout and empty post data issue

2013-12-26 Thread Jesse Barnum
One issue that will cause empty POST data to be received is if the POST data size exceeds the value in the server.xml file: http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html > The maximum size in bytes of the POST which will be handled by the container > FORM URL parameter parsing. The li

Re: Request Timeout and empty post data issue

2013-12-26 Thread André Warnier
Peter Rifel wrote: Hello, I'm currently running Tomcat 7.0.42 on Ubuntu 12.04 with OpenJDK 1.7.0_25. I'm using Apache Tomcat Native library 1.1.27 with APR version 1.4.6. I'm noticing in my access logs that some of our POST requests don't have any POST data and all have response times of a f

Re: V 7 047 windows x64

2013-12-26 Thread JB MORLA
I think there is a little chance that Tomcat uses java.exe while Eclipse uses javaw I can see in the Windows task manager that it is not the same process. I'll try to find an Eclipse newsgroup. Many thanks Jean On Thu, Dec 26, 2013 at 9:46 PM, Martin Gainty wrote: > > > > > > Date: Thu, 26 Dec

RE: Request Timeout and empty post data issue

2013-12-26 Thread Peter Rifel
> -Original Message- > From: Konstantin Preißer [kpreis...@apache.org] > Sent: Thursday, December 26, 2013 1:28 PM > To: 'Tomcat Users List' > Subject: RE: Request Timeout and empty post data issue > >Hi, > >> -Original Message- >> From: Peter Rifel [mailto:pri...@mixpo.com] >> Sent

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread André Warnier
Peter wrote: Thanks *Mark,* Martin Gainty, André Warnier for you time As some of you suggested I need to have different tomcat for different java version The very first question which you should maybe ask yourself (or the developers of the webapps), is *why* these webapps require differe

RE: Request Timeout and empty post data issue

2013-12-26 Thread Konstantin Preißer
Hi, > -Original Message- > From: Peter Rifel [mailto:pri...@mixpo.com] > Sent: Thursday, December 26, 2013 9:45 PM > To: users@tomcat.apache.org > Subject: Request Timeout and empty post data issue > > Hello, > > I'm currently running Tomcat 7.0.42 on Ubuntu 12.04 with OpenJDK 1.7.0_25.

RE: V 7 047 windows x64

2013-12-26 Thread Martin Gainty
> Date: Thu, 26 Dec 2013 21:24:27 +0100 > Subject: Re: V 7 047 windows x64 > From: jbmo...@gmail.com > To: users@tomcat.apache.org > > I was testing the EL in a .jsp file under Eclipse Kepler. > Now I copied the project files under c:\tomcat7\webapps and recompiled the > java sources. > And

Request Timeout and empty post data issue

2013-12-26 Thread Peter Rifel
Hello, I'm currently running Tomcat 7.0.42 on Ubuntu 12.04 with OpenJDK 1.7.0_25. I'm using Apache Tomcat Native library 1.1.27 with APR version 1.4.6. I'm noticing in my access logs that some of our POST requests don't have any POST data and all have response times of a few ms over 2ms.

Re: V 7 047 windows x64

2013-12-26 Thread JB MORLA
I was testing the EL in a .jsp file under Eclipse Kepler. Now I copied the project files under c:\tomcat7\webapps and recompiled the java sources. And the EL works! So the EL problems are in the Eclipse Kepler setup. Many thanks for your reply. Jean On Thu, Dec 26, 2013 at 3:16 PM, André Warnier

Re: EOFException in AjpNioProcessor

2013-12-26 Thread Jesse Barnum
On Dec 23, 2013, at 12:50 PM, Konstantin Preißer wrote: > In that case, the stacktrace would show that the Exception is thrown in the > webapp's code (and if the Exception is created using a cause, it would show a > "Caused by: ..." stacktrace showing the original source). > > However, the sta

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread David kerber
On 12/26/2013 2:17 PM, Peter wrote: Thanks *Mark,* Martin Gainty, André Warnier for you time As some of you suggested I need to have different tomcat for different java version Do you mean if I have 2 webapps, which works on 2 difference java versions then, do I have to create 2 tomcat fol

Tomcat auto deployer not working for ROOT applications

2013-12-26 Thread Jesse Barnum
I am trying to deploy a web app as the ROOT application for Tomcat 7.0.35, running on Ubuntu 12 with Amazon EC2. 1) When I use auto-deploy using the Tomcat Deployer 'deploy' ant task (just downloaded the most recent version of the TCD libs) to a non-ROOT context name, such as /360Site, everythi

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread Peter
Thanks *Mark,* Martin Gainty, André Warnier for you time As some of you suggested I need to have different tomcat for different java version Do you mean if I have 2 webapps, which works on 2 difference java versions then, do I have to create 2 tomcat folders ? like this /tomcat7_copy1 --->w

Ping_mode

2013-12-26 Thread vicky007aggarwal
Hi guys, Can you plz help me in understand that under what circumstances i should use ping_mode attribute in worker.properties. Actually i dont understand that how it will make the applications more reliable because as per my understanding if apache-tomcat connection results in failure then mo

apache tomcat serialization

2013-12-26 Thread Ray Holme
It appears new revisions of tomcat (current for sure) are much more sensitive to keeping serialized data BETWEEN restarts. I have to wait at least 30 minutes to properly restart my applications. In the OLD days $CATALINA_HOME/work/Catalina/localhost/appName/*.ser was where things were kept and

Re: V 7 047 windows x64

2013-12-26 Thread André Warnier
JB MORLA wrote: Hi, I can't use EL in .jsp files. I have searched the web and sintalled jasper-el.jar and javaee-api 7 0 in the \lib directory, but I keep getting the ELResolver error. Hi. You would have a much higher probability of getting useful and quick help, if you pasted the original co

V 7 047 windows x64

2013-12-26 Thread JB MORLA
Hi, I can't use EL in .jsp files. I have searched the web and sintalled jasper-el.jar and javaee-api 7 0 in the \lib directory, but I keep getting the ELResolver error.

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread André Warnier
Peter wrote: Hi all, I am having strange issues with tomcat 7 as well as tomcat 8, following is details of that issue, please someone help me to configure java for each webapps Thanks for all the detailed information. But I believe that you have things the wrong way around. It is not a questi

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread Mark Thomas
On 26/12/2013 04:30, Peter wrote: > Hi all, I am having strange issues with tomcat 7 as well as tomcat 8, > following is details of that issue, please someone help me to configure > java for each webapps You can't do that. You can only have one version of Java per OS process / Tomcat instance. If