Re: tomcat slowing down

2012-05-16 Thread Christian Kaufhold
Hi Mikolaj, thanks I will do that, do you know a free tool to generate request for the simulation of about 30 clients being connected? Am 16.05.2012 um 21:49 schrieb Mikolaj Rydzewski: > On 05/16/2012 05:35 PM, Christian Kaufhold wrote: >> its not intentional but the myfaces App runs on the ser

Re: aliases attribute tomcat7

2012-05-16 Thread Michael Ravits
Hey Pidster, This is the tag I've used: It could have been a permissions problem but I gather that if docBase works, this must work as well permission wise. Thanks, Michael 2012/5/17, Pid : > On 17/05/2012 06:41, Michael Ravits wrote: >> Hi Everybody, >> >> I just can't get this to work. >> I

Re: aliases attribute tomcat7

2012-05-16 Thread Pid
On 17/05/2012 06:41, Michael Ravits wrote: > Hi Everybody, > > I just can't get this to work. > Installed Tomcat 7.0.21 on ubuntu 11 using apt-get. > I deployed ROOT.war and then went on to configure aliases. > Tried adding the attribute in: Obvious question: what exactly did you try? p > $CAT

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 -

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 wrote: > The Apache Tomcat Project is proud to announce the release of version > 1.2.36 > of Apache Tomcat Connector

[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: http://tomcat.apache.org/connecto

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 Kaufhol

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

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 Date: Wed, May 16, 2012 at 3:44 PM Subject: Re: Tomcat 7.0.27 websocket cluster To: Tomcat Users List On 16/05

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 applicat

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

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 Soft

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 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 prese

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 u

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 mess

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 n

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

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 i

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 acce

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 easie

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 > maili

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: 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

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 resou

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 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 it on the Tomcat user l

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... Well..

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: org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot

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: 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 thread

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, f

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: 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 Just

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 oft

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 I

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: ch...@chr

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 mo

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. T

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: 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. http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_

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 Mom

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 ). Information usually will be written to catalina.out. You can use jvisualvm tool to capture threads, memory snapshots, etc. -- Mikolaj Rydzewski

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 usag

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: --- ${catalina.home}/conf/logging.properties: handler

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 Para: Tomcat Users List Enviado: Miércoles 16 de Mayo de 2012 11:50 Asunto: Re: two instances of Tomcat in same machine Miguel Gonzalez wrote: > Just

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

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 concurrent

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 > __

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 Para: Tomcat Users List Enviado: Miércoles 16 de Ma

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