Re: Tomcat uses 99% of CPU - Something to do with AJP connector

2012-06-11 Thread Martin Knoblauch
On Tue, Jun 12, 2012 at 7:59 AM, Caldarale, Charles R wrote: >> From: Martin Knoblauch [mailto:knobis...@googlemail.com] >> Subject: Re: Tomcat uses 99% of CPU - Something to do with AJP connector > >> From a technical point of view - yes. But from experience I can tell >> that you there are IT or

RE: Tomcat uses 99% of CPU - Something to do with AJP connector

2012-06-11 Thread Caldarale, Charles R
> From: Martin Knoblauch [mailto:knobis...@googlemail.com] > Subject: Re: Tomcat uses 99% of CPU - Something to do with AJP connector > From a technical point of view - yes. But from experience I can tell > that you there are IT organisations out there that have really weird > policies. So "upgra

Re: Tomcat uses 99% of CPU - Something to do with AJP connector

2012-06-11 Thread Martin Knoblauch
On Mon, Jun 11, 2012 at 10:37 PM, Caldarale, Charles R wrote: >> From: Dharamshila Khandelwal [mailto:dharmshil...@gmail.com] >> Subject: Re: Tomcat uses 99% of CPU - Something to do with AJP connector > >> I cannot upgrade Tomcat because we upgraded last year. > > Now that is a completely bogus r

Re: HttpOnly

2012-06-11 Thread Satish Kumar Geddam
https://owasp.org/index.php/HttpOnly#Using_Java_to_Set_HttpOnly enjoy On Tue, Jun 12, 2012 at 10:27 AM, N.s.Karthik wrote: > Hi > > Spec > JDK1.6 > Tomcat 6.0.10 > O/s Win / Linux(r-Hat) > Browser : Crome 19.0.x / IE8 > > For some specific Reason We use Tomcat 6.0.10 for Dev/Deploy in INTRANET.

HttpOnly

2012-06-11 Thread N.s.Karthik
Hi Spec JDK1.6 Tomcat 6.0.10 O/s Win / Linux(r-Hat) Browser : Crome 19.0.x / IE8 For some specific Reason We use Tomcat 6.0.10 for Dev/Deploy in INTRANET. I have Googled / Yahooed for the same. "HttpOnly" 1 form suggested to use Filters and set Cookie Headers as alternative for Handling "Ht

Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-11 Thread Kiran Badi
On 6/10/2012 1:49 AM, André Warnier wrote: Kiran Badi wrote: Any feedback on apache james ? I've never used it, so I can't comment. What I would ask is: why are you are specifically looking for a Java-based mail server? I was looking for open source server ,capable for serving atleast 5k ma

Re: [solved] Re: connection reset errors

2012-06-11 Thread Jose María Zaragoza
> The solution was to 1) set acceptCount to a higher value in Tomcat and 2) to > configure my OS to allow applications to specify longer accept queues. That > last step was the one missing. I had changed acceptCount before, but since > the OS was limiting the accept queue length I did not see an

RE: Tomcat uses 99% of CPU - Something to do with AJP connector

2012-06-11 Thread Caldarale, Charles R
> From: Dharamshila Khandelwal [mailto:dharmshil...@gmail.com] > Subject: Re: Tomcat uses 99% of CPU - Something to do with AJP connector > I cannot upgrade Tomcat because we upgraded last year. Now that is a completely bogus reason. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

Re: Tomcat uses 99% of CPU - Something to do with AJP connector

2012-06-11 Thread Dharamshila Khandelwal
Hi Konstantin, I cannot upgrade Tomcat because we upgraded last year. I will do a thread dump when it slows down next time. However, I still need answers to AJP connection time out. Thanks, DS. On Mon, Jun 11, 2012 at 12:39 PM, Konstantin Kolinko wrote: > 2012/6/11 Dharamshila Khandelwal : > >

Re: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge, On 6/11/12 3:01 PM, Jorge Medina wrote: > There is not much running in the machine other than Tomcat. The JVM > actually starts fine, using about 8GB (6GB of heap, + code + > threads etc) but it keeps growing. In about 2 days it runs out of >

