Re: Detecting The Stop Button
On 13.09.2004 11:51 Les Parkin wrote: Hi, I am working on an application that allows users to run database queries from a web browser (we are currently using Tomcat 5.0.25). A problem arises when a user starts a new query and then decides that they want to cancel it by hitting the browser stop button. After a lot of reading on this already, I appreciate that it is not possible for Tomcat to be notified that this has occurred, since no event is generated by the browser that Tomcat can detect. [...] Has anybody got any suggestions as to how I can get this to work, or a more general approach to solving the stop button problem? You could put a Cancel query button on the form itself, which then notifies tomcat. You then need to identify the running query in the session and kill it. But I guess there is no way of doing this with the Browser's stop button. Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to get a thread stack dump programmatically
Rodrigo Ruiz schrieb: Hi all, is there any way to get a stack trace of a given thread? I want to obtain a full thread stack dump from a JSP, just like the one obtained via kill -QUIT, but I do not find any method in the Thread class that could be used to get this information. I seem to recall that some code was posted some time ago in this list, but I have not found it in the archives. Any ideas? PS: What I really want to do is a tool for detecting deadlocks via thread dump analysis :-) Create an exception within that thread, and write it's stack dump via a StringWriter into a String Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5 for production?
Katz Guy schrieb: Hi; I am a bi confused. It the current release of 5.0.16 stable a production ready release? If not, when could we expect a tomcat 5.x which is ready for production. P.S: when I say ready for production I think of non beta and ok with licensing. (never mind the bugs) Thanks in advance. Quote from http://jakarta.apache.org/tomcat/index.html For the impatient, current Tomcat production quality releases vs. Servlet/JSP specifications: Servlet/JSP SpecTomcat version 2.4/2.0 5.0.16 2.3/1.2 4.1.29 2.2/1.1 3.3.1a - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: it's a bit too much
Giuliano Gavazzi schrieb: Sorry, but I think I will have to leave this list shortly. I am bored of getting two bounces for each message I send to it. Adding to the bogus Symantec Mail Security I now get a bounce for [EMAIL PROTECTED] (User unknown). Adding to this is a volume of over 10MB/month, mainly of unedited quoted text... If I update my MacOSX/mod_jk pages I will let the list know anyway, in the meantime anyone with MacOSX/tomcat issues is welcome posting directly to my address. Thank you Giuliano I'm happy reading this list through gmane's newsreader (news.gmane.org) No bounces and only the traffic I want :-) Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Silent install of Tomcat on Windows?
Mike Kellstrand schrieb: I've poked around a bit, but could find any info on this ... The standard Tomcat installer for Windows asks a number of questions during the install. Are there command-line parameters or any other way to invoke the process from a batch file with all the required settings (like install dir, and to install as a service) so it could be an unattended install? The purpose is that I would like to bundle up Tomcat, Java, my webapps, and some other things into a nice installer. I can certainly just invoke the Tomcat installer from the main installer, but it would be nice for the user not to have to answer install questions that could be pre-configured. Thanks, Mike Why don't you just use the zip archive and unpack it silently into the desired target directory? Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Character Encoding problem (umlauts, etc).
Robert Priest schrieb: I have a servlet that catches a request for a file. How is the request sent? If sent via an HTML form, you need to include the accept-charset=UTF-8 attribute into your form tag Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Tomcat 4.1.27 without Jasper (or a JDK)?
Jon Skeet schrieb: Just out of curiosity: I'm wondering why you want to do that? The overhead of the JDK over JRE isn't that big and disk space isn't usually a problem. We distribute the JRE in our installation. I know these days you're allowed to distribute tools.jar (and javac.exe?) but the JRE we distribute (which would be inconvenient to change) doesn't allow this. Ah! Right, I didn't think about re-distribution. Cheers Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Tomcat 4.1.27 without Jasper (or a JDK)?
Jon Skeet schrieb: I'm trying to run Tomcat 4.1 (currently 4.1.27) without needing a full JDK. I don't need any JSP stuff whatsoever, just servlets. Does anyone know of a page explaining how to remove Jasper from Tomcat, or fancy explaining it here? I couldn't find anything in the archive (with only a couple of searches, admittedly). Thanks, Jon Skeet Just out of curiosity: I'm wondering why you want to do that? The overhead of the JDK over JRE isn't that big and disk space isn't usually a problem. Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does tomcat 4.1.24 come with conf files?
The LE edition does contain the conf files as well (I have downloaded several versions, and all of them contain the conf files). The light in Light Edition refers to the included XML parsers, as they are not necessary when running Tomcat with JDK 1.4.x Thomas John Turner schrieb: No. Not sure what file you got, but a full distribution of Tomcat (not LE) has a number of files in the conf directory. Remember to use GNU tar. John [EMAIL PROTECTED] wrote: Hey, I have decided to start over so I went to the Jakarta website and downloaded tomcat 4.1.24 and the conf directory is empty - is it suppose to be this way? Thanks, Bobbie Bobbie Atristain Internet Systems Administrator Media General, INC. 804.649.6156 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]