jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lybarger <Mark.Lybar...@CBC-Companies.com>
Subject RE: Errors
Date Tue, 02 Sep 2003 16:23:17 GMT
I'm not sure how to supress that particular definition.  Here's specifically
what I get added by the cactifywar task.

<web-app>
    <filter>
        <filter-name>FilterRedirector</filter-name>
 
<filter-class>org.apache.cactus.server.FilterTestRedirector</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>FilterRedirector</filter-name>
        <url-pattern>/FilterRedirector</url-pattern>
    </filter-mapping>
    <servlet>
        <servlet-name>ServletRedirector</servlet-name>
 
<servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class
>
    </servlet>
    <servlet>
        <servlet-name>JspRedirector</servlet-name>
        <jsp-file>/jspRedirector.jsp</jsp-file>
    </servlet>
    <servlet>
        <servlet-name>ServletTestRunner</servlet-name>
        <servlet-class>
            org.apache.cactus.server.runner.ServletTestRunner
</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>ServletRedirector</servlet-name>
        <url-pattern>/ServletRedirector</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>JspRedirector</servlet-name>
        <url-pattern>/JspRedirector</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>ServletTestRunner</servlet-name>
        <url-pattern>/ServletTestRunner</url-pattern>
    </servlet-mapping>
</web-app>

perhaps there's issues in your web.xml file?

-----Original Message-----
From: Rowe, David (CAG-CC MIS) [mailto:David.Rowe2@conagrafoods.com]
Sent: Tuesday, September 02, 2003 12:07 PM
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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003
 


Mime
View raw message