Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-16 Thread Pid
On 15/05/2012 23:32, Miguel González Castaños wrote: On 15/05/2012 17:22, André Warnier wrote: Vickie Troy-McKoy wrote: ... Thank you Andre for your help. After I configured it as you specified, the behavior was the same as before I inquired on this forum. Well, it doesn't sound as if we

Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-16 Thread Miguel Gonzalez
Well, I thought It was somehow related, trying to make sense of having two instances of Tomcat in the same machine and when this kind of setup is applicable (like the one I'm suggesting). Miguel De: Pid p...@pidster.com Para: Tomcat Users List

Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-16 Thread Pid
On 16/05/2012 10:10, Miguel Gonzalez wrote: Well, I thought It was somehow related, trying to make sense of having two instances of Tomcat in the same machine and when this kind of setup is applicable (like the one I'm suggesting). Not really, no. p

two instances of Tomcat in same machine

2012-05-16 Thread Miguel Gonzalez
Just wondering. With a 64 bits OS, how much RAM can you handle in a JVMand therefore with each instance of Tomcat? For a 12 Gb of RAM machine, it would be wise if you want to have this kind of setup (Apache and two Tomcat instances in the same machine) if you need more than 400-500

Re: two instances of Tomcat in same machine

2012-05-16 Thread André Warnier
Miguel Gonzalez wrote: Just wondering. With a 64 bits OS, how much RAM can you handle in a JVMand therefore with each instance of Tomcat? For a 12 Gb of RAM machine, it would be wise if you want to have this kind of setup (Apache and two Tomcat instances in the same machine) if you need more

Re: two instances of Tomcat in same machine

2012-05-16 Thread Miguel Gonzalez
there wasn't a limit of 32 bits OS for running JVM for more than 1.5 Gb? Regards, Miguel De: André Warnier a...@ice-sa.com Para: Tomcat Users List users@tomcat.apache.org Enviado: Miércoles 16 de Mayo de 2012 11:50 Asunto: Re: two instances of Tomcat in same

Where can I find slow query log produced by tomcat-jdbc?

2012-05-16 Thread Vladimir Dymikha
Pool works nice, but I get empty logs/pool.2012-04-06.log No debug messages, no slow query's. Configuration below --- datasource.xml: bean id=dataSourceOnline class=org.apache.tomcat.jdbc.pool.DataSource destroy-method=close

tomcat slowing down

2012-05-16 Thread Christian Kaufhold
Hi, we have the problem that tomact is slowing down after a while until even the manager app becomes unusable. Our System: 2 Quadcores/24 GB Mem OpenSuse 11.4 tomcat 6.0.29 wicket/hibernate/postgres Max Memory and total Memory 2GB Free Momory 500 MB when the system is slow top shows 100 CPU

Re: tomcat slowing down

2012-05-16 Thread Mikolaj Rydzewski
On 16.05.2012 14:49, Christian Kaufhold wrote: What can we do to analyse the problem? Make a thread dump (kill -3 jvm pid). Information usually will be written to catalina.out. You can use jvisualvm tool to capture threads, memory snapshots, etc. -- Mikolaj Rydzewski m...@ceti.pl

Re: tomcat slowing down

2012-05-16 Thread Daniel Mikusa
- Original Message - Hi, we have the problem that tomact is slowing down after a while until even the manager app becomes unusable. Our System: 2 Quadcores/24 GB Mem OpenSuse 11.4 tomcat 6.0.29 wicket/hibernate/postgres Max Memory and total Memory 2GB Free Momory 500 MB

RE: tomcat slowing down

2012-05-16 Thread Caldarale, Charles R
From: Christian Kaufhold [mailto:kaufhol...@googlemail.com] Subject: tomcat slowing down What can we do to analyse the problem? Start by taking a thread dump to find out what's going on inside the JVM.

Re: two instances of Tomcat in same machine

2012-05-16 Thread André Warnier
Miguel Gonzalez wrote: there wasn't a limit of 32 bits OS for running JVM for more than 1.5 Gb? Not exactly. I'm not sure that my knowledge is totally accurate here, but here is my take on it : - a 32 bit OS generally means that the total address space available to *a process* running at

RE: two instances of Tomcat in same machine

2012-05-16 Thread Caldarale, Charles R
From: Miguel Gonzalez [mailto:miguel_3_gonza...@yahoo.es] Subject: Re: two instances of Tomcat in same machine there wasn't a limit of 32 bits OS for running JVM for more than 1.5 Gb? Yes, there is a limit on heap size for 32-bit JVMs and it's usually around 1.5 GB depending on the OS.

Re: two instances of Tomcat in same machine

2012-05-16 Thread Jess Holle
On Windows 32-bit JVMs are often limited to less than 1.3GB of heap due to fragmentation of the 32-bit address space. Sometimes one cannot even get 1GB of heap! For any hefty server process on Windows you really want a 64-bit JVM for this reason. On other OS's one can often allocate much

Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 5/15/12 6:07 PM, Pid wrote: On 15/05/2012 16:16, Christopher Schultz wrote: Vickie, (Bringing this back on-list). On 5/15/12 10:21 AM, Vickie Troy-McKoy wrote: Date: Tue, 15 May 2012 10:04:33 -0400 From:

Re: Where can I find slow query log produced by tomcat-jdbc?

2012-05-16 Thread Vladimir Dymikha
Ok, after upgrade to 7.0.27 I can see in catalina.out May 16, 2012 6:29:13 PM org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport reportSlowQuery WARNING: Slow Query Report SQL=/* named HQL query HotelView.findPriceById */ select minspohote0_.HOTEL as HOTEL27_, minspohote0_.ID_CITY_DEP as

Re: tomcat slowing down

2012-05-16 Thread Mikolaj Rydzewski
On 16.05.2012 16:46, Christian Kaufhold wrote: I made a thread dump off the slow server. You need to investigate it with application developers. Examine all threads and confirm whether application behaves correctly or not. It looks you have some ajax requests - maybe they are executed to

Re: tomcat slowing down

2012-05-16 Thread André Warnier
Mikolaj Rydzewski wrote: On 16.05.2012 16:46, Christian Kaufhold wrote: I made a thread dump off the slow server. You need to investigate it with application developers. Examine all threads and confirm whether application behaves correctly or not. It looks you have some ajax requests

Re: tomcat slowing down

2012-05-16 Thread Mikolaj Rydzewski
On 16.05.2012 17:11, André Warnier wrote: Mikolaj Rydzewski wrote: It looks you have some ajax requests Just curious : how do you see that from the OP's stack trace ? Just a guess, maybe I'm wrong: org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180) at

Re: two instances of Tomcat in same machine

2012-05-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/16/12 5:50 AM, André Warnier wrote: Nobody can answer that question in the absolute. It all depends on how much memory your Tomcat instances really need (Really, your webapps, not Tomcat). to run the applications you put it them, for

Re: tomcat slowing down

2012-05-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 5/16/12 11:00 AM, Mikolaj Rydzewski wrote: On 16.05.2012 16:46, Christian Kaufhold wrote: I made a thread dump off the slow server. You need to investigate it with application developers. +1 I did notice some of the threads

Re: tomcat slowing down

2012-05-16 Thread Christian Kaufhold
Hi Christopher, its not intentional but the myfaces App runs on the server for years now and should not cause the problem I recently deployed a wicket app and now the server is slowing down when we have about 10 users or so. I have no idea of whats going on... 2012/5/16 Christopher Schultz

Re: [OT] tomcat slowing down

2012-05-16 Thread André Warnier
Mikolaj Rydzewski wrote: On 16.05.2012 17:11, André Warnier wrote: Mikolaj Rydzewski wrote: It looks you have some ajax requests Just curious : how do you see that from the OP's stack trace ? Just a guess, maybe I'm wrong:

Re: tomcat slowing down

2012-05-16 Thread André Warnier
Christian Kaufhold wrote: Hi Christopher, its not intentional but the myfaces App runs on the server for years now and should not cause the problem I recently deployed a wicket app and now the server is slowing down when we have about 10 users or so. I have no idea of whats going on...

Fwd: mod_jk binary

2012-05-16 Thread chris derham
Steffen from apache lounge asked me to forward this to tomcat mailing list Chris -- Forwarded message -- From: Steffen i...@apachelounge.com Date: Wed, May 16, 2012 at 12:10 PM Subject: Re: mod_jk binary Chris, Made 1.2.36 Apache 2.4 Win32/Win64 available. Maybe you can say

RE: [OT] tomcat slowing down

2012-05-16 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] tomcat slowing down I always thought that Ajax was purely a client-side thing It may be so in this case as well - the stack traces include use of HttpClient, so the webapp may actually be hung up waiting on some external

