Re: Tomcat Causes Server to go Panic/Crash

2011-11-17 Thread Jürgen Link
Hi Adrian, specifying 1G heap size does not limit your process's mem consumption to 1G, there's much more inside a JVM than heap! If I got you right, your physical mem is 2G, right? Well, having two processes (running tomcat instance + tomcat shutdown process, which is a new JVM instance) with 1G h

Re: CLOSE_WAIT Connection Issue

2011-11-17 Thread Pid *
On 18 Nov 2011, at 07:34, Chandrakant Solanki wrote: > Hi All, > > I am using apache-tomcat 6.0.26 and below is my server.xml > >redirectPort="8443" maxKeepAliveRequests="1" >maxThreads="5000" minSpareThreads="100" > maxSpareThreads="300" >p

RE: Tomcat Causes Server to go Panic/Crash

2011-11-17 Thread Caldarale, Charles R
> 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 is 50% of the total physical > memory and, if I'm not mistaken, I think we are running > only one ap

RE: Tomcat Causes Server to go Panic/Crash

2011-11-17 Thread Caldarale, Charles R
> From: Adrian Zara [mailto:adrian.z...@aonhewitt.com] > Subject: RE: Tomcat Causes Server to go Panic/Crash > Tomcat version: Tomcat: 5.5.31 Good to know. Be aware that 5.5 is reaching end of life soon, and you should move up to something current. > JVM version: gij (GNU libgcj) version 3.4.

Re: Tomcat Causes Server to go Panic/Crash

2011-11-17 Thread Adrian Zara
Hi Jürgen, Thanks for the info. Honestly, I don't know whether it's due to memory outage. But something is happening during the shutdown process. As you can see in the JAVA_OPTS setting, I have set the max heap size to 1G which is 50% of the total ph ysical memory and, if I'm not mistaken, I th

CLOSE_WAIT Connection Issue

2011-11-17 Thread Chandrakant Solanki
Hi All, I am using apache-tomcat 6.0.26 and below is my server.xml I have executed CURL request, around 5000 and after that I kill all my curl process. So, all ESTABLISHED connection becomes in CLOSE_WAIT state. Is any configuration is missing or doing something wrong.. Please h

Re: Tomcat Causes Server to go Panic/Crash

2011-11-17 Thread Jürgen Link
Hi Adrian, you might want to replace the AggressiceHeap option by a decent initial heap size, e.g. Xms=64m. AggressiveHeap seems to eat up all available memory: [...] The size of the initial heap is calculated based on the size of the physical memory and attempts to make maximal use of the physic

RE: Tomcat Causes Server to go Panic/Crash

2011-11-17 Thread Adrian Zara
Hi Chuck, Thanks for the prompt reply. Please refer to the following requested info: Tomcat version: Tomcat: 5.5.31 JVM version: gij (GNU libgcj) version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) If the JAVA_OPTS affects the shutdown process, then I have to find out what is the best setting for this

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

2011-11-17 Thread Caldarale, Charles R
> From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] > Subject: Trying to get Tomcat 6 running as a Windows service > I find that although Tomcat will start / stop via the batch > files in the /bin folder, when set as a Windows service, I get > a message that: > > Windows could not start t

RE: Tomcat Causes Server to go Panic/Crash

2011-11-17 Thread Caldarale, Charles R
> From: Adrian Zara [mailto:adrian.z...@aonhewitt.com] > Subject: Tomcat Causes Server to go Panic/Crash > Tomcat Version: 5.5.x Exact Tomcat version? There have been at least 15 releases of 5.5. > JAVA_OPTS='-Xmx1024m -XX:+AggressiveHeap' Note that setting JAVA_OPTS affects all Tomcat Java e

Tomcat Causes Server to go Panic/Crash

2011-11-17 Thread Adrian Zara
Hi, Good morning! I am using Tomcat 5.5.x and most of the time (one in every two attempts) when I restart the tomcat (during shutdown or when starting up), the server crashes. Kindly refer to the following information/specification you may find useful regarding on my inquiry: Tomcat Version:

Password Expiration

