Hi, I have the following problem on tomcat 4.1.18: I defined a ServletContextListener in the web.xml for my webapp so I can do some initializing stuff when my webapp is startet. Now when I start tomcat everything is just fine, the Listener gets notified and starts my config. But after a few moments the webapp seems to be loaded again. A complete new instance of my Listener class is created and notified again (I am setting flags if config is loaded etc but these are unset).. I have set the Context to not reload in the server xml and the Host has autoDeply false.
As this would not be such a big flaw alone, there is something that makes it very bad: if I do not use unzipped classes for my application but put the contents in a jar file under WEB-INF/lib, tomcat always runs into a segmentation fault on second startup of my Listener class. Any suggestions why tomcat is loading my Listener class twice on startup and if this is a feature or a bug? Any help would be appreciated. Thanks Tobi -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
