where to get the linux 64 bit tomcat installer

2013-05-24 Thread Padhalni, Bhuwan Chandra (Bhuwan Chandra)
Hi, Can someone guide to download the tomcat 64 bit installer for linux 64 bit platform? best regards, bhuwan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: where to get the linux 64 bit tomcat installer

2013-05-24 Thread Mark Thomas
On 24/05/2013 08:11, Padhalni, Bhuwan Chandra (Bhuwan Chandra) wrote: Hi, Can someone guide to download the tomcat 64 bit installer for linux 64 bit platform? No such download exists. There are no architecture dependent components for Linux (unlike Windows). The platform neutral .tar.gz

What's the meaning of timeout of an asynchronous operation

2013-05-24 Thread jie tang
Hi, I don't understand the meaning of timeout of an asynchronous operation. Servlet 3.0 says The time out applies to the AsyncContext once the container-initiated dispatch during which one of the ServletRequest.startAsync methods was called has returned to the container. But when is the

Re: What's the meaning of timeout of an asynchronous operation

2013-05-24 Thread Mark Thomas
On 24/05/2013 09:05, jie tang wrote: Hi, I don't understand the meaning of timeout of an asynchronous operation. Servlet 3.0 says The time out applies to the AsyncContext once the container-initiated dispatch during which one of the ServletRequest.startAsync methods was called has returned

Re: What's the meaning of timeout of an asynchronous operation

2013-05-24 Thread jie tang
Thanks. So the only way to avoid the invocation of AsyncListener.onTimeout is that we invoke AsyncContext.complete or AsyncContext.dispatch? 2013/5/24 Mark Thomas ma...@apache.org On 24/05/2013 09:05, jie tang wrote: Hi, I don't understand the meaning of timeout of an asynchronous

Re: What's the meaning of timeout of an asynchronous operation

2013-05-24 Thread Mark Thomas
On 24/05/2013 09:16, jie tang wrote: Thanks. So the only way to avoid the invocation of AsyncListener.onTimeout is that we invoke AsyncContext.complete or AsyncContext.dispatch? Or write some content to the response. Mark 2013/5/24 Mark Thomas ma...@apache.org On 24/05/2013 09:05,

Re: What's the meaning of timeout of an asynchronous operation

2013-05-24 Thread jie tang
So if I use AsyncContext.start to run a Runnable. When that Runnable does some work but not write to response, will AsyncListener.onTimeout be invoked? 2013/5/24 Mark Thomas ma...@apache.org On 24/05/2013 09:16, jie tang wrote: Thanks. So the only way to avoid the invocation of

Re: What's the meaning of timeout of an asynchronous operation

2013-05-24 Thread Mark Thomas
On 24/05/2013 09:23, jie tang wrote: So if I use AsyncContext.start to run a Runnable. When that Runnable does some work but not write to response, will AsyncListener.onTimeout be invoked? Yes, unless you set the timeout to zero or less (no timeout). The default value is 30 seconds. Mark

Re: What's the meaning of timeout of an asynchronous operation

2013-05-24 Thread jie tang
Thank you very much 2013/5/24 Mark Thomas ma...@apache.org On 24/05/2013 09:23, jie tang wrote: So if I use AsyncContext.start to run a Runnable. When that Runnable does some work but not write to response, will AsyncListener.onTimeout be invoked? Yes, unless you set the timeout to

Re: What's the meaning of timeout of an asynchronous operation