2011-11-17 Thread Ono Kensuke
Hello, We use OpenDS for users's authentication and implemented password policy. We want to force users to change their password every three months. Tomcat Version :6.0.29 OS Version :Windows Server Std 2008 x64 OpenDS Version :2.2.0 What we did so far is the following: Server

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

2011-11-17 Thread Martin O'Shea
Thanks Leo. Will investigate and advise. -Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Sent: 17 Nov 2011 18 49 To: 'Tomcat Users List' Subject: RE: Trying to get Tomcat 6 running as a Windows service >-Original Message- >From: app...@dsl.pi

RE: How do I build tomcat native for windows x64?

2011-11-17 Thread John Wilkinson
A follow-up: We have succeeded in getting a mostly-working build of tcnative-1.dll using the /MT compile option on APR and tcnative, and linking to openssl built from scratch (also with /MT), all using VS2010. Oddly, this build crashes if SSLCACertificatePath is defined in server.xml but SSLCACert

Re: tomcat session replication and domain change

2011-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 11/16/11 5:32 PM, Leon Rosenberg wrote: > Hello Chris, > > thank you for the answer, more inline. > >>> User logins on http://www.site.fr, a new session is created. >>> User uses the site, attributes are written and read... User >>> clicks

Re: mod_jk connection pool configuration

2011-11-17 Thread Christopher Schultz
-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. mod_jk's connection_pool_size, when left to the default (which I think everyone sho

Re: Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rosiere, On 11/17/11 10:26 AM, rosiere wrote: > (or "Empreinte du certificat" in French because my Linux > distribution that supports my JDK and Tomcat was installed in > French) If you want to switch to English, just set the LANG environment variabl

Re: Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 11/17/11 10:08 AM, Ashish Kulkarni wrote: > I had to deal with this issue in Websphere, got Thwate certificate > and no matter what i was not able to get the primary and secondary > certificate to work in IE browser, only in Firefox and chr

Re: Database connection causes slow startup

2011-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, On 11/17/11 1:41 PM, Ben Gladstone wrote: > Thanks for your help. I solved the problem. It turns out the > problem was in that fastConnectionFailover option. I disabled that, > and it now starts up in 46 seconds. But now they won't fail-over fas

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

2011-11-17 Thread Leo Donahue - PLANDEVX
>-Original Message- >From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] >Subject: Trying to get Tomcat 6 running as a Windows service > >Hello >... but I find that although >Tomcat will start / stop via the batch files in the /bin folder, when >set as a Windows service, I get a messa

Re: Database connection causes slow startup

2011-11-17 Thread Ben Gladstone
Thanks for your help. I solved the problem. It turns out the problem was in that fastConnectionFailover option. I disabled that, and it now starts up in 46 seconds. On Wed, Nov 16, 2011 at 2:23 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > H

