jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rowe, David (CAG-CC MIS)" <David.Ro...@conagrafoods.com>
Subject RE: Errors
Date Tue, 02 Sep 2003 17:39:03 GMT
No, I checked the web.xml in the war generated by Cactus for testing, and it seems that the
Servlet definition:

    <servlet>
        <servlet-name>ServletRedirector</servlet-name>
        <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
    </servlet>

is placed below the mappings!  would that be the cause?

Dave


-----Original Message-----
From: Vincent Massol [mailto:vmassol@pivolis.com]
Sent: Tuesday, September 02, 2003 11:32 AM
To: 'Cactus Users List'
Subject: RE: Errors


David,

If you're using the cactifywar, then yes it is added automatically. But
then both the servlet def + the mapping are added, not just the
mapping... So the error you mention should normally never happen. I
believe there's something else. Did you have any cactus definition in
your web.xml before running the cactifywar task?

-Vincent

> -----Original Message-----
> From: Rowe, David (CAG-CC MIS) [mailto:David.Rowe2@conagrafoods.com]
> Sent: 02 September 2003 18:07
> To: Cactus Users List
> Subject: RE: Errors
> 
> I believe the ServletRedirector is being added to the web.xml from the
> cactifywar task, Is there any way I can prevent it from adding that
> particular definition?
> 
> Dave
> 
> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com]
> Sent: Tuesday, September 02, 2003 10:44 AM
> To: 'Cactus Users List'
> Subject: RE: Errors
> 
> 
> Hi David,
> 
> This means you have a servlet mapping definition in your web.xml
without
> having the servlet definition. In other words you haven't fully
removed
> everything related to ServletRedirector.
> 
> -Vincent
> 
> > -----Original Message-----
> > From: Rowe, David (CAG-CC MIS) [mailto:David.Rowe2@conagrafoods.com]
> > Sent: 02 September 2003 17:12
> > To: cactus-user@jakarta.apache.org
> > Subject: Errors
> >
> > I'm getting these errors:
> >
> > ContextConfig[/test]: Parse error in application web.xml
> > java.lang.IllegalArgumentException: Servlet mapping specifies an
> unknown
> > servlet name ServletRedirector
> > ...
> >
> > ContextConfig[/test]: Occurred at line 23 column 23
> > ContextConfig[/test]: Marking this application unavailable due to
> previous
> > error(s)
> > StandardManager[/test]: Seeding random number generator class
> > java.security.SecureRandom
> > StandardManager[/test]: Seeding of random number generator has been
> > completed
> > StandardContext[/test]: Context startup failed due to previous
errors
> >
> > I removed mappings from the cactus-web.xml for ServletRedirector,
> because
> > I'm just trying to test JSPs
> >
> > Any ideas?  Anything obviously wrong?
> >
> > Dave
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



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


Mime
View raw message