Re: mod_jk connection pool configuration

2011-11-18 Thread Pid *
On 17 Nov 2011, at 20:39, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 11/16/11 7:20 PM, Pid wrote: What I'm not clear on is whether the mod_jk worker connection_pool_size is 60 per Server child, or 60 * 10 Server children.

RE: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Adrian Zara
Hi Chuck, Thanks again. I mentioned about setting the JAVA_OPTS because I thought that could be they key to my problem. Previously it was set to 512 and by the time it was set to 512, we were already experiencing panic issue that's why I thought of setting it to 1024. I am thinking about

Re: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Adrian Zara
Hi Jürgen, Thanks a ton. I'll do as what you advised and also as told by Chuck, I will consider replacing my current JVM. I will revert back the heap size to its original value of 512, remove the AggressiveHeap option and specify an initial heap size value of 128. Best regards, Adrian

RE: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Mikolaj Rydzewski
On Fri, 18 Nov 2011 16:19:53 +0800, Adrian Zara wrote: I will consider replacing the JVM with the ones you suggested. But for the meantime, while I do not have these better JVM's yet, I'll check of removing the AgressiveHeap option in the JAVA_OPTS as advised by Jürgen. Please do the

RE: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Adrian Zara
Hi Miki, Noted with thanks! I'll replace my JVM with a better one. As for the JAVA_OPTS variable, I am planning to revert it back to its original value of 512 and retain it there as I am not confident of removing it from the catalina.sh. As for the server's memory, I'm not sure how to test it.

Re: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Jürgen Link
Adrian, you might want to look into memtest package to check your RAM on startup. BTW: what's the size of your swap space? If there is none, you should consider setting it up (0.5-1 GB will be sufficient). Cheers Jürgen 2011/11/18 Adrian Zara adrian.z...@aonhewitt.com Hi Miki, Noted with

Re: CLOSE_WAIT Connection Issue

2011-11-18 Thread Chandrakant Solanki
Hi, 1] having one project in webapps, which will hold connection for 45 seconds. 2] I executed 5000 CURL request, on above project. 3] And then from Clinet Side, from where, I execute curl, kill all curl process. So, on server all ESTABLISHED becomes, CLOSE_WAIT in netstat. tcp0

Re: CLOSE_WAIT Connection Issue

2011-11-18 Thread Pid *
On 18 Nov 2011, at 08:49, Chandrakant Solanki solanki.chandrak...@gmail.com wrote: Hi, 1] having one project in webapps, which will hold connection for 45 seconds. 2] I executed 5000 CURL request, on above project. 3] And then from Clinet Side, from where, I execute curl, kill all curl

Re: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Pid *
On 18 Nov 2011, at 08:34, Adrian Zara adrian.z...@aonhewitt.com wrote: Hi Miki, Noted with thanks! I'll replace my JVM with a better one. As for the JAVA_OPTS variable, I am planning to revert it back to its original value of 512 and retain it there as I am not confident of removing it from

Re: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Adrian Zara
Hi Jürgen, Currently, swap space is set to 2GB. By the way, I just learned that the JVM I am using is Java HotSpot (TM) Client VM (build 1.4.2_19-b04, mixed mode) and I believe this should be a good JVM. So I go back again to my drwaing board to analyze the issue. Please advise again. Best

Re: Tomcat 7, JAX-WS 2.2.5

2011-11-18 Thread Ivan Larionov
Hi Konstantin, Thank you for your reply. Please see inline below. On 17.11.2011 11:57, Konstantin Kolinko wrote: 2011/11/14 Ivanilario...@ksf.kiev.ua: Dear All, We are running JAX-WS web-services using JAX-WS RI under tomcat. First we upgraded from Tomcat 5.5 to Tomcat 7 and everything was

JvmRoute must be unique?