Re: Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-17 Thread Mark Thomas
On 17/11/2011 16:48, rosiere wrote: > > Hello, > Thanks for your hint. > > I made a copy of my keystore. Then I changed alias: > my private key now uses the alias "mykey". > I changed our certificate's alias to "tomcat", by keytool's -changealias > command. > > Now this is my certificate (the th

Re: Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-17 Thread rosiere
Hello, Thanks for your hint. I made a copy of my keystore. Then I changed alias: my private key now uses the alias "mykey". I changed our certificate's alias to "tomcat", by keytool's -changealias command. Now this is my certificate (the third one that differs from INTER and ROOT) Alias name: to

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

2011-11-17 Thread appy74
Nothing I can see because I don;t believe it is getting that far. But I will check again tomorrow. Quoting David kerber : > Nothing in the various tomcat logs? > > > On 11/17/2011 11:23 AM, app...@dsl.pipex.com wrote: > > Checking the Windows log, I find the following: > > > > The Tomcat6 serv

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

2011-11-17 Thread David kerber
Nothing in the various tomcat logs? On 11/17/2011 11:23 AM, app...@dsl.pipex.com wrote: Checking the Windows log, I find the following: The Tomcat6 service terminated with service-specific error The operation completed successfully. And details: param1 Tomcat6 param2 %%0 Any clues? Quotin

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

2011-11-17 Thread appy74
Checking the Windows log, I find the following: The Tomcat6 service terminated with service-specific error The operation completed successfully. And details: param1 Tomcat6 param2 %%0 Any clues? Quoting "Terence M. Bandoian" : > On 1:59 PM, app...@dsl.pipex.com wrote: > > Hello > > > > T

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

2011-11-17 Thread Terence M. Bandoian
On 1:59 PM, app...@dsl.pipex.com wrote: Hello This follows on from my query yesterday where I was having trouble getting Tomcat 6.0.26 to start as a Windows service on a 64 bit Windows 7 PC. Well, I have set the relevant authorities but I find that although Tomcat will start / stop via the ba

Re: Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-17 Thread Mark Thomas
On 17/11/2011 15:26, rosiere wrote: > > Hello, > > Thanks for your suggestions. > I displayd my keystore file with keytool: > keytool -list -v -keystore $myKeystoreFile > keystoreManifest.txt > > > There are 4 entries in my keystore file. > But only one entry contains a field named "Certifi

Re: Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-17 Thread rosiere
Hello, Thanks for your suggestions. I displayd my keystore file with keytool: keytool -list -v -keystore $myKeystoreFile > keystoreManifest.txt There are 4 entries in my keystore file. But only one entry contains a field named "Certificate chain length". The other 3 entries, as certificate

Re: Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-17 Thread Ashish Kulkarni
I had to deal with this issue in Websphere, got Thwate certificate and no matter what i was not able to get the primary and secondary certificate to work in IE browser, only in Firefox and chrome, finally i got a certificate from Verisign and it works well in IE and chrome but not in firefox, this

Re: Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-17 Thread rosiere
Hello, In fact I read this command from my certificate provider's installation guideline. It gives us these 3 commands: keytool -import -trustcacerts -alias ROOT -file root.crt -keystore NEWkeystore keytool -import -trustcacerts -alias INTER -file inter.crt -keystore NEWkeystore keytool -impor

Re: Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-17 Thread Daniel Mikusa
On Thu, 2011-11-17 at 05:02 -0800, rosiere wrote: > Hello, > > Of course I restarted my Tomcat. No offense meant, had to ask. Can't assume anything. > > This is the SSL portion of my server.xml and it has noting wrong. > > > maxThreads="150" scheme="https" secure="true"

Re: Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-17 Thread rosiere
Hello, Of course I restarted my Tomcat. This is the SSL portion of my server.xml and it has noting wrong. Daniel Mikusa-2 wrote: > > > On Wed, 2011-11-16 at 06:23 -0800, Yi SHU wrote: > >> At last we can access to our Tomcat welcome page through HTTPS, but the >> certificate we acqu

Re: Single POST request being handled twice

2011-11-17 Thread Mark Thomas
On 17/11/2011 08:48, Jeremy wrote: > Mark, thanks for taking a crack at this. I'm not that familiar with how > mod_jk and AJP work under the covers, but based on my level of > understanding, your scenario comes close but does not exactly match the > logging we see. My detailed comments below. >

Trying to get Tomcat 6 running as a Windows service

2011-11-17 Thread appy74
Hello This follows on from my query yesterday where I was having trouble getting Tomcat 6.0.26 to start as a Windows service on a 64 bit Windows 7 PC. Well, I have set the relevant authorities but I find that although Tomcat will start / stop via the batch files in the /bin folder, when set as

Re: Adding SSL information into access log

2011-11-17 Thread Konstantin Kolinko
2011/11/14 Tapio Niemi : >> >> If you can't find a standard request attribute that meets your needs, >> you could always write a Filter (or Valve, if it's necessary to run >> before the AccessLogValve) that puts anything you want into the >> request for logging purposes. > > Now this is great advic

Re: Tomcat 7, JAX-WS 2.2.5

2011-11-17 Thread Konstantin Kolinko
2011/11/14 Ivan : > 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 fine. Eventually, we > decided to upgrade to the latest JAX-WS RI and went for 2.2.5 version. > > We faced a problem. Upon requests w

Re: Single POST request being handled twice

2011-11-17 Thread Jeremy
Mark, thanks for taking a crack at this. I'm not that familiar with how mod_jk and AJP work under the covers, but based on my level of understanding, your scenario comes close but does not exactly match the logging we see. My detailed comments below. On Wed, Nov 16, 2011 at 11:53 PM, Mark Thomas