Re: Minor grammar glitch in a Websocket exception message.

2013-12-13 Thread Igor Urisman
Precisamente. On Fri, Dec 13, 2013 at 3:11 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Mark, > > On 12/12/13, 4:43 PM, Mark Thomas wrote: > > On 12/12/2013 06:35, Igor Urisman wrote: > >> As seen in 8.0.0 RC5: > >> > >> j

Re: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49?

2013-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bob, On 12/13/13, 8:12 AM, Bob DeRemer wrote: > Hi Mark (et al), While Mark is one of the most likely to respond, please address your questions only to the community at least at first ;) > We’re seeing really high CPU utilization with just a 1

Re: What if my database is unavailable at startup?

2013-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dan, On 12/13/13, 2:29 PM, Daniel Mikusa wrote: > On Dec 13, 2013, at 2:24 PM, "Dames, Kristopher J" > wrote: > >> Hi, >> >> I use tomcat 6 > > Which version specifically? > >> and have noticed if a database is not available when tomcat >> star

Re: Minor grammar glitch in a Websocket exception message.

2013-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 12/12/13, 4:43 PM, Mark Thomas wrote: > On 12/12/2013 06:35, Igor Urisman wrote: >> As seen in 8.0.0 RC5: >> >> java.lang.IllegalStateException: >> javax.websocket.DeploymentException: Multiple Endpoints may not >> be deployed to using the

RE: What if my database is unavailable at startup?

2013-12-13 Thread Dames, Kristopher J
> can/should we assume that your URL is referencing a database on a different > machine, same network/intranet/LAN? > > > url="jdbc:oracle:thin:@x.y.com:1521:x" > > it seems as though OP is referencing a database somewhere on the 'internet'. The database server is on the same network,

Re: What if my database is unavailable at startup?

2013-12-13 Thread Howard W. Smith, Jr.
OP, On Fri, Dec 13, 2013 at 2:24 PM, Dames, Kristopher J < kristopher.da...@mercy.net> wrote: > I use tomcat 6 and have noticed if a database is not available when tomcat > starts, tomcat will not try to connect once the database becomes available. > Tomcat must be restarted to establish the data

RE: What if my database is unavailable at startup?

2013-12-13 Thread Propes, Barry L
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, December 13, 2013 3:59 PM To: Tomcat Users List Subject: RE: What if my database is unavailable at startup? > From: Propes, Barry L [mailto:barry.l.pro...@citi.com] > Subject: RE: What if my

RE: What if my database is unavailable at startup?

2013-12-13 Thread Propes, Barry L
-Original Message- From: Dames, Kristopher J [mailto:kristopher.da...@mercy.net] Sent: Friday, December 13, 2013 1:39 PM To: Tomcat Users List Subject: RE: What if my database is unavailable at startup? Daniel, I use tomcat 6.0.32. Here is an example Resource tag: I use DBCP and Or

RE: What if my database is unavailable at startup?

2013-12-13 Thread Caldarale, Charles R
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com] > Subject: RE: What if my database is unavailable at startup? > I've never heard of these or seen these attributes either. What are they for? > maxOpenPreparedStatements="0" > accessToUnderlyingConnectionAllowed="false" You could look in

RE: What if my database is unavailable at startup?

2013-12-13 Thread Propes, Barry L
I've never heard of these or seen these attributes either. What are they for? -Original Message- From: Jose María Zaragoza [mailto:demablo...@gmail.com] Sent: Friday, December 13, 2013 2:10 PM To: Tomcat Users List Subject: Re: What if my database is unavailable at startup? With testOnBo

Re: LDPA Authentication Failure

2013-12-13 Thread Phill
Thanks, I have been staring at it for ages. The > is a massive typo. I had the debug as it is included in lots of examples dated 2012+ I will remove it. No wonder the changes I was making seemed to have no effect. Sent from my iPad On 13 Dec 2013, at 16:07, Cédric Couralet wrote: > 2013/12/1

Re: What if my database is unavailable at startup?

2013-12-13 Thread Jose María Zaragoza
2013/12/13 Dames, Kristopher J : >> With testOnBorrow="true" ( I think that is the default value in Tomcat >> 6 ) + validationQuery="SELECT 1 FROM DUAL" , that should work >> > > So you are saying my configuration should work as-is to allow Tomcat to > create a database connection pool to a databa

