to load your context
once.
Charlie
-Original Message-
From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 9:02 PM
To: Tomcat Users List
Subject: Re: Servlet init() versus doPost() Classloading???
Rahul --
Yeah, you're right. The problem, though
I am having a problem with a daemon I want to create at startup. I have a
singleton daemon that I used to load on startup in the init(ServletConfig)
method of a servlet. The problem is that this ends up creating two
versions that then run concurrently and duplicate everything they each are
Hi Micael,
Seems you're sidestepping the real problem by trying to initialize with a
doPost call ... the init() method is, afterall, meant for such
initialization. ;) Won't you have the same problem is you hit the URL
twice?
If there are two copies of your deamon thread starting, then the
: Justin Ruthenbeck [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 12:43 PM
Subject: Re: Servlet init() versus doPost() Classloading???
Hi Micael,
Seems you're sidestepping the real problem by trying to initialize with a
doPost call ... the init() method
Users List [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 12:43 PM
Subject: Re: Servlet init() versus doPost() Classloading???
Hi Micael,
Seems you're sidestepping the real problem by trying to initialize with a
doPost call ... the init() method is, afterall, meant for such
initialization