Re: Tomcat Farm Deployment and Statistics
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johann, bajistaman wrote: > Is there a way to centrally collect statistics of usage of all of the > tomcat's farm instances? How are you distributing the traffic among the Tomcat instances? Cant' you use a log file from there? If not, you'll have to either copy log files to a central location, or rig your loggers to report logging information to a single place. One idea is to use log4j as your logging mechanism (I'm guessing that the AccessLogValve or whatever it's called uses the standard logging so you can set it up to use log4j) and use the syslog appender with a host other than localhost. Have all your TC instances use syslog to report logging to one, single system's syslog facility. Then, configure syslog on that target machine to segregate Tomcat/web log messages to a particular file. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG4HPt9CaO5/Lv0PARAiSUAKCbYCkMTu5MRiQUxjlnkCp0sNN7RQCgpn7x 7dfdci4NLk3MAB/VxS9rCRU= =iIKR -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Farm Deployment and Statistics
Have you tried the "Client Deployer Package"? Johann -- View this message in context: http://www.nabble.com/Tomcat-Farm-Deployment-and-Statistics-tf4391810.html#a12528074 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Farm Deployment and Statistics
> From: bajistaman [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat Farm Deployment and Statistics > > I was reading about JMX and Tomcat and I wonder if is it > better (more secure?) to do it at the low level as you > suggested or by using the JMX API? I think using JMX would make it more complicated and may well decrease security since there would be yet another port open into Tomcat; others may have differing opinions. However, your reference to JMX did remind me of Lambda Probe (www.lambdaprobe.org), which is a very useful Tomcat monitoring tool. I've never tried it in a Tomcat clustering environment, but it does appear to have some support for that. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Farm Deployment and Statistics
Thanks Charles, I was reading about JMX and Tomcat and I wonder if is it better (more secure?) to do it at the low level as you suggested or by using the JMX API? Johann -- View this message in context: http://www.nabble.com/Tomcat-Farm-Deployment-and-Statistics-tf4391810.html#a12526752 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Farm Deployment and Statistics
> From: bajistaman [mailto:[EMAIL PROTECTED] > Subject: Tomcat Farm Deployment and Statistics > > Is there a way to distribute the deployment of an application > through many tomcat's farm instances in different machines > setting a context path that is different than the war's name? If you want a path different from the name of the .war file, then the webapp must be located outside of any element's appBase directory. The webapp is then deployed by creating a conf/Catalina/[host]/[appPath].xml file containing a element with an appropriate docBase attribute. (This will override any META-INF/context.xml file that's inside the webapp.) You'll have to do this on each Tomcat instance, of course, but the whole process can be scripted as needed. > Is there a way to centrally collect statistics of usage of all of the > tomcat's farm instances? You got me - I'm a city boy. Filip? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Farm Deployment and Statistics
Is there a way to distribute the deployment of an application through many tomcat's farm instances in different machines setting a context path that is different than the war's name? Is there a way to centrally collect statistics of usage of all of the tomcat's farm instances? Thanks, Johann -- View this message in context: http://www.nabble.com/Tomcat-Farm-Deployment-and-Statistics-tf4391810.html#a12521532 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]