Re: tomcat jmx disabled by default ?

2013-04-08 Thread Rainer Frey
On 07.04.2013, at 11:58, Jakub 1983 jjaku...@gmail.com wrote: why do I have to enable jmx with command *set CATALINA_OPTS=-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=%my.jmx.port% \ -Dcom.sun.management.jmxremote.ssl=false \

Tomcat JDBC Pooling - Connections

2013-04-08 Thread Madan KN
*Hi All,* Currently we are using tomcat jdbc pooling for oracle 11g R12. The problem we are facing is during the peak traffic (less than %2) of time the connections spike up to more than 100 sessions never comes back to the normal / desired pool size. Due to the connections are returned either

Re: websockets holding on to threads.

2013-04-08 Thread Anton Piatek1
Howard W. Smith, Jr. smithh032...@gmail.com wrote on 05/04/2013 21:22:33: On Fri, Apr 5, 2013 at 9:07 AM, Anton Piatek1 anton.pia...@uk.ibm.comwrote: I am seeing what at first appears to be a bug, but given the lack of other reports I can't believe I am the only person seeing this, so

Using websocket with Tomcat 7.0.37

2013-04-08 Thread eric . robert . c
Hi all ! I would like to use web socket, and I started looking to do so with tomcat API. I'm currently using Tomcat 7.0.37 on Windows Seven, integrated in Eclipse Juno. I tried to follow the example code from tomcat documentation, and read the associated JavaDoc for package

Re: Using websocket with Tomcat 7.0.37

2013-04-08 Thread Muralidhar Yaragalla
See if you are following the examples shown on tomcat7.0 docs then you are wasting time. The JSR is not yet implemented in tomcat but the examples shown are according to JSR that is currently open. Tomcat7.0 has a propitiatory solution for websockets. if you want to use websockets study the

Re: tomcat jmx disabled by default ?

2013-04-08 Thread Jakub 1983
The problem is solved, It was caused by running jconsole with different version of java than Tomcat. Neven, thx again for suggestions and help. Regards, Jakub On Mon, Apr 8, 2013 at 7:49 AM, Zdeněk Henek vrab...@gmail.com wrote: Hi Jakub, do you have running Tomcat and JConsole as same

Re: Using websocket with Tomcat 7.0.37

2013-04-08 Thread Howard W. Smith, Jr.
On Mon, Apr 8, 2013 at 7:01 AM, Muralidhar Yaragalla java.yaraga...@gmail.com wrote: See if you are following the examples shown on tomcat7.0 docs then you are wasting time. The JSR is not yet implemented in tomcat but the examples shown are according to JSR that is currently open. Tomcat7.0

RE: websockets holding on to threads.

2013-04-08 Thread Caldarale, Charles R
From: Anton Piatek1 [mailto:anton.pia...@uk.ibm.com] Subject: Re: websockets holding on to threads. My thinking about it being a bug is that to support N clients with websockets, you need N threads available on tomcat, even though they are only getting updates every x seconds. I don't

Re: Tomcat JDBC Pooling - Connections

2013-04-08 Thread Daniel Mikusa
On Apr 8, 2013, at 3:23 AM, Madan KN wrote: *Hi All,* Currently we are using tomcat jdbc pooling for oracle 11g R12. What version of Tomcat are you using? If you are using the pool directly outside of Tomcat, what version of it are you using? The problem we are facing is during the peak

Re: websockets holding on to threads.

2013-04-08 Thread Howard W. Smith, Jr.
On Mon, Apr 8, 2013 at 4:05 AM, Anton Piatek1 anton.pia...@uk.ibm.comwrote: Multiple tabs/windows is one thing, but multiple clients are just as big a problem. Not a problem or a concern in my web app. Endusers are trained to use the web app in 'one' browser tab/window 'per device'; every

Re: websockets holding on to threads.

2013-04-08 Thread Howard W. Smith, Jr.
On Mon, Apr 8, 2013 at 8:30 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Anton Piatek1 [mailto:anton.pia...@uk.ibm.com] Subject: Re: websockets holding on to threads. My thinking about it being a bug is that to support N clients with websockets, you need N threads

RE: websockets holding on to threads.

2013-04-08 Thread Anton Piatek1
Caldarale, Charles R chuck.caldar...@unisys.com wrote on 08/04/2013 13:30:00: From: Caldarale, Charles R chuck.caldar...@unisys.com From: Anton Piatek1 [mailto:anton.pia...@uk.ibm.com] My thinking about it being a bug is that to support N clients with websockets, you need N threads

RE: Tomcat7 - ajax and connection pool : connection closed despite the use of validationQuery and testOnBorrow

2013-04-08 Thread Propes, Barry L
OK, thank you, Jose! Good to know if I ever go the MySQL route. -Original Message- From: Jose María Zaragoza [mailto:demablo...@gmail.com] Sent: Friday, April 05, 2013 5:07 PM To: Tomcat Users List Subject: Re: Tomcat7 - ajax and connection pool : connection closed despite the use of

Re: Tomcat JDBC Pooling - Connections

