Re: How to receive Session Manager from servlet?

2002-01-15 Thread Mika Goeckel
I think that is a matter of security. Once it has access to the SessionManager, your servlet has access to other servlets sessions as well. That's one reason for the SessionFacade being in place. The benefit from Tomcat being open source is, that you actually can add a getSessionManager() to the

Re: preferred method of handling empty form fields

2002-01-11 Thread Mika Goeckel
Hi Johan, I always create a reset() method within beans to circumvent this problem. It clears all fields that I don't want to hold any value during form processing. Mika - Original Message - From: Johan Hoogenboezem [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 11, 2002

Re: preferred method of handling empty form fields

2002-01-11 Thread Mika Goeckel
field on the form the user just cleared out (say, by selecting the text with her mouse and hitting delete before clicking the submit button) so that the corresponding bean property can also be cleared... -Original Message- From: Mika Goeckel [mailto:[EMAIL PROTECTED]] Sent: Friday

Re: load balancing - integration thoughts

2001-12-18 Thread Mika Goeckel
could register your manager with newly created sessions as a SessionListener. Mika - Original Message - From: Tom Drake [EMAIL PROTECTED] To: Mika Goeckel [EMAIL PROTECTED] Cc: Craig McClanahan [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 8:50 PM Subject: load balancing

Re: server.xml DTD/Schema

2001-11-30 Thread Mika Goeckel
. * Even more generally, Tomcat users are free to install their own implementations of Tomcat classes, and there's no way your general purpose DTD would know which attributes are valid. Craig McClanahan On Fri, 30 Nov 2001, Mika Goeckel wrote: Date: Fri, 30 Nov 2001 01:01:46 +0100

Re: server.xml DTD/Schema

2001-11-30 Thread Mika Goeckel
A first cut of dtd and schema are reviewable under: http://www.mikagoeckel.de/tomcat/server.html, http://www.mikagoeckel.de/tomcat/server.xsd http://www.mikagoeckel.de/tomcat/server.dtd I've thrown all possible attributes for the different classes into the tag, so this is nothing more than to

Re: server.xml DTD/Schema

2001-11-29 Thread Mika Goeckel
exclusive. Does anybody have a clue how to solve that? My suggestion would be to clean up the XML and define proper elements for different purposes which might result in some coding work... Mika - Original Message - From: Mika Goeckel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday

Re: Disable Refresh Function in IE

2001-11-28 Thread Mika Goeckel
Hi, the way to do that, is to create a rigid state model of your application and use a centralized worker servlet (hide all other pages/jsps/servlets from the user). Struts gives the framwork for that. Mika - Original Message - From: Denis Balazuc [EMAIL PROTECTED] To: Tomcat

Re: [TC4] How to know when tomcat is properly shut down?

2001-11-28 Thread Mika Goeckel
Hi, on a unix system, you could do something like if ps -efwww | grep org.apache.catalina.startup.Bootstrap | grep -vc grep /dev/null; then echo yes; else echo no; fi the second grep is because grep might find it's own command line otherwise. hope that helps. Cheers, Mika - Original

Re: Disable Refresh Function in IE

2001-11-28 Thread Mika Goeckel
Tom, there may be some application, where such behavior is expensive, i.e. hit the 'acknowledge credit card charge' button twice. The worker servlet would have the requests first, so it has to intercept the second. As the out stream of the first is gone in the view of the browser, you would need

Re: 4.0.1 ClassLoader breaks singletons on webapp reload.

2001-11-26 Thread Mika Goeckel
Hi, could you get around the singleton problem by placing the singleton object's class outside the classloader which get busted when reloading the changed servlets/jsps? You could move it up to the 'shared' or even 'common' classspace. Do I understand it right, that these class loaders are not

Re: 4.0.1 ClassLoader breaks singletons on webapp reload.

2001-11-26 Thread Mika Goeckel
EJB's. :-) EJB - The glorified Singleton. -jon on 11/26/01 6:05 AM, Mika Goeckel [EMAIL PROTECTED] wrote: Hi, could you get around the singleton problem by placing the singleton object's class outside the classloader which get busted when reloading the changed servlets/jsps? You could

Re: Distributed Session Management

2001-11-15 Thread Mika Goeckel
Tom, from my (personal?!) philosophy, tests should be with the tested targets. My experience tells me that tests get out of focus if they are in a separate tree. Now when you are going to start hacking, is your approach creating use cases, sequence diagrams etc. before, or something like class

Re: Tomcat: Distributed Session Management revisited

2001-11-14 Thread Mika Goeckel
- Original Message - From: [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 12:26 AM Subject: Re: Tomcat: Distributed Session Management revisited On Tue, 13 Nov 2001, Mika Goeckel wrote: I completely agree, that the API lacks

Re: Tomcat: Distributed Session Management revisited

2001-11-13 Thread Mika Goeckel
Pier, Tom, cool, the discussion is starting to become interesting. :-) comments below: - Original Message - From: Pier Fumagalli [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 3:04 AM Subject: Re: Tomcat: Distributed Session Management

Re: Tomcat: Distributed Session Management revisited

2001-11-13 Thread Mika Goeckel
: Mika Goeckel [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 1:37 AM Subject: Re: Tomcat: Distributed Session Management revisited | Pier, Tom, | | cool, the discussion is starting to become interesting. :-) | | comments below

Re: Tomcat: Distributed Session Management revisited

2001-11-13 Thread Mika Goeckel
Can't help you on that... But, if we customize the lookup tables abstracting it from JNDI, we could write also some C code for the web-server modules that could participate in our session pooling group, and direct requests where they should be, two pigeons with a single shot :) Something in

Re: Tomcat: Distributed Session Management revisited

2001-11-13 Thread Mika Goeckel
: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 9:31 PM Subject: Re: Tomcat: Distributed Session Management revisited On Tue, 13 Nov 2001, Mika Goeckel wrote: Date: Tue, 13 Nov 2001 21:19:35 +0100 From: Mika Goeckel [EMAIL

Re: Tomcat: Distributed Session Management revisited

2001-11-13 Thread Mika Goeckel
- Original Message - From: Paul Speed [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 11:30 PM Subject: Re: Tomcat: Distributed Session Management revisited Tom Drake wrote: - Original Message - From: Craig R. McClanahan

Re: Tomcat: Distributed Session Management revisited

2001-11-12 Thread Mika Goeckel
Hi, I'm looking at the same area at the moment. and try to get my head around it maybe we can help each other... further comments below. - Original Message - From: Tom Drake [EMAIL PROTECTED] To: Tomcat Dev List [EMAIL PROTECTED] Sent: Monday, November 12, 2001 11:19 PM Subject: Fw:

Problems getting Nightly Build nov-10-01 up

2001-11-11 Thread Mika Goeckel
billbarker01/11/11 19:31:01 Modified:src/share/org/apache/tomcat/util/net StreamHandlerFactory.java Log: Fix potential MT race condition problem. Shouldn't happen in normal usage, but why live dangerously? Revision ChangesPath 1.2 +2