2013-05-24 Thread jie tang
I tried the following code: final AsyncContext async = req.startAsync(); async.setTimeout(3); async.addListener(new AsyncListener(){ @Override public void onComplete(AsyncEvent event) throws IOException {

Re: What's the meaning of timeout of an asynchronous operation

2013-05-24 Thread Mark Thomas
On 24/05/2013 10:15, jie tang wrote: I tried the following code: final AsyncContext async = req.startAsync(); async.setTimeout(3); async.addListener(new AsyncListener(){ @Override public void onComplete(AsyncEvent event) throws

Re: What's the meaning of timeout of an asynchronous operation

2013-05-24 Thread jie tang
But it means that even if I write some content to response, the onTimeout method is still called 2013/5/24 Mark Thomas ma...@apache.org On 24/05/2013 10:15, jie tang wrote: I tried the following code: final AsyncContext async = req.startAsync(); async.setTimeout(3);

Re: What's the meaning of timeout of an asynchronous operation

2013-05-24 Thread Mark Thomas
On 24/05/2013 10:27, jie tang wrote: But it means that even if I write some content to response, the onTimeout method is still called Correct. The timeout starts when the AsyncContext is started and is reset every time data is written to the response. Exactly the same way socket timeouts work.

Re: What's the meaning of timeout of an asynchronous operation

2013-05-24 Thread jie tang
I changed a little in my code: final AtomicLong writeResponseTime= new AtomicLong(0); final long timeout = 3; final AsyncContext async = req.startAsync(); async.setTimeout(timeout); async.addListener(new AsyncListener(){ @Override

How to store session in database

2013-05-24 Thread 杨华杰
Hi Basically I want to configure a tomcat cluster. I am using tomcat 6 and tomcat 7 and I want to store the session in database. I am looking to this document http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html . But unfortunately I didn't find any document to store session in database.

Re: How to store session in database

2013-05-24 Thread Serge Fonville
Hi, Does http://www.intelligrape.com/blog/2010/07/21/tomcat-6-session-persistence-through-jdbcstore/ help answer your question? HTH Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince Microsoft! They need to add TRUNCATE PARTITION in SQL Server

Re: How to store session in database

2013-05-24 Thread Daniel Mikusa
On May 24, 2013, at 7:28 AM, 杨华杰 wrote: Hi Basically I want to configure a tomcat cluster. I am using tomcat 6 and tomcat 7 and I want to store the session in database. I am looking to this document http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html . But unfortunately I

Re: How to store session in database

2013-05-24 Thread Albert Kam
Hopefully these open source nosql-tomcat-session-managers could be helpful in your jorney : https://github.com/jcoleman/tomcat-redis-session-manager https://github.com/dawsonsystems/Mongo-Tomcat-Sessions On Fri, May 24, 2013 at 6:47 PM, Daniel Mikusa dmik...@gopivotal.comwrote: On May 24,

Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chirag, On 5/23/13 11:11 PM, Chirag Dewan wrote: Chris, The profiler shows very high CPU utilization in Tomcat threads. As I said before a lot of time was spent during the ResponseFacade.setContentType() method call. That doesn't tell the

6.0.16 vs 6.0.37 puzzle

2013-05-24 Thread B T
Hello, I was wondering if anyone here might have some insight in different behaviors between 6.0.16 and 6.0.37. I've been using version 6.0.16 (With CentOS 5) for quite some time - and it has worked very well. I was in the process of testing a new configuration and was exploring the

Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-24 Thread Mark Thomas
On 24/05/2013 15:54, Christopher Schultz wrote: Chirag, On 5/23/13 11:11 PM, Chirag Dewan wrote: Chris, The profiler shows very high CPU utilization in Tomcat threads. As I said before a lot of time was spent during the ResponseFacade.setContentType() method call. That doesn't tell

Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chirag, On 5/23/13 11:11 PM, Chirag Dewan wrote: As I said before a lot of time was spent during the ResponseFacade.setContentType() method call. That doesn't tell the whole story but more or less the high utilization is mainly in the tomcat

Re: 6.0.16 vs 6.0.37 puzzle

2013-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 BT, On 5/24/13 11:09 AM, B T wrote: I was wondering if anyone here might have some insight in different behaviors between 6.0.16 and 6.0.37. I've been using version 6.0.16 (With CentOS 5) for quite some time - and it has worked very well. I

Re: 6.0.16 vs 6.0.37 puzzle

2013-05-24 Thread Mark Eggers
On 5/24/2013 9:04 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 BT, On 5/24/13 11:09 AM, B T wrote: I was wondering if anyone here might have some insight in different behaviors between 6.0.16 and 6.0.37. I've been using version 6.0.16 (With CentOS 5) for

Re: 6.0.16 vs 6.0.37 puzzle

2013-05-24 Thread Mark H. Wood
I would first look in the Tomcat log files to see if anything useful is recorded at the time of the blank response. I'd also ask the browser to display the page source to see if it's actually empty or contains something (perhaps quite a lot of something) that renders as an empty page. It might

RE: 6.0.16 vs 6.0.37 puzzle

2013-05-24 Thread B T
Date: Fri, 24 May 2013 09:32:46 -0700 From: its_toas...@yahoo.com To: users@tomcat.apache.org Subject: Re: 6.0.16 vs 6.0.37 puzzle On 5/24/2013 9:04 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 BT, On 5/24/13 11:09 AM, B T wrote: I was

Re: 6.0.16 vs 6.0.37 puzzle

2013-05-24 Thread Konstantin Kolinko
2013/5/24 B T bt1...@live.com: Hello, I was wondering if anyone here might have some insight in different behaviors between 6.0.16 and 6.0.37. I've been using version 6.0.16 (With CentOS 5) for quite some time - and it has worked very well. I was in the process of testing a new

Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-24 Thread Chirag Dewan
Chris, Sorry I should have posted the data first. I probably missed the most important part of a load test. I will do it shortly. And I am not using Jmeter now,I am using an http client for load test. I am testing it on Solaris x86 server 64bit JVM. And i have collected the samples for Tomcat

RE: Enable logging for JIoEndpoint

2013-05-24 Thread Vanga Palli, Ravindra Kumar
Chris, I don't think we are using Executor's in our tomcat 6.0.28 server configuration. Both of the following stack traces clearly indicate that i am not using executors instead I am using JioEndpoint I can give two examples from my logs: Here is the output of kill -3 pid which gives output

Re: 6.0.16 vs 6.0.37 puzzle

2013-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 BT, On 5/24/13 3:04 PM, B T wrote: Thanks for your guys' feedback ... I had removed 6.0.37 and installed 6.0.16. I then put back 6.0.37 (in a different directory) and tried it again and it somehow magically worked with 6.0.37 (after it had

Re: Enable logging for JIoEndpoint

2013-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ravi, On 5/24/13 4:59 PM, Vanga Palli, Ravindra Kumar wrote: I don't think we are using Executor's in our tomcat 6.0.28 server configuration. Both of the following stack traces clearly indicate that i am not using executors instead I am using

Fwd: mem usage

2013-05-24 Thread dario iannaccone
Hi all, afther starting tomcat I not that free memory of my VPS still near 0. So it is normal this large usage of RAM? O.S.: Debian 7.0 (wheezy) 64 bit Apache Tomcat/7.0.28 JVM version: 1.7.0_03-b21 (Oracle) root@ianpapserver:/opt/tomcat/bin# free -m total used free

Apache tomcat thread's issue

2013-05-24 Thread Gabriel Huerta Araujo
Hi everyone I developed an application using two threads where in one of them I started to run one socket to ask for information and in the another, application runs a serversocket to receive the data. In STS runs perfectly(Windows) but when I run this application on Solaris. threads do not run

Re: How to store session in database

2013-05-24 Thread 杨华杰
Hi Serge, Daniel Albert Thanks, it does help. Seems like there are many options. Regards, Hua Jie On Fri, May 24, 2013 at 7:51 PM, Albert Kam moonblade.w...@gmail.comwrote: Hopefully these open source nosql-tomcat-session-managers could be helpful in your jorney :

[OT] ab and load testing (was: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7)

2013-05-24 Thread Rainer Jung
On 24.05.2013 17:54, Christopher Schultz wrote: Top reported that Tomcat was taking somewhere between 550-600% CPU. (This is a 4-core hyperthreaded CPU so I have 8 logical cores. 'ab' was taking about 100% CPU so I think 600% CPU means it was roughly pegging 6 of my logical cores. Roughly 30%