2011-11-18 Thread Francesco Sordillo
Hi to all. I'm using Tomcat 6.0.26 on RHEL 5.6 machine and Apache 2.2.3. I don't understand if the jvmroute for stickysession must be unique! My scenario is this: - two machine - two tomcat instance per machine - proxy balancer on apache actived and connected with tomcat in full mesh So I

RE: Trying to get Tomcat 6 running as a Windows service

2011-11-18 Thread Martin O'Shea
Ok. Some good news and some bad news. Tomcat 6.0.26 is now running as a Windows service. But I have a problem with my application as follows: SEVERE: Exception sending context initialized event to listener instance of class visualRSS.initialisation.SchedulerContext_Listener

Re: mod_jk connection pool configuration

2011-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 11/18/11 3:14 AM, Pid * wrote: On 17 Nov 2011, at 20:39, Christopher Schultz ch...@christopherschultz.net wrote: Pid, On 11/16/11 7:20 PM, Pid wrote: What I'm not clear on is whether the mod_jk worker connection_pool_size is 60

Re: CLOSE_WAIT Connection Issue

2011-11-18 Thread Marvin Addison
3] And then from Clinet Side, from where,  I execute curl, kill all curl process. So, on server all ESTABLISHED becomes, CLOSE_WAIT in netstat. I'd imagine kill -KILL or kill -TERM is preventing proper socket teardown. The server is expecting ACKs from the clients that apparently not being

Re: JvmRoute must be unique?

2011-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francesco, On 11/18/11 5:29 AM, Francesco Sordillo wrote: I'm using Tomcat 6.0.26 on RHEL 5.6 machine and Apache 2.2.3. I don't understand if the jvmroute for stickysession must be unique! jvmroute must be unique. It's pretty clear from the

Re: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adrian, On 11/17/11 10:53 PM, Adrian Zara wrote: I am using Tomcat 5.5.31 and most of the time (one in every two attempts) when I restart the tomcat (during shutdown or when starting up), the server crashes. And the error message is what? Does

Re: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 11/18/11 2:46 AM, Caldarale, Charles R wrote: From: Adrian Zara [mailto:adrian.z...@aonhewitt.com] Subject: Re: Tomcat Causes Server to go Panic/Crash As you can see in the JAVA_OPTS setting, I have set the max heap size to 1G which

Re: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adrian, On 11/18/11 4:29 AM, Adrian Zara wrote: Currently, swap space is set to 2GB. By the way, I just learned that the JVM I am using is Java HotSpot (TM) Client VM (build 1.4.2_19-b04, mixed mode) and I believe this should be a good JVM. So I

Re: CLOSE_WAIT Connection Issue

2011-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chandrakant, This is a bit OT from your original question: On 11/18/11 2:34 AM, Chandrakant Solanki wrote: Connector port=8080 protocol=org.apache.coyote. http11.Http11NioProtocol maxThreads=5000 minSpareThreads=100 maxSpareThreads=300

Tomcat recycling

2011-11-18 Thread Jan Vávra
Hello, is there any way how to tell tomcat: Recycle after X minutes OR Y requests like it is eg. on the IIS server? If I add my own script containing /etc/init.d/tomcat restart to the crontab I loose the user sessions and users have to relogin. I experience some problems with OutOfMemory

Re: Password Expiration

2011-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ono, http://catb.org/~esr/faqs/smart-questions.html On 11/17/11 10:09 PM, Ono Kensuke wrote: Hello, We use OpenDS for users's authentication and implemented password policy. We want to force users to change their password every three months.

Re: Cluster - No faulty members identified

2011-11-18 Thread Filip Hanik - Dev Lists
remove bind=172.30.5.77 Filip On 11/4/2011 6:41 AM, Alexander Diedler wrote: Hello @ll, I have two Tomcat instances (6.0.32 x64 on Windows) on the same server. Both servers make their own clustering with the other physical node independent from each other on the same machine. I get during

RE: Trying to get Tomcat 6 running as a Windows service

2011-11-18 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Trying to get Tomcat 6 running as a Windows service Tomcat 6.0.26 is now running as a Windows service. But I have a problem with my application as follows: You should start a new thread for a new problem. SEVERE: Exception

