Re: Double startup?

Matt Warren <[email protected]> Wed, 29 Aug 2007 06:25:15 -0400
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <C2FAC1CB.EF1B5%[email protected]>
>> I won't answer for the JSPWiki experts, but that sounds to me like
>> a Tomcat misconfig; check that you don't have an appBase pointing
>> to the same location as a docBase.
>
> Yup, this is the probable reason.  If you put something in webapps
> (and it's your appbase), then Tomcat will automatically deploy it
> regardless of whether it has been deployed also by context.xml or
> server.xml.

That was the issue. I wanted to run JSPWiki as the ROOT app so I had a
context declaring it with a path ="". Also had it in webapps. I've changed
jspwiki app name to "ROOT" and removed the context and all is fine. I guess
I could also do a context and just not have it in webapps.