Hi;

We have some ASP stuff too so we have to have IIS.

I think I'll just put my servlet in root and stop trying to change what root
is (yuck).

Thanks - dave


-----Original Message-----
From: Parsons Technical Services [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 13, 2005 10:45 PM
To: Tomcat Users List
Subject: Re: Problem making my servlet the default servlet (instead of ROOT)

> If I do <Context path="/" docBase="store"., then
> http://localhost:8080/cart.faces  returns an error 404.
>
Yep. It will. Since you are using the path attribute I assume this is in the

server.xml and to set it as the root you would use "".

" If you specify a context path of an empty string (""), you are defining 
the default web application for this Host, which will process all requests 
not assigned to other Contexts. "

If this is not in the server.xml then remove the path attribute completely. 
Name your package ROOT.war and deploy it. (Someone correct me if I am wrong 
here.)

>
> I figured it should be "/" and not ""?
>

No. See above.

>
> If I do <Context path="" docBase="store"., then it works. But.
>
> http://localhost:8080/store/cart.faces works
>
> http://localhost/store/cart.faces works (via IIS)
>
> http://localhost:8080/cart.faces works
>
> http://localhost/cart.faces - error 404
>
>
>
> Any idea why the error only if using the root?
>
>


I don't use IIS but I would say it is a configuration issue in the 
connector, as you are connecting to two different apps in the first two URLs

than you are in the last two. And since both :8080 URLs work then Tomcat is 
working.

Out of curiosity is there any particular reason you are using IIS and not 
Tomcat alone?

Doug 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to