jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.Eugenia" <mefalo...@terra.es>
Subject Cactus and EJb: ServletRedirector
Date Wed, 11 Sep 2002 11:19:48 GMT
Hello, I have using Cactus for testing Enterprise JavaBeans. I try to do the example of website
http://jakarta.apache.org/cactus/howto_ejb_j2eeri.html but I cannot run because I have following
error:

java.io.FileNotFoundException: http://localhost:8080/test/ServletRedirector?Cactus_TestMethod=testConvert&Cactus_TestClass=ConverterTest&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:695)
 at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1122)
 at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475)
 at java.net.URLConnection.getContentLength(URLConnection.java:370)
 at org.apache.cactus.client.HttpClientHelper.dispatch22_connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):176)
 at org.apache.cactus.client.HttpClientHelper.around22_connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)
 at org.apache.cactus.client.HttpClientHelper.connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):125)
 at org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):188)
 at org.apache.cactus.client.AbstractHttpClient.dispatch1_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):120)
 at org.apache.cactus.client.AbstractHttpClient.around1_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)
 at org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.ja

I have configured the file D:\Cactus\sample-servlet\conf\test\cactus.properties the following
way:
    cactus.contextURL = http://localhost:8080/test    8080 -- port Tomcat in my computer

    cactus.servletRedirectorName = ServletRedirector

    cactus.jspRedirectorName = JspRedirector

    cactus.filterRedirectorName = test/filterRedirector.jsp

    cactus.enableLogging = true

Can you help me, please? Thank you very much.

Bye!

M.Eugenia


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message