tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject RE: Tomcat & Cocoon Question
Date Wed, 01 May 2002 14:30:04 GMT
IIS is set up to serve static content.  It needs to have mappings to know 
what to forward to Tomcat.

What you need to do is put index.xml in IIS's default file list.  Then, a 
call to the root of the directory will get forwarded to index.xml which IIS 
will then know to forward to Tomcat...as long as you've specified *.xml 
files to be mapped to Tomcat.  I can't remember what the syntax for that 
is?  Maybe something like "/mycontext/*.xml=ajp1.2" in uriworkermap.properties?

Jake

At 10:10 AM 5/1/2002 -0400, you wrote:
>Larry,
>
>How can I be sure. I know Tomcat is doing something with that directory,
>because all of the xml pages are using Java, and I know IIS cant serve them
>without some help.
>
>Inside of my server.xml file Im doing this.
>         <Context path="/cocoon"
>                  docBase="webapps/cocoon"
>                  debug="0"
>                  reloadable="true" >
>         </Context>
>I thought this mapped the /cocoon context to Tomcat..
>Now Im really confused.
>
>The Home Directory for IIS is pointing to c:\jakarta-tomcat-3.2.4\webapps
>Should this be changed too??
>
>Thanks
>Tony
>
>-----Original Message-----
>From: Larry Isaacs [mailto:Larry.Isaacs@sas.com]
>Sent: Wednesday, May 01, 2002 10:04 AM
>To: 'Tomcat Users List'
>Subject: RE: Tomcat & Cocoon Question
>
>
>Does the request http://foo.bar.com/cocoon/ get mapped to
>Tomcat?  If not, IIS still serves the directory listing.
>If the listing doesn't identify Tomcat, then Tomcat
>isn't generating the listing.  The statement that
>"IIS doing all of the static pages" suggests that IIS
>is likely to be doing the listings too.
>
>Cheers,
>Larry
>
> > -----Original Message-----
> > From: Anthony Diodato [mailto:adiodato@p21.com]
> > Sent: Wednesday, May 01, 2002 9:51 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> >
> >
> > IIS serves that page, but I guess I should've been more clear.
> >
> > What Im really looking for is this.
> > http://foo.bar.com/cocoon/ this is the page that Id like to
> > default to the
> > index.xml file
> > The Context /cocoon is served by Tomcat, and this is exactly where my
> > problem lies.
> >
> > Thanks
> > Anthony
> >
> > -----Original Message-----
> > From: Larry Isaacs [mailto:Larry.Isaacs@sas.com]
> > Sent: Wednesday, May 01, 2002 9:45 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> >
> >
> > For http://foo.bar.com/, who serves the directory
> > listing?  If IIS is serving the listing, making
> > changes on the Tomcat side isn't going to alter this
> > behavior.
> >
> > Cheers,
> > Larry
> >
> > > -----Original Message-----
> > > From: Anthony Diodato [mailto:adiodato@p21.com]
> > > Sent: Wednesday, May 01, 2002 9:41 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > >
> > >
> > > Bill,
> > >
> > > Still not working.
> > > My welcome file list is this
> > >
> > >     <welcome-file-list>
> > >     <welcome-file>
> > >             index.xml
> > >       </welcome-file>
> > >     </welcome-file-list>
> > >
> > > And you right, it was in web.xml, but after I made the changes, and
> > > re-started Tomcat, I still get the directory listing.
> > > If you have any other thoughts, please let me know.
> > >
> > > Thanks
> > > Anthony
> > >
> > > -----Original Message-----
> > > From: Bill Barnhill [mailto:wbarnhil@twcny.rr.com]
> > > Sent: Wednesday, May 01, 2002 12:00 PM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > >
> > >
> > > I think this can be done by setting the welcome page to be
> > > index.xml. I
> > > think this is in web.xml, but I may have the xml file
> > wrong. Do a find
> > > on text welcome in the .xml files under tomcat and you
> > should find it.
> > >
> > > HTH,
> > > Bill Barnhill
> > >
> > > -----Original Message-----
> > > From: Anthony Diodato [mailto:adiodato@p21.com]
> > > Sent: Wednesday, May 01, 2002 5:46 AM
> > > To: 'tomcat-user@jakarta.apache.org'
> > > Subject: Tomcat & Cocoon Question
> > >
> > >
> > > Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my
> > > Webserver. I have
> > > Tomcat processing my Cocoon xml, and IIS doing all of the
> > > static pages.
> > >
> > > My problem is this.
> > >
> > > If I go to http://foo.bar.com/index.xml it works fine, but
> > if I go to
> > > http://foo.bar.com/ it gives me a directory listing of what
> > is in that
> > > directory. Id like for it to default to the index.xml file.
> > >
> > > Can this be done??
> > >
> > > Thanks
> > > Anthony Diodato
> > >
> > >
> > > Anthony Diodato
> > > Webmaster - IT
> > > Prophet 21, Inc.
> > > 19 West College Avenue
> > > Yardley, PA 19067
> > > 1-800-776-7438, ext. 4600
> > > Fax: 215-321-8014
> > > adiodato@p21.com
> > > http://www.p21.com/
> > > Prophet 21 -- Powering the Distribution Industry for the
> > Digital Age
> > >
> > > For the latest press releases from Prophet 21 --
> > > http://www.p21.com/press/press.html
> > > *   2/12/2001 - Trading Partner Connect Offers
> > > Enterprise-to-Enterprise
> > > (E2E) Commerce
> > > *   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
> > > *   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
> > > For the latest articles on Prophet 21
> > > http://www.manufacturing.net/magazine/id/archives/2001/ind010.
> > > 02/techupd
> > > ate.
> > > htm
> > > http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
> > > http://www.manufacturing.net/magazine/id/archives/2000/ind1201
> > > /news.htm
> > >
> > >
> > >
> > >
> > > Visit our website at http://www.p21.com/visit
> > > The information in this e-mail is confidential and may
> > contain legally
> > > privileged information.  It is intended solely for the person
> > > or entity
> > > to which it is addressed.  Access to this e-mail by anyone else is
> > > unauthorized. If you are not the intended recipient, any disclosure,
> > > copying, distribution, action taken, or action omitted to
> > be taken in
> > > reliance on it, is prohibited and may be unlawful.  If you
> > > received this
> > > e-mail in error, please contact the sender and delete the
> > > material from
> > > any computer.
> > >
> > >
> > >
> > > --
> > > To unsubscribe:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > > Troubles with the list:
> > <mailto:tomcat-user-owner@jakarta.apache.org>
> > >
> > >
> > >
> > > --
> > > To unsubscribe:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > > Troubles with the list:
> > <mailto:tomcat-user-owner@jakarta.apache.org>
> > >
> > >
> > > Visit our website at http://www.p21.com/visit
> > > The information in this e-mail is confidential and may
> > contain legally
> > > privileged information.  It is intended solely for the person
> > > or entity to
> > > which it is addressed.  Access to this e-mail by anyone else is
> > > unauthorized. If you are not the intended recipient, any disclosure,
> > > copying, distribution, action taken, or action omitted to
> > be taken in
> > > reliance on it, is prohibited and may be unlawful.  If you
> > > received this
> > > e-mail in error, please contact the sender and delete the
> > > material from any
> > > computer.
> > >
> > >
> > >
> > > --
> > > To unsubscribe:
> > <mailto:tomcat-user-> unsubscribe@jakarta.apache.org>
> > > For
> > additional commands:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > > Troubles with the list:
> > <mailto:tomcat-user-owner@jakarta.apache.org>
> > >
> >
> > --
> > To
> > unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> >
> > Visit our website at http://www.p21.com/visit
> > The information in this e-mail is confidential and may contain legally
> > privileged information.  It is intended solely for the person
> > or entity to
> > which it is addressed.  Access to this e-mail by anyone else is
> > unauthorized. If you are not the intended recipient, any disclosure,
> > copying, distribution, action taken, or action omitted to be taken in
> > reliance on it, is prohibited and may be unlawful.  If you
> > received this
> > e-mail in error, please contact the sender and delete the
> > material from any
> > computer.
> >
> >
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
>
>--
>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>
>Visit our website at http://www.p21.com/visit
>The information in this e-mail is confidential and may contain legally
>privileged information.  It is intended solely for the person or entity to
>which it is addressed.  Access to this e-mail by anyone else is
>unauthorized. If you are not the intended recipient, any disclosure,
>copying, distribution, action taken, or action omitted to be taken in
>reliance on it, is prohibited and may be unlawful.  If you received this
>e-mail in error, please contact the sender and delete the material from any
>computer.
>
>
>
>--
>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

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