Why not to create threads?

2003-10-28 Thread Walker Chris
Why should I be avoiding creating my own threads in a web application? I have a couple of scheduled components, and I'm not sure how else I would implement them. Chris -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 28 October 2003 15:53 To: Tomcat Users Lis

RE: Form Double Submit Detection

2003-10-28 Thread Walker Chris
Tom, You can also put JavaScript code in the form's onSubmit event code to disable all the elements in the form. To make sure this happens after submission (otherwise nothing gets submitted) use window.setTimeout() to run the disable script after a short delay. Another alternative is to put a un

RE: POI

2003-10-22 Thread Walker Chris
Justin, I've used POI to read and write Excel files. I'd say it was generally very good, although I had problems reading a file in, IIRC, pre-Excel 97 format. Chris -Original Message- From: Hart, Justin [mailto:[EMAIL PROTECTED] Sent: 22 October 2003 15:01 To: Tomcat Users List (E-mail)

RE: JSP question

2003-10-21 Thread Walker Chris
Most likely "document.form1" is not visible in the browser object model. There are various ways to address the form, but the most portable in this case is probably "document.forms[0]". Chris -Original Message- From: epyonne [mailto:[EMAIL PROTECTED] Sent: 21 October 2003 16:35 To: Tomcat

RE: Why should I use Tomcat vs .NET?

2003-10-14 Thread Walker Chris
Chuck, I agree with most of what you say except for your point about software purchase costs. While $450 is a lot for an individual to find, for a company the purchase cost of software is trivial compared to the cost of learning to use it. I don't know what contract rates are like in San Diego,

RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6

2003-10-02 Thread Walker Chris
ccount and checking the box to allow interaction with the local desktop. The echo and data source apps still succeeded, and the "big" app failed for the same reason: "No tags" in stderr.log. That's not it. Anybody else seen such behavior running Tomcat 4.0.6 as a Windows servic

RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6

2003-10-02 Thread Walker Chris
? Or is it better to set up a separate account? Please advise. Thanks - MOD Thanks for contributing to --- Walker Chris <[EMAIL PROTECTED]> wrote: > Hi Michael, > > This is a Winows thing, rather than a Tomcat thing. > Control > Panel->Services->Apache Tomcat 4.1->

RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6

2003-10-02 Thread Walker Chris
what's really happening here so I can correct it. Thanks - MOD --- Walker Chris <[EMAIL PROTECTED]> wrote: > Michael, > > What account does the service run under? The > default for most services is > the System account, which may be having problems > accessing some

RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6

2003-10-02 Thread Walker Chris
Michael, What account does the service run under? The default for most services is the System account, which may be having problems accessing some resource that your application needs. Chris -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 15:34 To:

RE: connectors documents

2003-10-02 Thread Walker Chris
mod_jserv and now jk2.. Or perhaps i'm just a hopeless optimist. Thanks for your reply Mark On Wednesday, October 1, 2003, at 04:32 PM, Walker Chris wrote: > Yes, I'm using virtual hosts and so far it's running OK. I'll check > on the > sources I'm using. &

RE: connectors documents

2003-10-01 Thread Walker Chris
use. but I cant believe that this vhost issue is uncommon. Cheers Mark On Wednesday, October 1, 2003, at 11:20 AM, Walker Chris wrote: > Sadly, I have to agree with Mark. > > Last week Tim Funk suggested I RTFAQ to find out why not to use > mod_webapp. > Though well-meant, this s

RE: [OFF-TOPIC] RE: can resultset object be re-used

2003-10-01 Thread Walker Chris
No. You can re-use the reference to the object (rs), but it refers to a new resultset object created by ExecuteQuery. Chris -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 14:58 To: 'Tomcat Users List' Subject: RE: [OFF-TOPIC] RE: can resultset obje

RE: connectors documents

2003-10-01 Thread Walker Chris
Sadly, I have to agree with Mark. Last week Tim Funk suggested I RTFAQ to find out why not to use mod_webapp. Though well-meant, this suggestion was regrettable from my point of view as I was 24 hours from a go-live with webapp (having read in a highly-recommended Tomcat book that webapp is the on

RE: Tomcat sucks at receiving large messages

2003-10-01 Thread Walker Chris
Hi, I should have thought that as a general principle it's not a good idea to try to store the response in a byte array. I recently worked on a piece of code that did just that (worse, actually, it then copied the array into a String). Sooner or later a really big upload will blow up the applica

RE: Using drop down boxes in JSP

2003-09-17 Thread Walker Chris
; Subject: RE: Using drop down boxes in JSP Hi, Thanks for the reply. But, hmm.i was thinking of using onChange...and thenprocess the parameter via servlet? Anson -Original Message- From: Walker Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 8:45 PM To

RE: Using drop down boxes in JSP

2003-09-17 Thread Walker Chris
Anson, You will have to write client JavaScript to do this. OTTOMH, attach a function to the onChange event of your SELECT tag. The object representing the tag will probably be accessible as document.all.yourTagId, or possibly something else, depending on the browser object model. This object

RE: Apache/Tomcat/MySQL Startup Sequence on Linux

2003-09-15 Thread Walker Chris
t: 15 September 2003 13:37 To: Tomcat Users List Subject: RE: Apache/Tomcat/MySQL Startup Sequence on Linux Chris, Webapp is unsupported because JK is better and noone in the open source community wants to support it. Are you volunteering ;-) Andy > -Original Message----- > From: Walker

RE: Apache/Tomcat/MySQL Startup Sequence on Linux

2003-09-15 Thread Walker Chris
To: Tomcat Users List Subject: Re: Apache/Tomcat/MySQL Startup Sequence on Linux Don't use mod_webapp. Use jk or jk2. Webapp is unsupported. jk, jk2 allow for either side to go down and all is still ok when it comes back up -Tim Walker Chris wrote: > Hi, > > I'm hav

Apache/Tomcat/MySQL Startup Sequence on Linux

2003-09-15 Thread Walker Chris
Hi, I'm having problems coordinating the startup scripts for Apache, Tomcat (connected via mod_webapp) and MySQL. The situation seems to be this: - mod_webapp requires Tomcat to be already running when httpd starts - the Tomcat application contains a connection pool that requires MySQL to be ru

RE: PROBLEMS:> memory / cpu usage - Tomcat 3.2.1 - SOLVED!

2003-09-08 Thread Walker Chris
Now that's interesting. I've been following this thread because I've just installed a new application on a Sun Cobalt (Apache/mod_webapp/Tomcat) server. It's the only application on the server, and nobody's using it yet, but the server monitor keeps mailing me about high memory usage. But part o

RE: Debugging Tomcat 3.1

2000-11-01 Thread Walker, Chris
Download a free copy of VisualAge from IBM. See http://www7.software.ibm.com/vad.nsf/Data/Document2390?OpenDocument&p=1&BCT= 3&Footer=1 Chris Walker Brainbench MVP for ASP http://www.brainbench.com > -Original Message- > From: Mauricio Nuñez [mailto:[EMAIL PROTECTED]] > Sent: Tuesday,

RE: (Possible VIRUS) Re: ???????? - ????????????

2000-10-31 Thread Walker, Chris
It's hard to be sure from the title, but it looks like a Chinese HTML (RTF?) promotional (?) message that I received. I could see a few Chinese graphics and the text layout, but none of the characters. I don't think it was a virus. Chris Walker Brainbench MVP for ASP http://www.brainbench.com

RE: Disapointment (way, way off topic)

2000-10-27 Thread Walker, Chris
Whether you think "list" is correctly plural or singular, in this case the subject of the verb is plural because it consists of two noun-phrases ("The tomcat docs", "this mailing list") joined with a conjunction ("and"): "The tomcat docs and this mailing list has been a huge disapointment.." Chr

Where is the wrapper.properties template file?

2000-10-24 Thread Walker, Chris
Hi, The howto doc for jk_nt_service says "Locate the wrapper.properties template file in your Tomcat conf directory". There is no such file in the conf directory, and I can't find a template for it anywhere on the Jakarta site. Can anyone suggest where I might find it? Chris Walker Brainbench