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 th

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 in

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

Re: Tomcat form auth not using filters

2013-04-08 Thread Konstantin Kolinko
2013/4/9 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 s

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 (controleAcesso/Login.x

Re: Tomcat form auth not using filters

2013-04-08 Thread Konstantin Kolinko
2013/4/8 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

Re: Using websocket with Tomcat 7.0.37

2013-04-08 Thread eric . robert . c
- Mail original - > De: "Howard W. Smith, Jr." > À: "Tomcat Users List" > 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: > > > See if you are following th

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 th

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

Re: Inno Setup Script?

2013-04-08 Thread Konstantin Kolinko
2013/4/8 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

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? In

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

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 > # 9

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 applic

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 eithe

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: websockets holding on to threads.

2013-04-08 Thread Anton Piatek1
"Caldarale, Charles R" wrote on 08/04/2013 13:30:00: > From: "Caldarale, Charles R" > > 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 available on tomcat, even though they are >

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

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 wrote: > > > 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 now and then, I can

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

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

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

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 wrote: > Hi Jakub, > > do you have running Tomcat and JConsole as same user? > > JMX sho

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 example

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 org.apache.catalina.

Re: websockets holding on to threads.

2013-04-08 Thread Anton Piatek1
"Howard W. Smith, Jr." wrote on 05/04/2013 21:22:33: > On Fri, Apr 5, 2013 at 9:07 AM, Anton Piatek1 wrote: > > > 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 maybe it is > > user-error. > > > > I h

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 i

Re: tomcat jmx disabled by default ?

2013-04-08 Thread Rainer Frey
On 07.04.2013, at 11:58, Jakub 1983 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 \ >-Dcom.sun.management.jmxremote.authenticate=