> -----Original Message-----
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Thursday, January 30, 2014 1:29 PM
> To: Tomcat Users List
> Subject: Re: Manager Doesn't Recognize context = "/"
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Chuck,
> 
> On 1/30/14, 2:24 PM, Caldarale, Charles R wrote:
> >> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> >> Subject: Re: Manager Doesn't Recognize context = "/"
> >
> >>> The WEB-INF folder is in the root.
> >
> > I don't know exactly what that means, but it's probably a big
> mistake.
> >
> >> You should probably switch deployment strategies. It will save you
> >> headaches in the long-run.
> >
> > +1 to that.
> >
> >>> <Valve>
> >>> className="org.apache.catalina.authenticator.SingleSignOn"
> >>> debug="0" />
> >
> > There is no debug attribute in any element of server.xml, and there
> > hasn't been one for years.
> >
> >>> <Logger className="org.apache.catalina.logger.FileLogger"
> >>> directory="c:\domains\aaaaaa.bbbbbb.net/logs " prefix="sa"
> >>> suffix=".txt" timestamp="true" />
> >
> > The <Logger> element hasn't been valid in Tomcat for longer than I
> can
> > remember.  This config smacks of someone blindly copying over a very,
> > very old setup into a more recent installation.  Bad idea.
> >
> >>> <Context path="/" docBase="" debug="0" reloadable="true"
> >>> crossContext="true" />
> >
> >> The <Context> path is incorrect. For the root context, you want to
> >> use path="" not path="/".
> >
> > Also, it is _always_ illegal to have an empty docBase.  Your default
> > webapp must be named either ROOT.war or located in <appBase>/ROOT
> > (ROOT is case sensitive, even on Windows).
> 
> Oh, yeah. I didn't even notice that. The OP probably has webapps/WEB-
> INF directory and a whole slew of security problems because Tomcat has
> auto-deployed all the subdirectories of webapps/ to their own separate
> contexts.
> 
> Jerry, you really have to fix your deployment.
> 
I would think his "logs" directory would be browsable, but as Chuck states, 
it's probably not being populated.
If anything, this looks like a server.xml and deployment strategy that hasn't 
been updated since Tomcat 4.x
Jeff

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to