2013-04-08 Thread Madan KN
# 99% percent of the time we do have need for 200 active sessions across our application cluster. But due to some high spikes we end up with 2000 sessions which is ending up in the pool with out getting evicted.* * # I think once the application is out of peak the connections are returned in

Re: Tomcat JDBC Pooling - Connections

2013-04-08 Thread Daniel Mikusa
On Apr 8, 2013, at 10:28 AM, Madan KN wrote: # 99% percent of the time we do have need for 200 active sessions across our application cluster. But due to some high spikes we end up with 2000 sessions which is ending up in the pool with out getting evicted.* * # I think once the application

Re: Tomcat JDBC Pooling - Connections

2013-04-08 Thread Jose María Zaragoza
Hi: But I can see that you aren't using Tomcat JDBC pool, but oracle.jdbc.pool. OracleDataSource , right ? And I don't know how you set up your datasource to more than 200 maxActive connections Indeed, I don't know how you define the size of connection pool Regards 2013/4/8 Madan KN

RE: Tomcat JDBC Pooling - Connections

2013-04-08 Thread Jeffrey Janner
-Original Message- From: Madan KN [mailto:madan...@gmail.com] Sent: Monday, April 08, 2013 9:29 AM To: Tomcat Users List Subject: Re: Tomcat JDBC Pooling - Connections # 99% percent of the time we do have need for 200 active sessions across our application cluster. But due to some

Inno Setup Script?

2013-04-08 Thread James Green
I have a need to distribute an application that works inside Tomcat to a number of customers. I can build an Inno Setup script to most of the work, but rather than re-inventing what looks like quite a complex wheel, has anyone build an installer script for Tomcat already that they could share?

Re: Inno Setup Script?

2013-04-08 Thread Konstantin Kolinko
2013/4/8 James Green james.mk.gr...@gmail.com: I have a need to distribute an application that works inside Tomcat to a number of customers. I can build an Inno Setup script to most of the work, but rather than re-inventing what looks like quite a complex wheel, has anyone build an installer

Re: websockets holding on to threads.

2013-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 4/8/13 8:30 AM, Caldarale, Charles R wrote: From: Anton Piatek1 [mailto:anton.pia...@uk.ibm.com] Subject: Re: websockets holding on to threads. My thinking about it being a bug is that to support N clients with websockets, you need

Tomcat form auth not using filters

2013-04-08 Thread Sergio Vieira Rolanski
Hello, Using Java 6, Apache Tomcat 7.0.34, Mojarra 2.1.19 and PrimeFaces 3.5 I set up my application to use forms auth and it is working, but I have a problem when the session expires. I'm not sure what Tomcat does when the session expires to render (or redirect) the login page instead of

Re: Using websocket with Tomcat 7.0.37

2013-04-08 Thread eric . robert . c
- Mail original - De: Howard W. Smith, Jr. smithh032...@gmail.com À: Tomcat Users List users@tomcat.apache.org Envoyé: Lundi 8 Avril 2013 14:19:50 Objet: Re: Using websocket with Tomcat 7.0.37 On Mon, Apr 8, 2013 at 7:01 AM, Muralidhar Yaragalla java.yaraga...@gmail.com wrote:

Re: Tomcat form auth not using filters

2013-04-08 Thread Konstantin Kolinko
2013/4/8 Sergio Vieira Rolanski ser...@strategos.com.br: Hello, Using Java 6, Apache Tomcat 7.0.34, Mojarra 2.1.19 and PrimeFaces 3.5 I set up my application to use forms auth and it is working, but I have a problem when the session expires. I'm not sure what Tomcat does when the session

Re: Tomcat form auth not using filters

2013-04-08 Thread Sergio Vieira Rolanski
Thansk for the reply, Let me try to be clear on this matter: I try open the address http://localhost:8084/MyApplication; (or any other protected address/page) and I'm not logged in (I have never logged in or the session is expired) Tomcat should show me the login page

Re: Tomcat form auth not using filters

2013-04-08 Thread Konstantin Kolinko
2013/4/9 Sergio Vieira Rolanski ser...@strategos.com.br: Thansk for the reply, Let me try to be clear on this matter: I try open the address http://localhost:8084/MyApplication; (or any other protected address/page) and I'm not logged in (I have never logged in or the session is expired)

Re: Tomcat form auth not using filters

2013-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 4/8/13 4:58 PM, Konstantin Kolinko wrote: 2013/4/9 Sergio Vieira Rolanski ser...@strategos.com.br: Thansk for the reply, Let me try to be clear on this matter: I try open the address http://localhost:8084/MyApplication; (or

RE: Better SSL connector setup

2013-04-08 Thread Martin Gainty
Identification of keys and supported ciphers are an important for Key Exchange But before that happensThe certificates attributes are the only means the CA-Authority can verify the the name in the cert The certificate attributes should contain 1)1 and only 1 Hostname to contact 2)Identification

Re: Better SSL connector setup

2013-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 4/8/13 8:25 PM, Martin Gainty wrote: Identification of keys and supported ciphers are an important for Key Exchange But before that happensThe certificates attributes are the only means the CA-Authority can verify the the name in the