Hi,

> It seems that /cactusTest/ServletRedirector does not exist.
> You might examine web.xml to see if ServletRedirector has been properly 
> mapped.
>
> Hope this helps,

Well, I haven't solved the problem yet but perhaps took a step
forward.  I checked my web.xml and all seems ok - even tried preceding
with /cactusTest/ - bad sign when I'm taking blind stabs like that :( 
.  Then I thought - perhaps ServletRedirector isn't where it should
be.  Copied below are references to the cactus.jar and the web.xml for
my test app.  ServletTestRedirctor should be in the cactus .jar -
correct?  I believe I'm referencing that .jar in all the right places.
 Can you confirm?

# ok, this is where I put the cactus binaries...
/usr/local/jakarta-cactus-13-1.7.1/lib/cactus-1.7.1.jar
# simlink to be picked up on CLASSPATH
/usr/share/java/cactus-1.7.1.jar
# available to all tomcat apps
/usr/local/jakarta-tomcat-5.0.28/common/lib/cactus-1.7.1.jar
# the app for testing cactus - dev env
/home/ewulff/osshare/webdev/cactusTest/web/WEB-INF/lib/cactus-1.7.1.jar
# on server (perhaps overkill since it's also in common/lib but I
don't think this is causing a problem)
/usr/local/jakarta-tomcat-5.0.28/webapps/cactusTest/WEB-INF/lib/cactus-1.7.1.jar

web.xml...
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";>

<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-mapping>
        <servlet-name>ServletRedirector</servlet-name>
        <url-pattern>/ServletRedirector</url-pattern>
    </servlet-mapping>

    <servlet>
        <servlet-name>JspRedirector</servlet-name>
        <jsp-file>/jspRedirector.jsp</jsp-file>
    </servlet>

    <servlet-mapping>
        <servlet-name>JspRedirector</servlet-name>
        <url-pattern>/JspRedirector</url-pattern>
    </servlet-mapping>

</web-app>

many thx
Eric

oh yes, btw, here's all that I have in my WEB-INF/lib - lest something
is stepping on toes...
aspectjrt-1.2.1.jar           dom.jar           jdbc2_0-stdext.jar 
sax.jar             standard.jar
cactus-1.7.1.jar              httpunit-1.6.jar  jstl.jar           
saxpath.jar         xalan.jar
cactus-ant-1.7.1.jar          ifxjdbc.jar       junit-3.8.1.jar    
servletapi-2.3.jar  xercesImpl.jar
commons-httpclient-2.0.2.jar  jaxen-full.jar    log4j-1.2.9.jar    
servlet-api.jar
commons-logging-1.0.4.jar     jaxp-api.jar      nekohtml-0.9.1.jar  sftp.jar



On 11/16/05, Kazuhito SUGURI <[EMAIL PROTECTED]> wrote:
> Hi Eric,
>
> In article <[EMAIL PROTECTED]>,
> Wed, 16 Nov 2005 17:15:31 -0800,
> Eric Wulff <[EMAIL PROTECTED]> wrote:
> ewulff> Hi, I'm getting a 'ChainedRuntimeException: Failed to get the test
> ewulff> results'.  Can someone tell me the most common causes of that error?
>
> There are some possible causes. For your case, the log shows that.
>
> ewulff> 1) 
> testDoGet(MapperServletTest)org.apache.cactus.util.ChainedRuntimeException:
> ewulff> Failed to get the test results at
> ewulff> [http://localhost:8080/cactusTest/ServletRedirector]
> [snip]
> ewulff> org.apache.cactus.internal.client.ParsingException: Not a valid
> ewulff> response [404 /cactusTest/ServletRedirector]
> [snip]
> ewulff> 2) 
> testUseAllCaps(MapperServletTest)org.apache.cactus.util.ChainedRuntimeException:
> ewulff> Failed to get the test results at
> ewulff> [http://localhost:8080/cactusTest/ServletRedirector]
> [snip]
> ewulff> org.apache.cactus.internal.client.ParsingException: Not a valid
> ewulff> response [404 /cactusTest/ServletRedirector]
>
> It seems that /cactusTest/ServletRedirector does not exist.
> You might examine web.xml to see if ServletRedirector has been properly 
> mapped.
>
> Hope this helps,
> ----
> Kazuhito SUGURI
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to