hi all

i am prasad from india


i am facing following problem with cactus .
i am using it with the ejb and jboss.
can u get me the solution for the above exception.

the following is the exception:

test:
     [echo] ./target/classes
    [junit] Running org.apache.cactus.sample.ejb.ConverterTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.172 sec
    [junit] Testsuite: org.apache.cactus.sample.ejb.ConverterTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.172 sec
    [junit]
    [junit] Testcase: testConvert took 1.172 sec
    [junit]     Caused an ERROR
    [junit] Error finding class
[org.apache.cactus.sample.ejb.ConverterTest] usi
ng both the Context classloader and the webapp classloader. Possible causes
incl
ude:
    [junit]     - Your webapp does not include your test classes,
    [junit]     - The cactus.jar is not located in your WEB-INF/lib
directory an
d your Container has not set the Context classloader to point to the webapp
one
    [junit] javax.servlet.ServletException: Error finding class
[org.apache.cact
us.sample.ejb.ConverterTest] using both the Context classloader and the
webapp c
lassloader. Possible causes include:
    [junit]     - Your webapp does not include your test classes,
    [junit]     - The cactus.jar is not located in your WEB-INF/lib
directory an
d your Container has not set the Context classloader to point to the webapp
one
    [junit]     at
org.apache.cactus.server.AbstractWebTestCaller.getTestClassCl
ass(AbstractWebTestCaller.java:344)
    [junit]     at
org.apache.cactus.server.AbstractWebTestCaller.getTestClassIn
stance(AbstractWebTestCaller.java:301)
    [junit]     at
org.apache.cactus.server.AbstractWebTestCaller.doTest(Abstrac
tWebTestCaller.java:143)
    [junit]     at
org.apache.cactus.server.AbstractWebTestController.dispatch87
_handleRequest(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspe
ct.aj(1k):125)
    [junit]     at
org.apache.cactus.server.AbstractWebTestController.around87_h
andleRequest(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect
.aj(1k):1156)
    [junit]     at
org.apache.cactus.server.AbstractWebTestController.handleRequ
est(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):1
01)
    [junit]     at
org.apache.cactus.server.ServletTestRedirector.dispatch113_do
Post(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):123)

    [junit]     at
org.apache.cactus.server.ServletTestRedirector.around113_doPo
st(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1156)
    [junit]     at
org.apache.cactus.server.ServletTestRedirector.doPost(Servlet
TestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):109)
    [junit]     at
org.apache.cactus.server.ServletTestRedirector.dispatch112_do
Get(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):96)
    [junit]     at
org.apache.cactus.server.ServletTestRedirector.around112_doGe
t(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1156)
    [junit]     at
org.apache.cactus.server.ServletTestRedirector.doGet(ServletT
estRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):92)
    [junit]     at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    [junit]     at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    [junit]     at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAc
tion.run(ServletStubImpl.java:945)
    [junit]     at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servl
etStubImpl.java:332)
    [junit]     at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servl
etStubImpl.java:242)
    [junit]     at
weblogic.servlet.internal.WebAppServletContext$ServletInvocat
ionAction.run(WebAppServletContext.java:5363)
    [junit]     at
weblogic.security.service.SecurityServiceManager.runAs(Securi
tyServiceManager.java:721)
    [junit]     at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(
WebAppServletContext.java:3043)
    [junit]     at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletR
equestImpl.java:2466)
    [junit]     at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)

    [junit]     at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    [junit]





pls mail me asap
rgds
prasad



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to