cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sonny Sukumar" <ahimsad...@hotmail.com>
Subject RE: More Tomcat troubles...
Date Thu, 28 Aug 2003 21:18:51 GMT

Uhhh, I don't know why the below message got delivered again.  That's 
strange.  Anyhow, please ignore it.

>From: "Sonny Sukumar" <ahimsadesi@hotmail.com>
>Reply-To: ssukumar@ecologyfund.net
>To: users@cocoon.apache.org
>Subject: RE: More Tomcat troubles...
>Date: Thu, 28 Aug 2003 11:09:02 -0700
>
>
>Well I changed the path in server.xml to "" from "cocoon" awhile ago, since 
>I don't want the "cocoon/" in my URLs.  So it's not that.
>
>I can access my Cocoon installation fine in general, but somehow trying to 
>match against this "/admin/fetchSomeFile" has confused Tomcat when it 
>shouldn't have.  It should be passing control to Cocoon for Cocoon to match 
>against "admin/fetchSomeFile", but it's not.
>
>Make sense?
>
>>From: Tim Olson <tim@myadguys.com>
>>Reply-To: users@cocoon.apache.org
>>To: "'users@cocoon.apache.org'" <users@cocoon.apache.org>
>>Subject: RE: More Tomcat troubles...
>>Date: Thu, 28 Aug 2003 11:02:46 -0400
>>
>>if cocoon is deployed as cocoon.war/ then the correct url would be
>>http://my.server/cocoon/admin/fetchSomeFile
>>
>>
>> > -----Original Message-----
>> > From: Sonny Sukumar [mailto:ahimsadesi@hotmail.com]
>> > Sent: Thursday, August 28, 2003 3:55 AM
>> > To: users@cocoon.apache.org
>> > Subject: More Tomcat troubles...
>> >
>> >
>> >
>> > I'm trying to access http://my.server/admin/fetchSomeFile but
>> > Tomcat keeps
>> > me a HTTP Status 404 error saying "The requested resource
>> > (/admin/fetchSomeFile) is not available"
>> >
>> > I don't have any "/admin" context defined (and I commented
>> > out that "/live"
>> > context I've been trying to make work), so I just have the default ""
>> > context which Tomcat should choose.
>> >
>> > Then I have this Cocoon matcher:
>> >
>> > <map:match pattern="admin/*>
>> >   <map:read src="myapp/{1}.htm"/>
>> > </map:match>
>> >
>> > But the important thing is that Tomcat isn't invoking Cocoon.
>> >  It seems like
>> > Contexts (in server.xml) were created to handle doing these
>> > kinds of things,
>> > yet I can't seem to make them work for any purpose.
>> >
>> > Could it have something to do with sevlet mappings in
>> > web.xml?  The default
>> > URL pattern that comes with cocoon matches "/", but would
>> > that cover this
>> > case?
>> >
>> > _________________________________________________________________
>> > Get MSN 8 and enjoy automatic e-mail virus protection.
>> > http://join.msn.com/?page=features/virus
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> > For additional commands, e-mail: users-help@cocoon.apache.org
>> >
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>
>_________________________________________________________________
>Get MSN 8 and help protect your children with advanced parental controls.  
>http://join.msn.com/?page=features/parental
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>

_________________________________________________________________
Get MSN 8 and help protect your children with advanced parental controls.  
http://join.msn.com/?page=features/parental


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message