Re: Tomcat Monitoring - Thread usage - currentThreadCount or currentThreadBusy

2013-08-15 Thread Leon Rosenberg
Hello Vikram, if you are working on a monitoring solution for tomcat I suggest you take a look at moskito: http://www.moskito.org. regards Leon On Thu, Aug 15, 2013 at 3:42 AM, Vikram Jain rahulvi...@gmail.com wrote: Hi Team, I'm Vikram Jain. My first query to Tomcat user group, looking

Exception by upgrading to WebSocket connection in 8.0.0-RC1

2013-08-15 Thread Sergey Shcherbakov
Hello everybody, I am using an embedded Tomcat version 8.0.0-RC1 and trying to setup the WebSocket connection to it. From my browser application using SockJS and Spring 4 MVC on the server I am initiating a websocket session. When establishing connection I see in the server logs the following

Tomcat isn't honoring the accept-language header, manager app shows up in Spanish

2013-08-15 Thread Haszlakiewicz, Eric
I've been having some problems getting Tomcat to show the right language for web pages. I've narrowed it down to what appears to be a problem with how the accept-language header is handled. Specifically, lower preference languages override higher preference ones. Here is the setup that I

Re: Exception by upgrading to WebSocket connection in 8.0.0-RC1

2013-08-15 Thread Mark Thomas
On 15/08/2013 08:41, Sergey Shcherbakov wrote: It looks like I am missing some bit of the Tomcat configuration (to call preInit()?). You shouldn't need to worry about that. Has anybody seen the issue, No. what could be the reason? I suspect that as both Spring 4 and Tomcat 8 are both in

Re: Tomcat isn't honoring the accept-language header, manager app shows up in Spanish

2013-08-15 Thread Mark Thomas
On 15/08/2013 17:08, Haszlakiewicz, Eric wrote: I've been having some problems getting Tomcat to show the right language for web pages. I've narrowed it down to what appears to be a problem with how the accept-language header is handled. Specifically, lower preference languages override

How to gracefully shutdown tomcat7 executable war?

2013-08-15 Thread Olaf Bergner
We are currently experimenting with deploying all of our web-based services as executable wars created by the tomcat7-maven-plugin's exec-war goal. Our deployment format is RPM, so we wrapped this exec-war into some standard linux service and packaged everything as an RPM. So far, we really

Re: How to gracefully shutdown tomcat7 executable war?

2013-08-15 Thread Mark Thomas
On 15/08/2013 17:33, Olaf Bergner wrote: 1. Tried to gracefully shutdown tomcat exec-war by sending its process the SIGINT signal (kill –2 ${tomcatpid}). According to our researches, this should be equivalent to a CTRL-C in the console (which we do not have in production). Alas, tomcat

Re: Exception by upgrading to WebSocket connection in 8.0.0-RC1

2013-08-15 Thread Nick Williams
On Aug 15, 2013, at 11:27 AM, Mark Thomas wrote: On 15/08/2013 08:41, Sergey Shcherbakov wrote: It looks like I am missing some bit of the Tomcat configuration (to call preInit()?). You shouldn't need to worry about that. Has anybody seen the issue, No. what could be the reason?

Re: How to gracefully shutdown tomcat7 executable war?

2013-08-15 Thread Olaf Bergner
Hi Mark, thanks for the prompt reply. I tried your suggestion, and yes, *something* happens. The log says 15.08.13 18:45:50.903 [INFO] | [Thread-5] [Http11Protocol] [Pausing ProtocolHandler [http-bio-8080]] log4j:WARN No appenders could be found for logger

Re: Exception by upgrading to WebSocket connection in 8.0.0-RC1

2013-08-15 Thread Rossen Stoyanchev
On Thu, Aug 15, 2013 at 12:39 PM, Nick Williams nicho...@nicholaswilliams.net wrote: I suspect that as both Spring 4 and Tomcat 8 are both in RC / milestone stage that Tomcat changed in a way Spring wasn't expecting. Right. This is already fixed actually. Just use Spring Framework

Re: Tomcat isn't honoring the accept-language header, manager app shows up in Spanish

2013-08-15 Thread Mark Thomas
On 15/08/2013 17:31, Mark Thomas wrote: On 15/08/2013 17:08, Haszlakiewicz, Eric wrote: Is this a known bug? Should I report it in bugzilla? It is a bug but not a known one. I'm looking at a fix now but please report it in Bugzilla. Scratch that. The bug is fixed in trunk, 7.0.x and

Re: How to gracefully shutdown tomcat7 executable war?

2013-08-15 Thread Mark Thomas
On 15/08/2013 17:58, Olaf Bergner wrote: Hi Mark, thanks for the prompt reply. I tried your suggestion, and yes, *something* happens. The log says 15.08.13 18:45:50.903 [INFO] | [Thread-5] [Http11Protocol] [Pausing ProtocolHandler [http-bio-8080]] log4j:WARN No appenders could be found for

Re: tomcat 7 in ubuntu

2013-08-15 Thread fachhoch
It is happending becasue of tomcat-users.xml any advice what causes this ? -- View this message in context: http://tomcat.10.x6.nabble.com/tomcat-7-in-ubuntu-tp5003226p5003250.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Oracle RAC JDBC/UCP config question

2013-08-15 Thread Jeffrey Janner
Has anyone on this list ever set up an Oracle UCP connection to an Oracle RAC and had it supporting all RAC features, i.e. dead connections, failover, etc.? My question is configuration oriented so I don't think exact hardware/os/tomcat revs are important. However, assume Oracle 11gR2 and either

Re: Tomcat Monitoring - Thread usage - currentThreadCount or currentThreadBusy

2013-08-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vikram, On 8/14/13 9:42 PM, Vikram Jain wrote: I am working on Tomcat monitoring solution for a project and when it comes to monitoring 'Thread usage', I am wondering whether I should be comparing 'currentThreadCount' or 'currentThreadBusy'

Re: tomcat 7 in ubuntu

2013-08-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Facchoch, On 8/15/13 1:17 PM, fachhoch wrote: It is happening because of tomcat-users.xml any advice what causes this ? It looks like Nabble has sheared-off all context for this comment. Can you remind us of what is going on? - -chris