There is a way to create a startup class in Tomcat. You can implement a ContextInterceptor. These classes can be configured in server.xml, and are, basically, Tomcat event handlers.
The ContextInterceptor interface defines two methods: void engineInit(ContextManager cm) void engineShutdown(ContextManager cm) that can be used to the purpose you mention. Of course, this is as portable as Weblogic startup classes ;-) For more info on this subject, try this: http://tomcatbook.sourceforge.net/book/defaulthtml/ch04.html Regards ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
