When I get the directory listing, the bottom of my page says "Tomcat Web
Server v3.2.4"

This is what I have in my uriworkermap.properties
default.worker=ajp12

/cocoon=$(default.worker)
/cocoon/*=$(default.worker)
/cocoon/*.xml=$(default.worker)

Still getting the same results.

I thank for all your help so far, and I think Im close, but something isn't
clicking somewhere.
Any other thoughts

Thanks
Anthony


-----Original Message-----
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 10:28 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat & Cocoon Question


If Tomcat is serving the listing, you should see Tomcat named
in the footer of the displayed page.  I forget the exact text
of the string.  If you don't see mentioned at the bottom of
the page, then IIS is serving the listing.

If you want the welcome files specified in the web.xml to make
a difference, then the request http://foo.bar.com/cocoon/ will
have to be forwarded to Tomcat.  Which requests are forwarded is
controlled by the uriworkermap.properties file.  It is here
that you would add the appropriate mapping.

Cheers,
Larry

> -----Original Message-----
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 10:11 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> 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:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]] 
> > 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:[EMAIL PROTECTED]]
> > 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:[EMAIL PROTECTED]] 
> > > 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:[EMAIL PROTECTED]]
> > > 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:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, May 01, 2002 5:46 AM
> > > To: '[EMAIL PROTECTED]'
> > > 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 
> > > [EMAIL PROTECTED]
> > > 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:[EMAIL PROTECTED]>
> > > For additional commands: 
> > <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list: 
> > <mailto:[EMAIL PROTECTED]>
> > > 
> > > 
> > > 
> > > --
> > > To unsubscribe:   
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands: 
> > <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list: 
> > <mailto:[EMAIL PROTECTED]>
> > > 
> > > 
> > > 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-> [EMAIL PROTECTED]>
> > > For 
> > additional commands: 
> > <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list: 
> > <mailto:[EMAIL PROTECTED]>
> > > 
> > 
> > --
> > To 
> > unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> > 
> > 
> > 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-> [EMAIL PROTECTED]>
> > For 
> additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> > 
> 
> --
> To 
> unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> 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:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


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:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to