Re: tomcat slowing down

2012-05-16 Thread Pid
On 16/05/2012 16:50, André Warnier wrote: Christian Kaufhold wrote: Hi Christopher, its not intentional but the myfaces App runs on the server for years now and should not cause the problem I recently deployed a wicket app and now the server is slowing down when we have about 10 users or

Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-16 Thread Pid
On 16/05/2012 14:32, Christopher Schultz wrote: Pid, On 5/15/12 6:07 PM, Pid wrote: On 15/05/2012 16:16, Christopher Schultz wrote: Vickie, (Bringing this back on-list). On 5/15/12 10:21 AM, Vickie Troy-McKoy wrote: Date: Tue, 15 May 2012 10:04:33 -0400 From:

Re: Fwd: mod_jk binary 1.2.36 Apache 2.4 Win32/Win64

2012-05-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Adjusting the subject for better searchability in the archives. Also adding a link: http://www.apachelounge.com/download/ - -chris On 5/16/12 11:52 AM, chris derham wrote: Steffen from apache lounge asked me to forward this to tomcat

Re: [OT] tomcat slowing down

2012-05-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/16/12 11:43 AM, André Warnier wrote: Oh. I always thought that Ajax was purely a client-side thing (Asynchronous Javascript etc..). Maybe this is only a name coincidence ? There are libraries that make accepting Ajax requests easier

