You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Turner <to...@johnturner.com> on 2003/05/30 17:00:57 UTC

Re: apache serving as a proxy server to tomcat but cant find serv let

Sounds like an Apache mod_proxy configuration problem to me, then.  Or, is 
your Tomcat Context configured in a Host named "localhost" or one named for 
the FQDN that you are using?

John

On Fri, 30 May 2003 10:20:04 -0400, Eric fiedler <ef...@actelesys.com> 
wrote:

> yes I did...The page running under Tomcat works fine if I run it from
> localhost...the machine runing Tomcat
>
> -----Original Message-----
> From: John Turner [mailto:tomcat-user@johnturner.com]
> Sent: Friday, May 30, 2003 10:21 AM
> To: Tomcat Users List
> Subject: Re: apache serving as a proxy server to tomcat but cant find
> servlet
>
>
>
> Did you explicitly map your servlet in your web application's web.xml 
> file? You have to map your servlet to a URL, you can't just call it.  
> Check the docs and the FAQ.
>
> John
>
> On Fri, 30 May 2003 10:12:27 -0400, Eric fiedler <ef...@actelesys.com> 
> wrote:
>
>> hi -
>>
>> I have apache setup as a proxy server to machine running Tomcat hosting 
>> a
>> site. I can view the Tomcat site from the apache machine by using the 
>> url,
>> we'll say http://apache:8080/TomactMachine/index.html
>>
>> The site will come up fine. However, when I try to execute a servlet off 
>> the
>> Tomcat site, it tells me it cannot find the particular servlet. Apache 
>> and
>> Tomcat are running on seperate machines. Tomcat is hosting the static 
>> pages
>> for its site.
>>
>>
>> Any thoughts?
>>
>> Thanks
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org