tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raju Balugu" <raju.bal...@gmail.com>
Subject Re: virtual mapping on Tomcat 5.5
Date Tue, 05 Dec 2006 12:36:23 GMT
Hi

In Tomcat 5.5.17 webapps itself deployed hence put the RMS under webapps and
change the docbase

<Context path="/images" docBase="webapps/RMS" debug="0"
reloadable="true"></Context>

Regards
Raju



On 11/30/06, olivier nouguier <olivier.nouguier@gmail.com> wrote:
>
> hi,
> A: put apache (httpd) in front of tomcat ==> quite easy.
> B: dirty read/stream hack ==> don't know what to say :-)
>
>
> On 11/29/06, Jennifer Lu <jenniferyilu@gmail.com> wrote:
> >
> > Hi David,
> >
> > I think I have joined the list as I have received the confirmation on
> > this?
> > Probably this is the first email I sent before the confirmation. Thank
> you
> > for your advice on my question. However, the templates/images folder has
> > to
> > be outside of the RMS webapp folder in this case so I cannot figure out
> > how
> > to do this. I do not have problems in retrieving images from the RMS
> > webapp folder. Any idea on how to refer to an images folder outside of
> the
> > webapp root?
> >
> > Thanks.
> >
> > Jen
> >
> >
> > On 11/29/06, David Smith <dns4@cornell.edu> wrote:
> > >
> > > 1. the path attribute of your context definition will be ignored by
> > > tomcat 5.5.  The webapp itself will be deployed as RMS, not images.
> > >
> > > 2. Assuming you have an images folder in your RMS webapp and a file
> > > named logo.gif exists there, the url
> > > http://localhost:8080/RMS/images/logo.gif should work.  Check the logs
> > > if it's not working.
> > >
> > > 3. Please don't hijack threads.  Join the list and send a NEW message
> to
> > > users@tomcat.apache.org.  Replying to a message and changing the
> subject
> > > isn't enough.
> > >
> > > --David
> > >
> > > Jennifer Lu wrote:
> > >
> > > > Dear all,
> > > >
> > > > I need to define a virtual mapping path on Tomcat 5.5. The following
> > > > works
> > > > well on Tomcat 5.0.28 (I put it in the server.xml)
> > > >
> > > > <Context path="/images" docBase="E:/templates/images" debug="0"
> > > > reloadable="true"></Context>
> > > >
> > > > The webapp is called RMS and its classes directory has been
> installed
> > > > on C:.
> > > >
> > > > http://localhost:8080/RMS/images/logo.gif    this url works well on
> > > > Tomcat
> > > > 5.0.28 but causes a HTTP404error on Tomcat5.5
> > > >
> > > > I have tried several approaches on Tomcat5.5 but none of them
> > succeeded.
> > > >
> > > > Approach 1. put it in conf/Catalina/localhost/RMS.xml
> > > > Approach 2. put it in webapps/RMS/META-INF/context.xml
> > > >
> > > > Any advice on this? Thanks a lot.
> > > >
> > > > Jen
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To start a new topic, e-mail: users@tomcat.apache.org
> > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > > For additional commands, e-mail: users-help@tomcat.apache.org
> > >
> > >
> >
> >
>
>
> --
> "Souviens-toi qu'au moment de ta naissance tout le monde était dans la
> joie
> et toi dans les pleurs.
> Vis de manière qu'au moment de ta mort, tout le monde soit dans les pleurs
> et toi dans la joie."
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message