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

2012-06-12 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 upgrade

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

2012-06-12 Thread Martin Knoblauch
On Tue, Jun 12, 2012 at 7:59 AM, Caldarale, Charles R chuck.caldar...@unisys.com 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

Re: HttpOnly

2012-06-12 Thread Pid *
On 12 Jun 2012, at 05:58, N.s.Karthik nskarthi...@gmail.com 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. That's a really old version, I'd be more worried about the slew

Re: HttpOnly

2012-06-12 Thread Konstantin Kolinko
2012/6/12 N.s.Karthik nskarthi...@gmail.com: 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

RE: HttpOnly

2012-06-12 Thread Caldarale, Charles R
From: N.s.Karthik [mailto:nskarthi...@gmail.com] Subject: HttpOnly Tomcat 6.0.10 For some specific Reason We use Tomcat 6.0.10 for Dev/Deploy in INTRANET. Sorry, but there is simply no excuse for using a version of Tomcat that's over five years old. Note that the value of the useHttpOnly

Re: Connectors: Using JK_ROUTE env var with disabled worker in load balancer

2012-06-12 Thread Rainer Jung
On 09.06.2012 09:24, Ruslan Gainutdinov wrote: Hello! I am trying to use JK_ROUTE to forward all traffic to some worker which are disabled. Disabled workers does not allow new sessions, but I think if I set it explicitly, it should be used? SetEnvIf Remote_Addr 10\.0\.0\.1 JK_ROUTE=SERVER-5

Re: Java process killed by oom-killer in Ubuntu

2012-06-12 Thread Pid
On 11/06/2012 20:15, Christopher Schultz wrote: 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

iis not looking for jsp in tomcat webapps folder

2012-06-12 Thread Vijaya
Hi All, After a long time I am having a problem that I cannot explain why is it happening. Help will be very much appreciated. Our portal www.eservicebazaar.com was working okay till last week. Suddenly we had the anti virus software, and link problem and after that the portal is not working

Re: Tomcat pausing and no java process

2012-06-12 Thread Miguel González Castaños
On 07/05/2012 23:13, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/5/12 5:41 AM, Miguel González Castaños wrote: Yes, I have pinpointed several queries that took quite long and specially subqueries. I forwarded this info to the developer but she said it

Re: iis not looking for jsp in tomcat webapps folder

2012-06-12 Thread André Warnier
Vijaya wrote: Hi All, After a long time I am having a problem that I cannot explain why is it happening. Help will be very much appreciated. Our portal www.eservicebazaar.com was working okay till last week. Suddenly we had the anti virus software, and link problem and after that the portal

FW: Quartz falling down on database restart

2012-06-12 Thread Stein, Eric
Sorry if this is a duplicate .. my email server was acting up yesterday so I don't know if this went through. Eric -Original Message- From: Stein, Eric Sent: Monday, June 11, 2012 4:58 PM To: users@tomcat.apache.org Subject: Quartz falling down on database restart I'm running a Quartz

Re: HttpOnly

2012-06-12 Thread Paul Singleton
On 12/06/2012 06:57, Caldarale, Charles R wrote: From: N.s.Karthik [mailto:nskarthi...@gmail.com] Subject: HttpOnly Tomcat 6.0.10 For some specific Reason We use Tomcat 6.0.10 for Dev/Deploy in INTRANET. Sorry, but there is simply no excuse for using a version of Tomcat that's over five

RE: Quartz falling down on database restart

2012-06-12 Thread Hedrick, Brooke - 43
-Original Message- From: Stein, Eric [mailto:ste...@locustec.com] Sent: Tuesday, June 12, 2012 7:25 AM To: users@tomcat.apache.org Subject: FW: Quartz falling down on database restart Sorry if this is a duplicate .. my email server was acting up yesterday so I don't know if

RE: Quartz falling down on database restart

2012-06-12 Thread Stein, Eric
I don't explicitly set testOnBorrow, and it defaults to true. I did just notice, however, that I'm using org.apache.tomcat.jdbc.pool.DataSourceFactory. Is that valid for Tomcat 6.0.33? I'm going to try changing Tomcat to use DBCP and see if that helps. Eric -Original Message- From:

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

2012-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 6/12/12 1:54 AM, Martin Knoblauch wrote: On Mon, Jun 11, 2012 at 10:37 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Dharamshila Khandelwal [mailto:dharmshil...@gmail.com] Subject: Re: Tomcat uses 99% of CPU -

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

2012-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dharamshila, On 6/11/12 4:29 PM, Dharamshila Khandelwal wrote: Hi Konstantin, I cannot upgrade Tomcat because we upgraded last year. How about a point-release upgrade from 6.0.32 to 6.0.35? 6.0.32 contains a well-publicized and