RE: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Caldarale, Charles R
From: Adrian Zara [mailto:adrian.z...@aonhewitt.com] Subject: Re: Tomcat Causes Server to go Panic/Crash I just learned that the JVM I am using is Java HotSpot (TM) Client VM (build 1.4.2_19-b04, mixed mode) Which hasn't been supported for many years. (1.5 is also not supported, unless

Re: tomcat manager/status question

2011-11-18 Thread Justin Larose
Dan, Thanks for the help. I opened the server.xml.orig file (from the Tomcat installation) and copied the GlobalNamingResources and Engine and restarted Tomcat. Afterwards I was able to login using the username and password located in the tomcat-users.xml file. Thanks, Justin LaRose Database

Re: Tomcat recycling

2011-11-18 Thread Pid *
On 18 Nov 2011, at 15:36, Jan Vávra va...@602.cz wrote: Hello, is there any way how to tell tomcat: Recycle after X minutes OR Y requests like it is eg. on the IIS server? IIS can reboot itself after N requests? That's awesome. What could possibly go wrong? I might file an enhancement

Re: Tomcat recycling

2011-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 11/18/11 1:23 PM, Pid * wrote: IIS can reboot itself after N requests? That's awesome. What could possibly go wrong? IIS could stay up. ;) - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools -

Re: Tomcat recycling

2011-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan, On 11/18/11 10:35 AM, Jan Vávra wrote: is there any way how to tell tomcat: Recycle after X minutes OR Y requests like it is eg. on the IIS server? Tomcat does not come with any mechanism for doing that. IIS has hacks to work-around horrible

Tomcat Manager WebApp authentication

2011-11-18 Thread Mark Montague
I'm running Tomcat 6.0.24 behind Apache HTTP Server 2.2.15 with mod_proxy_ajp. I edited tomcat-users.xml and the Tomcat Manager WebApp works fine. I then configure Tomcat to use the authentication done by the front-end web server, by setting the tomcatAuthentication=false attribute for the

RE: Tomcat Manager WebApp authentication

2011-11-18 Thread Leo Donahue - PLANDEVX
-Original Message- From: Mark Montague [mailto:m...@catseye.org] Subject: Tomcat Manager WebApp authentication Is is possible to ... or some other independent source for role information? I've read the documentation on realms and security constraints, and googled, but the solution is

RE: Tomcat Manager WebApp authentication

2011-11-18 Thread Leo Donahue - PLANDEVX
-Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Subject: RE: Tomcat Manager WebApp authentication -Original Message- From: Mark Montague [mailto:m...@catseye.org] Subject: Tomcat Manager WebApp authentication Is is possible to ... or some

Re: Tomcat recycling

2011-11-18 Thread Mark Thomas
On 18/11/2011 18:23, Pid * wrote: On 18 Nov 2011, at 15:36, Jan Vávra va...@602.cz wrote: Hello, is there any way how to tell tomcat: Recycle after X minutes OR Y requests like it is eg. on the IIS server? IIS can reboot itself after N requests? That's awesome. What could possibly go

Erratic Response Types When Tomcat Fronted by Apache httpd

2011-11-18 Thread Jonathan Rosenberg
Setup basics (all on Linux box): - Apache Tomcat/7.0.6 - JVM: 1.6.0_22-b04 - Apache httpd 2.2.17 -- proxied via ProxyPass /Catalog ajp://localhost:8009/Catalog I just deployed a new version of the app to my test server. When I access the application (/Catalog) directly via Tomcat, all runs

Problem with wmv file in tomcat 7

2011-11-18 Thread al pl
Hi, I have bunch of .wmv files which used to work fine in tomcat 6 when the user clicked on the link. The windows media player used to start buffering and then playing them, but since I have upgraded the tomcat to version 7.0.22, the same windows media player gives an error saying Windows Media

Re: Erratic Response Types When Tomcat Fronted by Apache httpd

