jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binoy Patrick" <patr...@cmcltd.com>
Subject Problem with Testing EJBs on JBOSS(very urgent)
Date Fri, 12 Oct 2001 13:48:09 GMT
hi,
 I am getting a problem while testing ejbs with cactus. i use a jboss =
server and invoke the servlet test runner using tomcat
i get the following message..


Cannot instantiate class: org.apache.naming.java.javaURLContextFactory=20

javax.naming.NoInitialContextException: Cannot instantiate class: =
org.apache.naming.java.javaURLContextFactory. Root exception is =
java.lang.ClassCastException: =
org.apache.naming.java.javaURLContextFactory
at =
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:659)
at =
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
at javax.naming.InitialContext.init(InitialContext.java:226)
at javax.naming.InitialContext.<init>(InitialContext.java:182)
at ConverterTest.testConvert(ConverterTest.java:39)
at java.lang.reflect.Method.invoke(Native Method)
at =
org.apache.cactus.AbstractTestCase.runServerTest(AbstractTestCase.java:33=
2)
at =
org.apache.cactus.AbstractTestCase.runBareServerTest(AbstractTestCase.jav=
a:235)
at =
org.apache.cactus.server.AbstractWebTestCaller.doTest(AbstractWebTestCall=
er.java:149)
at =
org.apache.cactus.server.AbstractWebTestController.dispatch87_handleReque=
st(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj=
(1k):125)
at =
org.apache.cactus.server.AbstractWebTestController.around87_handleRequest=
(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1=
k):1149)
at =
org.apache.cactus.server.AbstractWebTestController.handleRequest(Abstract=
WebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):101)
at =
org.apache.cactus.server.ServletTestRedirector.dispatch113_doPost(Servlet=
TestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):123)
at =
org.apache.cactus.server.ServletTestRedirector.around113_doPost(ServletTe=
stRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1149)
at =
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirect=
or.java;org/apache/cactus/util/log/LogAspect.aj(1k):109)
at =
org.apache.cactus.server.ServletTestRedirector.dispatch112_doGet(ServletT=
estRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):96)
at =
org.apache.cactus.server.ServletTestRedirector.around112_doGet(ServletTes=
tRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1149)
at =
org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirecto=
r.java;org/apache/cactus/util/log/LogAspect.aj(1k):92)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at =
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat=
ionFilterChain.java:247)
at =
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte=
rChain.java:193)
at =
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
.java:243)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve=
.java:201)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344=
)
at =
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:=
164)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
ve.java:170)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:564)
at =
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
170)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:564)
at =
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)=

at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:564)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j=
ava:163)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.ja=
va:1011)
at =
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1=
106)
at java.lang.Thread.run(Thread.java:484)


reply soon
Patrick


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