Re: Java process killed by oom-killer in Ubuntu

2012-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 6/12/12 5:47 AM, Pid wrote: On 11/06/2012 20:15, Christopher Schultz wrote: Also, your previously-posted configuration seems a little insane: Xms6g -Xmx6g -XX:NewSize=4G -XX:MaxNewSize=4G -XX:SurvivorRatio=6 -XX:MaxPermSize=512M

Re: HttpOnly

2012-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 6/12/12 9:03 AM, Paul Singleton wrote: On 12/06/2012 06:57, Caldarale, Charles R wrote: From: N.s.Karthik [mailto:nskarthi...@gmail.com] Subject: HttpOnly Tomcat 6.0.10 For some specific Reason We use Tomcat 6.0.10 for Dev/Deploy

Re: Quartz falling down on database restart

2012-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 6/12/12 9:27 AM, Stein, Eric wrote: I don't explicitly set testOnBorrow, and it defaults to true. I did just notice, however, that I'm using org.apache.tomcat.jdbc.pool.DataSourceFactory. Is that valid for Tomcat 6.0.33? I'm going to

post redirect get to the same tomcat instance in a tomcat cluster ?

2012-06-12 Thread Albert Kam
Hi all ! Is it possible to do POST submit to the tomcat-A, redirect happens, and then GET to the same tomcat-A again in a tomcat cluster ? And, in hope to make things easier, all the tomcat servers in the cluster are stateless wihout any sessions This needs arise because each tomcat servers will

Re: Map domain names to different paths of a single webapp ?

2012-06-12 Thread André Warnier
Albert Kam wrote: Dear Tomcat Users ! Let's say that i have this simple webapp using Tomcat 7, and let's say the context name is albertzoo http://albertzoo.com albertzoo is not the context here, it's a Host. If you want that application to respond to the URL http://albertzoo.com/; (thus the

[OT] Observer pattern?

2012-06-12 Thread Leo Donahue - PLANDEVX
Could someone point me in the right direction. If three different web applications all rely on knowing when a piece of data changes, how does webapp #1 who makes the update, notify webapp #2 and webapp #3 that they need to make a request to update their view? For example: User of webapp #1

URL Rewriting

2012-06-12 Thread Kiran Badi
Hi All, For some of the functionality, I have url in the below format http://localhost:8080/mysite/getmyservice.do?id=17 What I was looking for is to hide the id part of the url and just show something like http://localhost:8080/mysite/getmyservice.do# Is this hack possible with tomcat

Re: URL Rewriting

2012-06-12 Thread Oguz Kologlu
There is a handy URL rewrite filter already built. http://www.tuckey.org/urlrewrite/ You can hide the ID if you post the form but you need to be a bit more specific with what you want to do Oz On 13/06/2012, at 1:21 PM, Kiran Badi wrote: Hi All, For some of the functionality, I have url

Re: Map domain names to different paths of a single webapp ?

2012-06-12 Thread Albert Kam
I have checked the tuckey urlRewriter, and it seems cool, but doesnt seem to fit my needs. Anyway, you warnings make a lot of sense to me, so thanks there ! On Wed, Jun 13, 2012 at 2:29 AM, André Warnier a...@ice-sa.com wrote: Albert Kam wrote: Dear Tomcat Users ! Let's say that i have this

Re: Map domain names to different paths of a single webapp ?

2012-06-12 Thread Oguz Kologlu
You can do this but not in Tomcat itself. You'll need to use something like Apache web server to handle different sub domain and direct them to Tomcat. If it's only one site running you could use the defaultHost attribute to direct the request when it doesn't find a matching Host element Oz

Re: [OT] Observer pattern?

2012-06-12 Thread Albert Kam
If you are talking about how to notify other webapps, i think you're actually talking about integration between existing applications here, which can be done using RMI (java only and using a specific port), Hessian/Burlap (support several languages + http, but not java serialization) , or even

Re: URL Rewriting

2012-06-12 Thread Kiran Badi
On 6/13/2012 9:18 AM, Oguz Kologlu wrote: There is a handy URL rewrite filter already built. http://www.tuckey.org/urlrewrite/ You can hide the ID if you post the form but you need to be a bit more specific with what you want to do Oz Thanks Oguz, I have bunch of functionalities which are

Re: URL Rewriting

2012-06-12 Thread Oguz Kologlu
Kiren You'll need to pass in the id somehow. Maybe something like: /mysite/service/17 and use the URL rewrite filter to map it to /mysite/getmyservice.do?id=17 Have a look at the doco for more info Should not cause any other issues. Oz On 13/06/2012, at 2:16 PM, Kiran Badi wrote: On