jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Sole Franzin" <mariasole.fran...@allos.it>
Subject R: RE: Testing EJB - Newbie: please help
Date Tue, 13 May 2003 15:42:59 GMT
 
            Hi all,
i'm a new "cactus user", and i'm trying the "testing ejb" using jbuilder
5 for the webapp. 
I read the thread about these tests, and I saw there're many problems.
Well, I read all the possible "howto" slides, but i've problems on
configuring the classpath. 
Perhaps I missed something.
 
This is the error i get typing on the browser:
http://localhost:8080/cactuswebapp/ServletTestRunner?suite=testcactus.Co
nverterTest
 
 
javax.servlet.ServletException: Failed to load test suite
[testcactus.ConverterTest], Reason is [Class not found
"testcactus.ConverterTest"]
  at
org.apache.cactus.server.runner.ServletTestRunner.dispatch92_run(Servlet
TestRunner.java;org/apache/cactus/util/log/LogAspect.java(1k):157)
  at
org.apache.cactus.server.runner.ServletTestRunner.around92_run(ServletTe
stRunner.java;org/apache/cactus/util/log/LogAspect.java(1k):1218)
  at
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.
java;org/apache/cactus/util/log/LogAspect.java(1k):137)
  at
org.apache.cactus.server.runner.ServletTestRunner.dispatch91_doGet(Servl
etTestRunner.java;org/apache/cactus/util/log/LogAspect.java(1k):121)
  at
org.apache.cactus.server.runner.ServletTestRunner.around91_doGet(Servlet
TestRunner.java;org/apache/cactus/util/log/LogAspect.java(1k):1149)
  at
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunne
r.java;org/apache/cactus/util/log/LogAspect.java(1k):101)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
  at org.apache.tomcat.core.Handler.service(Handler.java:286)
  at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
  at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:797)
  at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
  at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpConnectionHandler.java:210)
  at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
)
  at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49
8)
  at java.lang.Thread.run(Thread.java:484)
 
this error happends many times, with or without the cactus.proprties
file log4j.properties and the client classpath setted (i'm not at all
sure i did it in the right way.... may someone give me an example?).
then, it's really important to set che test file in the classpath, but
the class file or the java one? Or simply the name of the file????
 
thanks in advance
Maria Sole

Mime
View raw message