RE: What if my database is unavailable at startup?

2013-12-13 Thread Dames, Kristopher J
> With testOnBorrow="true" ( I think that is the default value in Tomcat > 6 ) + validationQuery="SELECT 1 FROM DUAL" , that should work > So you are saying my configuration should work as-is to allow Tomcat to create a database connection pool to a database that was unavailable when Tomcat was

Re: What if my database is unavailable at startup?

2013-12-13 Thread Daniel Mikusa
On Dec 13, 2013, at 2:39 PM, "Dames, Kristopher J" wrote: > Daniel, When you reply, please include the previous email and don't top post. Post inline like me or at the bottom. This helps with the readability of this thread and it's the convention that we follow on this list. > > I use tom

Re: What if my database is unavailable at startup?

2013-12-13 Thread Jose María Zaragoza
With testOnBorrow="true" ( I think that is the default value in Tomcat 6 ) + validationQuery="SELECT 1 FROM DUAL" , that should work I've never used maxOpenPreparedStatements="0" accessToUnderlyingConnectionAllowed="false" what are they for ? 2013/12/13 Dames, Kristopher J : > Daniel, > > I

RE: What if my database is unavailable at startup?

2013-12-13 Thread Dames, Kristopher J
Daniel, I use tomcat 6.0.32. Here is an example Resource tag: This email contains information which may be PROPRIETARY IN NATURE OR OTHERWISE PROTECTED BY LAW FROM DISCLOSURE and is intended only for the use of the addresses(s) named above. If you have received this email in error, please c

Re: What if my database is unavailable at startup?

2013-12-13 Thread Daniel Mikusa
On Dec 13, 2013, at 2:24 PM, "Dames, Kristopher J" wrote: > Hi, > > I use tomcat 6 Which version specifically? > and have noticed if a database is not available when tomcat starts, tomcat > will not try to connect once the database becomes available. Tomcat must be > restarted to establish

What if my database is unavailable at startup?

2013-12-13 Thread Dames, Kristopher J
Hi, I use tomcat 6 and have noticed if a database is not available when tomcat starts, tomcat will not try to connect once the database becomes available. Tomcat must be restarted to establish the database connection. What are best practices regarding this? Is there a way in tomcat to get it to

RE: LDPA Authentication Failure

2013-12-13 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: LDPA Authentication Failure > That's because you have : > > ... text ... > > So in fact has one attribute ("className"), but not the other > ones that you thought it has. And while the OP is fixing that, he should also remove th

Re: LDPA Authentication Failure

2013-12-13 Thread André Warnier
Cédric Couralet wrote: ... Is it really the definition that you have in server.xml or is a typo? As it is written, the Realm has no attribute which may explain the localhost in the message (default in JNDI). and Cedric means : > Is it really the definition that you have in server.xml or is a

Re: LDPA Authentication Failure

2013-12-13 Thread Cédric Couralet
2013/12/13 Phill Perryman : > I have set up the following authentication to the ldap server. I can log > into this server using the LdapAdmin browser ok. > > Running 7.0.34 (I think its 34 but I can't bring the server up at the > moment) > > I am getting a stack trace > > Dec 13, 2013 1:56:35 PM or

LDPA Authentication Failure

2013-12-13 Thread Phill Perryman
I have set up the following authentication to the ldap server. I can log into this server using the LdapAdmin browser ok. Running 7.0.34 (I think its 34 but I can't bring the server up at the moment) I am getting a stack trace Dec 13, 2013 1:56:35 PM org.apache.catalina.realm.JNDIRealm open WARN

Re: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49?

2013-12-13 Thread David kerber
On 12/13/2013 8:12 AM, Bob DeRemer wrote: Hi Mark (et al), We’re seeing really high CPU utilization with just a 1000 active websockets that are sending/receiving 100 byte binary messages. The profiling snippet below was with 1000 connections. If we start to increase the number of connections,

high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49?

2013-12-13 Thread Bob DeRemer
Hi Mark (et al), We're seeing really high CPU utilization with just a 1000 active websockets that are sending/receiving 100 byte binary messages. The profiling snippet below was with 1000 connections. If we start to increase the number of connections, the time spent in the NIO logic starts t