Re: R: Monitor and report number of concurrent user
Hi Leandro, That's really cool idea you had used. Do you mind sharing abit more on how you did it? A newbie question here.. I downloaded and expanded probe.war file. May I know the default user and password? Thank you in advance. wannabe - Original Message From: Leandro Dardini [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, 4 September 2008 15:31:43 Subject: R: Monitor and report number of concurrent user -Messaggio originale- Da: Nix Hanwei [mailto:[EMAIL PROTECTED] Inviato: giovedì 4 settembre 2008 5.19 A: Tomcat Users List Oggetto: Monitor and report number of concurrent user Hi Gurus, May I know if there's scripts or suggestions for reporting concurrent user in tomcat? Thanks in advance, wannabe The easy and dirty way is to query the manager application and grab the current session, running threads and other vars you are interested in. Be warned the manager application is not so easy to parse. The correct path instead is to use JMX. JMX can be used to monitor all aspect of tomcat, like threads, sessions, etc. etc. If you use a jdk = 1.5 then start adding -Dcom.sun.management.jmxremote to your JAVA_OPTIONS and then look at http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html and http://java.sun.com/jmx for details. There is already a nagios probe to get data via jmx http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2338.html;d=1 I personally use the lambda probe application to monitor my tomcat farm from nagios. It is way too easy to parse. Leandro - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Search, browse and book your hotels and flights through Yahoo! Travel. http://sg.travel.yahoo.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]
Monitor and report number of concurrent user
Hi Gurus, May I know if there's scripts or suggestions for reporting concurrent user in tomcat? Thanks in advance, wannabe New Email names for you! Get the Email name you#39;ve always wanted on the new @ymail and @rocketmail. Hurry before someone else does! http://mail.promotions.yahoo.com/newdomains/sg/ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Any application which is use to detect tomcat memory leak problem
Hi Gurus, Is there any application which I may use to detect tomcat memory leak problem? Thank you in advance for any value input. Thanks Regards. Get your new Email address! Grab the Email name you#39;ve always wanted before someone else does! http://mail.promotions.yahoo.com/newdomains/sg/ - 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: How do I co-exist both tomcat and java in one windows machine?
Thanks. I'm trying to install tomcat 5.0 and tomcat 6.0 and java 1.4 and java 1.6 in a box. How do I define CATALINA_HOME and JAVA_HOME and jk connector for each tomcat? - Original Message From: David Smith [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, 23 April 2008 5:42:59 Subject: Re: How do I co-exist both tomcat and java in one windows machine? Tomcat requires java. There's never been a problem with them on the same box. Can you be a little more specific on what you're asking? --David Nix Hanwei wrote: Hi Gurus, How do I co-exist both tomcat and java in one windows server? Thanks in advance. __ Tired of visiting multiple sites for showtimes? Yahoo! Movies is all you need http://sg.movies.yahoo.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] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Tired of visiting multiple sites for showtimes? Yahoo! Movies is all you need http://sg.movies.yahoo.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: How do I co-exist both tomcat and java in one windows machine?
Thanks. I'm running on IIS. I think I roughly know how to get it done now. Thank you for your advices. - Original Message From: David Smith [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, 23 April 2008 7:51:32 Subject: Re: How do I co-exist both tomcat and java in one windows machine? The JDKs are no problem -- they just get installed each in their own directory. The tomcat's can also be installed each in their own directory. You'll have to modify the server.xml of each to make sure there are no conflicts in the shutdown ports or any of the connetors. I'm going to venture a guess you are really considering these as services. In that case, you'll want to get the .zip download of tomcat for installation instead of the .exe installer version. It includes service.bat which you should take a look at for installing each as a service. If you aren't interested in installing them as services, you should be able to modify startup.bat and shutdown.bat in each to use the correct jdk. You'll have to post what web server (IIS or Apache Httpd) you are using jk with for info on that. From the tomcat end, part of making sure there aren't any port conflicts is to make sure each tomcat's AJP connector is on a different port. From the IIS or Apache Httpd end, it's just a matter of defining each in the jk config and then mounting url patterns to go to the appropriate jk connection. --David Nix Hanwei wrote: Thanks. I'm trying to install tomcat 5.0 and tomcat 6.0 and java 1.4 and java 1.6 in a box. How do I define CATALINA_HOME and JAVA_HOME and jk connector for each tomcat? - Original Message From: David Smith [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, 23 April 2008 5:42:59 Subject: Re: How do I co-exist both tomcat and java in one windows machine? Tomcat requires java. There's never been a problem with them on the same box. Can you be a little more specific on what you're asking? --David Nix Hanwei wrote: Hi Gurus, How do I co-exist both tomcat and java in one windows server? Thanks in advance. __ Tired of visiting multiple sites for showtimes? Yahoo! Movies is all you need http://sg.movies.yahoo.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] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Tired of visiting multiple sites for showtimes? Yahoo! Movies is all you need http://sg.movies.yahoo.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] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Search, browse and book your hotels and flights through Yahoo! Travel. http://sg.travel.yahoo.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 not working with new Java
Hi, Try to set java_home in /etc/profile.d/java.sh. - Original Message From: Markus [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, 26 December 2007 10:17:38 Subject: Tomcat not working with new Java I have Tomcat 5.5 on a Fedora 5 machine. I recently changed the jvm from gcj to sun's 1.4.2_16. Now when I try to start tomcat I get the following message: Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not find jdbc-stdext Java extension for this JVM /usr/bin/rebuild-jar-repository: error: Could not find jndi Java extension for this JVM /usr/bin/rebuild-jar-repository: error: Some detected jars were not found for this jvm /usr/bin/rebuild-jar-repository: error: Could not find jaas Java extension for this JVM /usr/bin/rebuild-jar-repository: error: Some detected jars were not found for this jvm The config file for tomcat has been update and the JVM itself works fine. Anyone know why this is happening? Thanks in advance. __ Search, browse and book your hotels and flights through Yahoo! Travel. http://sg.travel.yahoo.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: Too Many Open Files error
Hi Dan, You can try sysctrl.conf file. Add in the ulimit -n for open files. - Original Message From: Daniel M Garland [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, 19 October 2007 9:43:00 Subject: Re: Too Many Open Files error Thanks Jim, It was previously set to 1024, and I quadrupled it. When you say ulimit is persistent will it persist across a reboot? I don't seem to have the command lsof, I'll try and apt-get it. Cheers Dan Jim Cox wrote: On 10/19/07, Daniel M Garland [EMAIL PROTECTED] wrote: Should I then place ulimit -n in the catalina startup scripts? Setting a limit with ulimit is sticky (i.e. persistent), so there's no need to stick it in the startup script. However, you didn't answer the previous two questions about (1) how many files did Tomcat have open when you got the Too many open files error, and (2) what the current ulimit setting for open files is. If you provide those answers people here can help you out a bit more. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Yahoo! Movies - Search movie info and celeb profiles and photos. http://sg.movies.yahoo.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]