Tomcat Monitoring
Hi, We are using Tomcat 5.5, please let us know if there are any monitoring tools that we can use with this server. We found Lambda Probe mentioned in the posts. Are there any built-in tools, or can we find some open sources for this issue?! ~Regards, ~~Alireza Fattahi - All New Yahoo! Mail Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard protect you.
Re: Getting the date/time from the client
Hi, May be you can use: request.getDateHeader() Have a look at, there is a related thread there: http://www.theserverside.com/discussions/thread.tss?thread_id=38542 Vinu Varghese [EMAIL PROTECTED] wrote: Hi All, I am doing a project in jsp/servlet and tomcat, which requires to take the client date/time (ie the time of the machine the browser is running). Is there any way to accomplish this ? Thanks regards Vinu -- Vinu Varghese [EMAIL PROTECTED] www.x-minds.org ~Regards, ~~Alireza Fattahi - Try the all-new Yahoo! Mail . The New Version is radically easier to use The Wall Street Journal
Re: Tomcat shutdowns unexpectedly - Please help
Hi, I hope I get it correctly, the Tomcat shutdowns when it is ideal. That means no one is working with it and there is no connection to it. If I assume correct and this is the case, please let me know if this shutdown happens when there are some connections to it. We had this problem once with Apache and OracleAS, the OracleAS shouted down itself when it does not received any requests (made a suicide!) We end up writing a small program which was connected to Tomcat every 10 min and requested a dummy page. It solved it. P.S: Did you configure your Tomcat with Apache? Hope it helps you! Martin Gainty [EMAIL PROTECTED] wrote: If the app is crashing then you would see exceptions thrown in wither catalina.out / stdout_MMDD.log / stderr_MMDD.log If the service is crashing on startup(misconfigured JVM, startup jars missing) then check the jakarta_service_MMDD.log HTH, Martin-- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: David Smith To: Tomcat Users List Sent: Tuesday, July 11, 2006 7:51 AM Subject: Re: Tomcat shutdowns unexpectedly - Please help I'm no expert, but off the top of my head it appears your JVM is crashing. Especially true if there is absolutely no logging data just before the process stops. You may have indications of what's happening in other log files like syslog or a core dump file. You may also want to look at bug reports for your OS and JDK. --David Arunan Kannan wrote: Hi, Please help me in guiding to find out the root cause of this problem. Tomcat Version: jakarta-tomcat-4.1.31 Server OS: SUN OS 5.8 JDK version: j2sdk1.4.2_11 Initially the tomcat server is running perfectly and there is no problem. There is no operation done on the server. Simply it is kept idle. After some 3 or 4 hours the tomcat gets shutdown unexpectedly. This happens repeatedly. Whenever I start the server, after some 3 or 4 hours it gets stopped. There is not enough log to find the cause. I have posted this query in lot of forum and still it is a hard luck. I configured debug=5 in server.xml under conf directory to get maximum log, then also no use. There is no application running in the tomcat server. Simply the when tomcat is started in this SUN server after a few ours it stops always. Please help me. Please let me know if I need to give more information. Thanks in advance, Thanks and Regards, Arunan - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ~Regards, ~~Alireza Fattahi - Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail.
ApacheConfig returns ClassCastException for mod_jk
Hi, We want to configure tomcat 5.5.17 with mod_jk and change server.xml as below: Engine name=Catalina defaultHost=localhost className=org.apache.jk.config.ApacheConfig The above changed was mentioned at http://tomcat.apache.org/connectors-doc/howto/apache.html; to create a mod_jk.conf-auto file. But, we get an error which sayes: java.lang.ClassCastException: org.apache.jk.config.ApacheConfig at org.apache.catalina.startup.LifecycleListenerRule.begin(LifecycleListenerRule.java:96) at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) Any comments! Regards, Alireza Fattahi - All new Yahoo! Mail The new Interface is stunning in its simplicity and ease of use. - PC Magazine
ApacheConfig returns ClassCastException for mod_jk
Hi, We want to configure tomcat 5.5.17 with mod_jk and change server.xml as below: Engine name=Catalina defaultHost=localhost className=org.apache.jk.config.ApacheConfig The above was mentioned at http://tomcat.apache.org/connectors-doc/howto/apache.html; to create a mod_jk.conf-auto file. But, we get an error which sayes: java.lang.ClassCastException: org.apache.jk.config.ApacheConfig at org.apache.catalina.startup.LifecycleListenerRule.begin(LifecycleListenerRule.java:96) at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) Any comments! Regards, Alireza Fattahi - All New Yahoo! Mail Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard protect you.