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 f

Re: preferred method of handling empty form fields

2002-01-11 Thread Mika Goeckel
> the previous record. > However, I do not see how it will help to figure out which 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 clear

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,

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, D

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 v

Re: server.xml DTD/Schema

2001-11-30 Thread Mika Goeckel
single implementation. > > * 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,

Re: server.xml DTD/Schema

2001-11-29 Thread Mika Goeckel
are mutual 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: <[E

server.xml DTD/Schema

2001-11-29 Thread Mika Goeckel
Hi, I've built a first version of a DTD/Schema for server.xml and would ask if someone would like to review it? I would prefer the Schema, because it allows more checking, but I haven't seen a parser which checks against schemes, so I created a DTD from it as well. As this is quite a bunch of l

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: [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 - Orig

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 Devel

Re: 4.0.1 ClassLoader breaks singletons on webapp reload.

2001-11-26 Thread Mika Goeckel
etons on webapp reload. > Yea, those are called 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 pro

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 be

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

Re: Tomcat: Distributed Session Management revisited

2001-11-15 Thread Mika Goeckel
Costin, that point of view is really interesting. What about separating the distribution part from the integration part of a integrated solution. That would user's give the option to use the "transparent session replication" or to use "explicit object replication services". The former would ease

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: > > >

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: "Cra

Re: Tomcat: Distributed Session Management revisited

2001-11-13 Thread Mika Goeckel
sage - From: "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: &g

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 :) Somethi

Re: Tomcat: Distributed Session Management revisited

2001-11-13 Thread Mika Goeckel
Hi Craig, am I understanding right, that "handling" in this context means the part of execution when the servlet's service routine is called? Would the container be allowed to fetch a session after the request has reached it but before the servlet's code is called? Is it theological to ask if a

Re: Tomcat: Distributed Session Management revisited

2001-11-13 Thread Mika Goeckel
:-) > | On 13/11/2001 04:38 pm, "Mika Goeckel" <[EMAIL PROTECTED]> wrote: > | > | > SNMP, ah ja. I've got no knowledge at all 'bout that, so fight with some > | > other lobbyists :-) > | > | Same here... > > Didn't mean to take a left

Re: Tomcat: Distributed Session Management revisited

2001-11-13 Thread Mika Goeckel
agree, I think the juices are flowing. See below > > Tom > - Original Message - > From: "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

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 Manag

Re: [JTC] latest mod_webapp stuff ?

2001-11-12 Thread Mika Goeckel
Hi Pier, is the not working NumberGuess-Example (ClassCastException) with mod_webapp also a recently fixed thing, or did I just screw the config? Cheers, Mika ^X^C - Original Message - From: "Pier Fumagalli" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Tues

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 Subje

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 -1