On Thu, Nov 18, 2004 at 03:02:08PM +0200, Asher Tarnopolski wrote: : tomcat not only prints the report twice, it loads the webapp twice, : because right after the second time i get a nasty exception:
To add on to the response you've already received from someone else: Tomcat's deploying your webapp twice because you've (implicitly) asked it to do so. In your server config's <Host/> tag, make note of the following attributes: - autoDeploy: automatically deploy a webapp when it's updated - deployOnStartup: deploy all webapps found in the appBase when Tomcat starts So if you have an app that's explicitly defined by a <Context/> tag, but the "docBase" and "path" attributes don't match, Tomcat figures you want to deploy it again. Short version: make sure autoDeploy and deployOnStartup are both false. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
