Re: init called multiple times

2004-08-25 Thread Endre Stølsvik
On Tue, 24 Aug 2004, Mary Collamore wrote: | | The servlet class implements SingleThreadModel, so I understand that JRun | may make more than one copy when service is needed by more than one user. | But the most users I have ever noted at one time is 3, and I often see in | event log that "init" i

Re: init called multiple times

2004-08-24 Thread Richard Yee
Mary, I'm not sure why you are using the SingleThreadModel. As long as you keep you use method local variables and don't use class instance variables, you should be thread-safe. Are any exceptions occurring which would cause the thread to exit? See what happens when you don't use single thread mode

Re: init called multiple times

2004-08-24 Thread Mark Galbreath
You should not be using JRun 3.1 - it has a notorious memory leak. upgrade to 4.0 Mark Mary Collamore wrote: We are using JRun 3.1 on Windows 2000, and have a servlet that runs a web questionnaire. It instantiates a class (once) for the session, which looks up datasource for pooled connection to d