Re: [OT] tomcat slowing down

2012-05-16 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/16/12 11:43 AM, André Warnier wrote: Oh. I always thought that Ajax was purely a client-side thing (Asynchronous Javascript etc..). Maybe this is only a name coincidence ? There are libraries that make

Re: [OT] tomcat slowing down

2012-05-16 Thread Pid
On 16/05/2012 18:01, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/16/12 11:43 AM, André Warnier wrote: Oh. I always thought that Ajax was purely a client-side thing (Asynchronous Javascript etc..). Maybe this is only a name

RE: [OT] tomcat slowing down

2012-05-16 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: [OT] tomcat slowing down I was looking at Wicket in Wikipedia, That sir, is because you are not an Englishman. However, I can assure you, that we are very familiar with the wicket. What ho'! Howzat? - Chuck THIS COMMUNICATION MAY

Re: [OT] tomcat slowing down

2012-05-16 Thread André Warnier
Pid wrote: On 16/05/2012 18:01, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/16/12 11:43 AM, André Warnier wrote: Oh. I always thought that Ajax was purely a client-side thing (Asynchronous Javascript etc..). Maybe this is only a

Re: Tomcat dies suddenly

2012-05-16 Thread slayer12
I was facing a problem with similar symptoms - Tomcat 7 (on centos 5, 64 bit, 12 GB RAM) was crashing without anything being logged in catalina.out In case of JVM crash, there is supposed to be some hs_err_pid.log file but that was also not getting generated. Neither were there any OutOfMemory

Re: Tomcat dies suddenly

2012-05-16 Thread Carl Kabbe
Interesting and thanks for your response. We switched back to VM version 1.6.0_07 (64 bit on Slackware) and everything was fine. For several unrelated reasons, we switched to Tomcat version 6.0.35 and JVM (Oracle) version 1.6.0_16 and all has been fine for a month or so. The cause remains

Re: Tomcat 7.0.27 websocket cluster

