Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » HOWTO solve the application loaded twice problem with Tomcat
HOWTO solve the application loaded twice problem with Tomcat [message #172922] Tue, 04 July 2006 15:20
Eclipse UserFriend
Originally posted by: tobias.domain.hidden.com

Hi,

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
https://bugs.eclipse.org/bugs/show_bug.cgi?id=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!

// Tobias
Previous Topic:How can I get WTP to read libs in my CATALINA_HOME/shared/lib directory?
Next Topic:The problem of StructuredTextViewerUndoManager
Goto Forum:
  


Current Time: Mon Dec 22 05:09:30 GMT 2014

Powered by FUDForum. Page generated in 0.02731 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software