|HOWTO solve the application loaded twice problem with Tomcat [message #172922]
||Tue, 04 July 2006 15:20
Originally posted by: tobias.domain.hidden.com|
I want to share a workaround I've found for the problem with tomcat and
WTP where a project gets started twice if its name differs from its
context root. This is bug #125364
If you add @deployOnStartup="false" on the <host> tag in server.xml (in
the Servers project) and use a recent version of tomcat this problem
won't appear. It doesn't work on tomcat 5.5.4 but it does on 5.5.15 and
5.5.17. Haven't tested the versions in between.
If that doesn't do it, try setting @autoDeploy="false" and/or
@liveDeploy="false". Also on the <host> tag.
I don't know why this works, Larry Isaacs pointed out to me a while back
that it might work and it did. If I didn't thank you then I'll take the
opportunity to do so now. Thank you Larry this really made my day!
Powered by FUDForum
. Page generated in 0.02787 seconds