2012-05-16 Thread Mark Thomas
On 16/05/2012 18:31, Ronaldo Rigoni ... wrote: Hello all, I've a little question about the websocket implementation available in Apache Tomcat 7.0.27. There is a way to cluster an websocket application working with a session replication feature? There would be little point since at present

Re: Tomcat 7.0.27 websocket cluster

2012-05-16 Thread Peter Roßbach
Currently we don't support it, but I read the Websocket spec that a client can send Auth and Cookie header! Peter Am 16.05.2012 um 20:21 schrieb Mark Thomas: On 16/05/2012 18:31, Ronaldo Rigoni ... wrote: Hello all, I've a little question about the websocket implementation available in

Re: Tomcat 7.0.27 websocket cluster

2012-05-16 Thread Ronaldo Rigoni ...
Thanks Peter and Mark! The current implementation is a tunnel over http or another socket open? I'm planning to port a webgame to tomcat, comunicationg with websockets. But, the absence of a session or context turns a little bit hard to work to. Many thanks. []'s, Ronaldo Rigoni Arquiteto de

Re: Tomcat 7.0.27 websocket cluster

2012-05-16 Thread Mark Thomas
On 16/05/2012 19:34, Ronaldo Rigoni ... wrote: Thanks Peter and Mark! The current implementation is a tunnel over http or another socket open? I'm planning to port a webgame to tomcat, comunicationg with websockets. But, the absence of a session or context turns a little bit hard to work to.

Re: tomcat slowing down

2012-05-16 Thread Mikolaj Rydzewski
On 05/16/2012 05:35 PM, Christian Kaufhold wrote: its not intentional but the myfaces App runs on the server for years now and should not cause the problem I recently deployed a wicket app and now the server is slowing down when we have about 10 users or so. So there are two different

Fwd: Tomcat 7.0.27 websocket cluster

2012-05-16 Thread Ronaldo Rigoni ...
Hello, And, are the websocket clustering planned for future releases? Regards []'s, Ronaldo Rigoni Arquiteto de Software -- Forwarded message -- From: Mark Thomas ma...@apache.org Date: Wed, May 16, 2012 at 3:44 PM Subject: Re: Tomcat 7.0.27 websocket cluster To: Tomcat Users

Re: tomcat slowing down

2012-05-16 Thread Warren Bell
A Wicket app that is not written correctly can suck up resources. Wicket keeps track of pages a user has been on by serializing them, back button support. If a page has references to other objects, it serializes them and so on and so on. It can get real ugly real quick. Wicket has many built-in

Re: tomcat slowing down

2012-05-16 Thread Warren Bell
Here is a good link explaining some of the pros and cons of Wicket. Look at the part titled Wicket Session size! http://www.small-improvements.com/10-things-about-apache-wicket-i-love Thanks, Warren Bell On 5/16/12 12:49 PM, Mikolaj Rydzewski wrote: On 05/16/2012 05:35 PM, Christian Kaufhold

[ANN] Apache Tomcat Connectors 1.2.35 released

2012-05-16 Thread Mladen Turk
The Apache Tomcat Project is proud to announce the release of version 1.2.36 of Apache Tomcat Connectors. This version fixes few bugs found in 1.2.35 release. Full details of these changes and new features, are available in the Apache Tomcat Connectors changelog:

Re: [ANN] Apache Tomcat Connectors 1.2.35 released

2012-05-16 Thread Harsimranjit singh Kler
Hi Its release of version 1.2.36 but mail subject mention as 1.2.35. So there was little confusion when first time checked mail. On Thu, May 17, 2012 at 9:50 AM, Mladen Turk mt...@apache.org wrote: The Apache Tomcat Project is proud to announce the release of version 1.2.36 of Apache

Re: [ANN] Apache Tomcat Connectors 1.2.35 released

2012-05-16 Thread Mladen Turk
On 05/17/2012 07:19 AM, Harsimranjit singh Kler wrote: Hi Its release of version 1.2.36 but mail subject mention as 1.2.35. So there was little confusion when first time checked mail. Yeah, sorry for the typo. Regards -- ^TM