2011-11-18 Thread Daniel Mikusa
On Fri, 2011-11-18 at 13:28 -0800, Jonathan Rosenberg wrote: Setup basics (all on Linux box): - Apache Tomcat/7.0.6 - JVM: 1.6.0_22-b04 - Apache httpd 2.2.17 -- proxied via ProxyPass /Catalog ajp://localhost:8009/Catalog You might want to give an updated version of Tomcat 7 a try.

Upgrading Tomcat in Place on Linux

2011-11-18 Thread Jonathan Rosenberg
I started a new thread for this, though it';s in response to my earlier message Daniel Mikusa said: You might want to give an updated version of Tomcat 7 a try. 7.0.22 is the latest. What is a good way to upgrade Tomcat in place on a Linux box? -- Jonathan Rosenberg Founder Executive

RE: Upgrading Tomcat in Place on Linux

2011-11-18 Thread Caldarale, Charles R
From: Jonathan Rosenberg [mailto:shmol...@gmail.com] Subject: Upgrading Tomcat in Place on Linux What is a good way to upgrade Tomcat in place on a Linux box? Don't. Install the new Tomcat in a different directory. Ideally, you're keeping your webapps in a location other than inside the

RE: Upgrading Tomcat in Place on Linux

2011-11-18 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Upgrading Tomcat in Place on Linux What is a good way to upgrade Tomcat in place on a Linux box? Don't. Install the new Tomcat in a different directory. Forgot to mention that you will, of course, have to merge your changes to server.xml and other

RE: Problem with wmv file in tomcat 7

2011-11-18 Thread Caldarale, Charles R
From: al pl [mailto:uhotsp...@gmail.com] Subject: Problem with wmv file in tomcat 7 since I have upgraded the tomcat to version 7.0.22, the same windows media player gives an error saying Windows Media Player cannot play the file. The player might not support the file type or might not

Re: Problem with wmv file in tomcat 7

2011-11-18 Thread al pl
Hi Chuck, Here are the two headers and the mime part are both the same: tomcat 6 Server Apache-Coyote/1.1 Pragma No-cache Cache-Control no-cache Expires Wed, 31 Dec 1969 16:00:00 PST Accept-Ranges bytes Etag W/42566016-119615262 Last-Modified Tue, 27 Nov 2007 08:37:00 GMT Content-Type

RE: Problem with wmv file in tomcat 7

2011-11-18 Thread Caldarale, Charles R
From: al pl [mailto:uhotsp...@gmail.com] Subject: Re: Problem with wmv file in tomcat 7 Browser? tomcat 6 Pragma No-cache Cache-Control no-cache tomcat 7 Cache-Control private Note the caching control differences. You might want to check the headers a few more times to see if that

Re: Upgrading Tomcat in Place on Linux

2011-11-18 Thread Mark Thomas
On 18/11/2011 22:27, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Upgrading Tomcat in Place on Linux What is a good way to upgrade Tomcat in place on a Linux box? Don't. Install the new Tomcat in a different directory. Forgot to mention that you will, of course,

Re: Problem with wmv file in tomcat 7

2011-11-18 Thread al pl
Chuck, Regarding the browser it happens in both Chrome and IE and I don't think it is browser related. And regarding the cache header directives since that page is coming from a secured location per http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html I changed the Form Authenticator valve

Re: Single POST request being handled twice

2011-11-18 Thread Jeremy
OK, we figured it out. It's a case of too many timeout settings and not having a real DevOps person on hand. There was an obvious error message in Apache's mod_jk.log that I failed to correlate with the problem because I misread the timestamp on one of the many log entries. Doh! [info]

Re: Problem with wmv file in tomcat 7

2011-11-18 Thread Konstantin Kolinko
2011/11/19 al pl uhotsp...@gmail.com: Chuck, Regarding the browser it happens in both Chrome and IE and I don't think it is browser related. And regarding the cache header directives since that page is coming from a secured location per