RE: TC 3.3.3 with Apache stack space error

2002-01-31 Thread Tomas Rokicki
Be aware that glibc sometimes puts some heap allocations in shared library space rather than heap space using mmap, especially if you have large ones (as a 400M starting heap would seem to indicate). See if you can determine if this is happening; top will show the library allocations as LIB.

RE: TC 3.3.3 with Apache stack space error

2002-01-31 Thread Tomas Rokicki
Have you considered using the ss command line argument (varies from JVM to JVM; java -X usually tells you what to do; sometimes it's -Xoss and/or -Xss; usually parameters like 64k are sufficient but sometimes you may need to go higher . . . -Original Message- From: Ray Pitmon

RE: Minimalistic Docs

2002-01-16 Thread Tomas Rokicki
Oops; different dictionaries disagree on the possible meanings of minimalist. Sorry. (My OED is at home.) -tom -Original Message- From: Arnold Shore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 11:15 AM To: Tomcat Developers List Subject: RE: Minimalistic Docs And a

RE: Minimalistic Docs

2002-01-16 Thread Tomas Rokicki
Well, if you believe dictionaries: minimal: adj. 1a Smallest in amount or degree. 1b Small in amount or degree. 1c Only barely adequate. 2 often Minimal Of, relating to, or being minimalism minimalist: n. 1 One who advocates a moderate or conservative approach, action, or policy, as in a

RE: Disable Refresh Function in IE

2001-11-28 Thread Tomas Rokicki
You can't really avoid refresh. Consider that people can double-click on a submit button or link, quite inadverdantly, and your server sees it as two submissions but you only get the second response. Other than the timing, there is very little to distinguish this from hitting the refresh

RE: New resource: Bugs every servlet programmer should know about

2001-09-11 Thread Tomas Rokicki
You forgot: never use servlet instance variables. This alone is the most common servlet programming bug I've ever seen, and I see it again and again and again. I think the containers should use reflection to sniff a servlet class and if there is a servlet instance variable, refuse to load the

RE: Addition of 'dirty' field to Session interface

2001-08-08 Thread Tomas Rokicki
Best to do this by layering your own abstraction on top of Sessions. That's what we do [although we don't use it to solve this particular problem]. -tom -Original Message- From: Kief Morris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 12:36 PM To: [EMAIL PROTECTED]

RE: [jtc] tabs policy??

2001-06-22 Thread Tomas Rokicki
No, it says indentation of 4, and it also says that tabs are equivalent to 8 spaces. This is precise and sufficient and will work with any virtually any editor [assuming people know how to use their editor]. Hint: if your editor displays a single hard-tab (^I in the file) as four spaces (the

RE: Solaris Sparc Performance Problem

2001-05-02 Thread Tomas Rokicki
It might be Nagle's algorithm on one of the sockets involved. A simple test with snoop should show precisely where the delay is coming from. -tom -Original Message- From: Douglas E. Hornig [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 3:42 AM To: [EMAIL PROTECTED] Subject:

RE: Tabs vs. spaces (was: cvs commit: blah blah blah)

2001-04-12 Thread Tomas Rokicki
Here's an edited version of a comment on tabs and spaces I sent to our development team that might be useful. ---cut--- Okay, we've had some discussions this morning, and we've got to deal with tabs and indentation better than we have been. Some files are simply unviewable right now in various

RE: Tabs vs. spaces (was: cvs commit: blah blah blah)

2001-04-12 Thread Tomas Rokicki
True; not using a beautifier or CVS (now we're using Perforce). I find that beautifiers do more damage than good, but I'm happy to be enlightened; is anyone actually doing this in practice? -tom -Original Message- From: Nick Bauman [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12,

RE: denial of service attack

2001-01-17 Thread Tomas Rokicki
What's a client? For instance, if it's truly an attack, it would be trivial to spoof IP addresses. And with entire corporations behind NAT firewalls, simply setting the number of sessions per IP addresses to a `small' number would not work. Or, are you saying, don't initiate a session until

RE: An alternative to JSP

2001-01-12 Thread Tomas Rokicki
Whatcha looking for: np.instantis.com ??? Just curious to see what's happening over there, nothing more. That's what browsers are for. What's the relevance to Tomcat? -tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: An alternative to JSP

2001-01-12 Thread Tomas Rokicki
an example of how we solved the `no code in JSP' problem. -tom -Original Message- From: Jon Stevens [mailto:[EMAIL PROTECTED]] Sent: Friday, January 12, 2001 11:54 AM To: [EMAIL PROTECTED] Subject: Re: An alternative to JSP on 1/12/01 11:49 AM, "Tomas Rokicki" [EMAIL PROTEC

RE: An alternative to JSP

2001-01-12 Thread Tomas Rokicki
Exactly. It would have been nice if JSP was done right from the start instead of having an original goal of attempting to provide a solution to strictly compete with ASP. My thought is that JSP was `done right from the start' (at least, with custom taglibs)---it just doesn't solve the whole

RE: [tomcat-4.0] Session Creation Slowness

2000-12-21 Thread Tomas Rokicki
This is probably due to the new SecureRandom-based session IDs. There is an option to turn that off somewhere. -Original Message- From: Jon Stevens [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 21, 2000 1:47 PM To: tomcat-dev Cc: [EMAIL PROTECTED] Subject: [tomcat-4.0] Session