tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <>
Subject Re: stress ROOT application instead my application
Date Tue, 08 Aug 2006 11:53:56 GMT
That's because you are setting up Apache to view your ecommerce site as 
the root, but tomcat is still using the ROOT webapp as the root.  Dump 
the ROOT webapp, rename ecommerce to ROOT and reconfigure Apache to your 
webapp (now named ROOT).


jeusdi wrote:

>Helo World, I'm trying configured my apache to communicate with Tomcat. Mmm,
>I've created a aweb application contained in webapps tomcat directory. This
>application is named ecommerce. So in my httpd.conf file I put this:
>	ServerAdmin
>	DocumentRoot /usr/local/tomcat/webapps/ecommerce
>	ErrorLog /usr/local/tomcat/webapps/ecommerce/logs/error_log
>	CustomLog /usr/local/tomcat/webapps/ecommerce/logs/access_log common
>	<LocationMatch ".*WEB-INF.*">
>		AllowOverride None
>		Deny from all
>	</LocationMatch>
>So, all request from my explorer to would be go to my index.jsp,
>but it isn't.
>When I access to it shows me the default ROOT web
>application TOMCAT, so index.jsp from ROOT web application. 
>I dump bellow-->
># only at beginnin. In production uncomment it out
># Example socket channel, override port and host.
># define the worker

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message