RE: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Caldarale, Charles R
> From: Jorge Medina [mailto:cerebrotecnolog...@gmail.com] > Subject: Re: Java process killed by oom-killer in Ubuntu > The JVM actually starts fine, using about 8GB (6GB of heap, + code + > threads etc) but it keeps growing. In about 2 days it runs out of > memory. (The JVM process has reached m

Re: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Jorge Medina
There is not much running in the machine other than Tomcat. The JVM actually starts fine, using about 8GB (6GB of heap, + code + threads etc) but it keeps growing. In about 2 days it runs out of memory. (The JVM process has reached more than 15GB). -Jorge On Mon, Jun 11, 2012 at 11:40 AM, Caldara

RE: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Java process killed by oom-killer in Ubuntu > On 6/11/2012 2:30 PM, Jorge Medina wrote: > > The machine has 16 GB of memory with no swap space. > > The JVM was being started with -Xms and -Xmx equal to 6 GB, so I think > > 10GB ext

Re: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread David kerber
On 6/11/2012 2:30 PM, Jorge Medina wrote: The machine has 16 GB of memory with no swap space. The JVM was being started with -Xms and -Xmx equal to 6 GB, so I think 10GB extra would be enough for anything else. Does Xms/Xmx memory need to be contiguous? If so, maybe it just can't find a big-

Re: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Jorge Medina
The machine has 16 GB of memory with no swap space. The JVM was being started with -Xms and -Xmx equal to 6 GB, so I think 10GB extra would be enough for anything else. -Jorge On Mon, Jun 11, 2012 at 11:15 AM, Caldarale, Charles R wrote: >> From: Jorge Medina [mailto:cerebrotecnolog...@gmail.com

RE: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Caldarale, Charles R
> From: Jorge Medina [mailto:cerebrotecnolog...@gmail.com] > Subject: Re: Java process killed by oom-killer in Ubuntu > Nevertheless, I am finding that after removing the -Xms option, the > process memory usage stabilizes and stops growing. That would seem to indicate that your -Xmx value is sim

Re: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Jorge Medina
I found this interesting article about how Linux handles requests for memory, look at section "9.6 Overcommit and OOM": http://www.win.tue.nl/~aeb/linux/lk/lk-9.html I verified that our system runs with overcommit_memory = 0 and overcommit_ratio = 50. Which are the default values. This post sugges

Re: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Jorge Medina
I'm finding it hard to believe, but all points that the problem was the -Xms option of the Oracle (Sun) JVM. I originally set it to the same value as -Xmx, so that all memory for the heap is allocated when the JVM starts. This works fine in Solaris, but it is not working in Ubuntu. After removing t

Re: Tomcat uses 99% of CPU - Something to do with AJP connector

2012-06-11 Thread Konstantin Kolinko
2012/6/11 Dharamshila Khandelwal : > Hi, > > I use a combination of tomcat (version 6.0.32) and apache (version 2.2.17) > connected by mod_proxy_ajp connector. > The website starts responding slow all of a sudden and I see that tomcat > process uses 99% of the CPU. > At the same time I see the foll

Tomcat uses 99% of CPU - Something to do with AJP connector

2012-06-11 Thread Dharamshila Khandelwal
Hi, I use a combination of tomcat (version 6.0.32) and apache (version 2.2.17) connected by mod_proxy_ajp connector. The website starts responding slow all of a sudden and I see that tomcat process uses 99% of the CPU. At the same time I see the following in apache error_log: [Sun Jun 10 00:20:36

Re: EL Resolver throws InvocationTargetException (char-long conversation)

2012-06-11 Thread Mark Thomas
On 11/06/2012 10:31, burghard.britzke wrote: > But it for in common the El-Resolver should be able to convert the 'w' into a > java.lang.Long in this case. > May be this is an issue with Tomcat 7.0.27? > Should somebody (may be I) file this at https://issues.apache.org/ ? No. There is no bug here

Re: EL Resolver throws InvocationTargetException (char-long conversation)

2012-06-11 Thread burghard.britzke
But it for in common the El-Resolver should be able to convert the 'w' into a java.lang.Long in this case. May be this is an issue with Tomcat 7.0.27? Should somebody (may be I) file this at https://issues.apache.org/ ? Sincerly, burghard.britzke Am 11.06.2012 um 11:22 schrieb burghard.britzke:

Re: EL Resolver throws InvocationTargetException (char-long conversation)

2012-06-11 Thread burghard.britzke
Thank you! your tip did it. I changed the property type to string because 119 is more ambigous than 'w' in this case. Sincerly, burghard.britzke Am 11.06.2012 um 09:58 schrieb Konstantin Kolinko: > 2012/6/11 burghard.britzke : >> with tomcat 7.0.27, primefaces 3.3, myfaces 2.1.17, weld 1.1.8 >>

Re: EL Resolver throws InvocationTargetException (char-long conversation)

2012-06-11 Thread Konstantin Kolinko
2012/6/11 burghard.britzke : > with tomcat 7.0.27, primefaces 3.3, myfaces 2.1.17, weld 1.1.8 > > for the jsf-source > Line 56: Line 57:    value="/images/#{personenBean.aktuellePerson.geschlecht eq 'w' ? > 'fe':''}male.png"> > Line 58: > > and the bean > public class Person implements Serializa

RE: Removing Ref to YourKit in TC

2012-06-11 Thread Casper Wandahl Schmidt
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 10. juni 2012 22:51 To: Tomcat Users List Subject: Re: Removing Ref to YourKit in TC André Warnier wrote: > Jerry Malcolm wrote: >> Thanks, Kostantin, for the pointer. The fix was trivial. Open >> Regedit, search for