From: Mark C. <mcr...@ma...> - 2004-07-12 19:57:06
|
On Mon, 12 Jul 2004 13:02:55 -0400, Brian Goetz wrote: > Mark Crocker wrote: >> Tomcat 4.1.x seems to have a problem removing a web application that actively uses webmacro 1.1final. Auto deployment seems to be broken for related reasons. >> Is there a definitive fix or work-around for this problem or could someone supply a concrete example of how to use the ServletContextListener to shut down webmacro's background threads? > Is the webmacro.jar in the web app lib/ directory, or the server-wide > lib/ directory? The path is ${CATLINA_HOME}/webapps/${MY_APP}/WEB-INF/lib/webmacro.jar. I realize that adding webmacro to the server's class path is an option, but I would like to avoid that option because it breaks the ease of installation that a nice tidy war file provides. Convincing clients that WebMacro, something they've never heard of, is a good library to build their application around is enough of a battle that giving them complicated installation instructions, that they then have to describe to their customers, is something I'd like to avoid. Although JSP has improved, my current project is tailor made for a templating engine and I'd hate to have to re-do it all because the customer does an "I told you so" after we explain that the installation is going to be a two step process for their customers. OT: Speaking of Log4J... I notice that webmacro's log messages actually appear in the application log file rather than the catalina.out log. I know webmacro 0.9x used to use Log4j, but 1.1final uses a home made logger. Any hints on how to configure Log4J to also log to the application log file would be appreciated ;) |