jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: Problem with EJB-Howto - Jboss
Date Fri, 09 May 2003 19:16:29 GMT

> -----Original Message-----
> From: cassio@softall.com.br [mailto:cassio@softall.com.br]
> Sent: 09 May 2003 20:25
> To: cactus-user@jakarta.apache.org
> Subject: RE: Problem with EJB-Howto - Jboss
> 
> Hi, Vincent
> 
> Thanks for your fast response!!!
> I've found the error in the web.xml:
> <servlet-mapping>
>         <servlet-name>ServletRedirector</servlet-name>
>         <url-pattern>/ServletRedirector/</url-pattern>
> </servlet-mapping>
> The J2EERI Tutorial have an extra "/" after "/ServletRedirector"!!!
> I don't know if this slash is not necessary for Jboss-Tomcat or it is
an
> error that must be corrected in this tutorial...

Thanks. Fixed in the doc (will be on the web site during the next
upload).
-Vincent

> 
> Best regards,
> Cassio
> 
> Original Message:
> -----------------
> From: Vincent Massol vmassol@pivolis.com
> Date: Fri, 9 May 2003 19:06:51 +0200
> To: cactus-user@jakarta.apache.org, cassio@softall.com.br
> Subject: RE: Problem with EJB-Howto - Jboss
> 
> 
> Hi Cassio,
> 
> The stack trace you have provided says it all: "HTTP Status 404 -
> /p4t-web/ServletRedirector". This means that the cactus client side
> cannot connect to the Cactus servlet redirector in your webapp.
> 
> Try modifying your configuration
>
(http://jakarta.apache.org/cactus/integration/manual/howto_config.html#s
> erverside) until the call to the following URL works:
> 
>
http://localhost:[yourport]/p4t-web/ServletRedirector?Cactus_Service=RUN
> _TEST
> 
> Hope it helps,
> -Vincent
> 
> > -----Original Message-----
> > From: Cassio [mailto:cassio@softall.com.br]
> > Sent: 09 May 2003 18:37
> > To: cactus-user@jakarta.apache.org
> > Subject: Problem with EJB-Howto - Jboss
> >
> > Hi,
> >
> > I'm trying to run the program explained into J2EERI Tutorial, but
I'm
> > having some problems (see the error below).
> > I'm using Jboss 3.0.6 with Tomcat...
> > Can somebody help me out???
> >
> > The error I've got...:
> > <?xml version="1.0" encoding="UTF-8" ?>
> > - <testsuites>
> > - <testsuite name="org.apache.cactus.sample.ejb.ConverterTest"
> tests="1"
> > failures="0" errors="1" time="2.343">
> > - <testcase name="testConvert" time="1.863">
> >   <error message="Failed to get the test results.
> >   This is probably due to an error that happened on the server side
> when
> > trying to execute the
> >   tests. Here is what was returned by the server :
> >   [<html><head><title>Apache Tomcat/4.1.18-LE-jdk14 - Error
> > report</title><STYLE><!--H1{font-family :
> >   sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;}
> > H3{font-family : sans-serif,Arial,Tahoma;color :
> >   white;background-color : #0086b2;} BODY{font-family : sans-
> > serif,Arial,Tahoma;color : black;background-color : white;} B{color
:
> > white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE>
> > </head><body><h1>HTTP Status 404 -
/p4t-web/ServletRedirector</h1><HR
> > size="1" noshade><p><b>type</b> Status report</p><p><b>message</b>
> > <u>/p4t-web/ServletRedirector</u></p><p><b>description</b>
<u>The
> > requested resource (/p4t-web/ServletRedirector) is not
> > available.</u></p><HR size="1" noshade><h3>Apache Tomcat/4.1.18-LE-
> > jdk14</h3></body></html>]"
> >
>
type="org.apache.cactus.util.ChainedRuntimeException">org.apache.cactus.
> ut
> > il.ChainedRuntimeException: Failed to get the test results. This is
> > probably due to an error that happened on the server side when
trying
> to
> > execute the tests. Here is what was returned by the server :
> > [<html><head><title>Apache Tomcat/4.1.18-LE-jdk14 - Error
> > report</title><STYLE><!--H1{font-family :
> sans-serif,Arial,Tahoma;color :
> > white;background-color : #0086b
> >  2;} H3{font-family : sans-serif,Arial,Tahoma;color :
> white;background-
> > color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color :
> > black;background-color : white;} B{color : white;background-color :
> > #0086b2;} HR{color : #0086b2;} --></STYLE> </head><body><h1>HTTP
> Status
> > 404 - /p4t-web/ServletRedirector</h1><HR size="1"
> noshade><p><b>type</b>
> > Status report</p><p><b>message</b> <u>/p4t-
> > web/ServletRedirector</u></p><p><b>description</b>
<u>The requested
> > resource (/p4t-web/ServletRedirector) is not available.</u></p><HR
> > size="1" noshade><h3>Apache
Tomcat/4.1.18-LE-jdk14</h3></body></html>]
> at
> >
>
org.apache.cactus.client.connector.http.DefaultHttpClient.dispatch50_doT
> es
> >
>
t(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj[1k]:134
> )
> > at
> >
>
org.apache.cactus.client.connector.http.DefaultHttpClient.around50_doTes
> t(
> >
>
DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj[1k]:1222)
> > at
> >
>
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(Default
> Ht
> > tpClient.j
> >  ava;org/apache/cactus/util/log/LogAspect.aj[1k]:115) at
> >
>
org.apache.cactus.AbstractWebServerTestCase.runWebTest(AbstractWebServer
> Te
> > stCase.java:272) at
> >
>
org.apache.cactus.AbstractWebServerTestCase.runGenericTest(AbstractWebSe
> rv
> > erTestCase.java:214) at
> >
>
org.apache.cactus.AbstractWebServerTestCase.runTest(AbstractWebServerTes
> tC
> > ase.java:288) at
> >
>
org.apache.cactus.AbstractClientTestCase.runBare(AbstractClientTestCase.
> ja
> > va:289) at
> >
>
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.
> ja
> > va;org/apache/cactus/util/log/LogAspect.aj[1k]:313) at
> >
>
org.apache.cactus.server.runner.ServletTestRunner.dispatch79_doGet(Servl
> et
> > TestRunner.java;org/apache/cactus/util/log/LogAspect.aj[1k]:209) at
> >
>
org.apache.cactus.server.runner.ServletTestRunner.around79_doGet(Servlet
> Te
> > stRunner.java;org/apache/cactus/util/log/LogAspect.aj[1k]:1151) at
> >
>
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunne
> r.
> > java;org/apache/cactus/util/log/LogAspect.aj[1k]:185) at
> > javax.servlet.http.Htt
> >  pServlet.service(HttpServlet.java:740) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> ti
> > onFilterChain.java:247) at
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> er
> > Chain.java:193) at
> >
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.
> > java:260) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:643) at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80
> > ) at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> >
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.
> > java:191) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:643) at
> >
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
> va
> > :246) at org.apache.catalina.core.StandardPipeline$StandardPipeli
> >  neValveContext.invokeNext(StandardPipeline.java:641) at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80
> > ) at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> >
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
> 5)
> > at
> >
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :1
> > 80) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:643) at
> >
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
> lv
> > e.java:170) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:641) at
> >
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :1
> > 72) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:641) at
> >
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509
> )
> > at org.apache.catalina.core.StandardPipeli
> >
ne$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80
> > ) at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> >
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> ja
> > va:174) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:643) at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80
> > ) at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
>
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> > at
> >
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:43
> 2)
> > at
> >
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
> on
> > nection(Http11Protocol.java:386) at
> >
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:53
> 4)
> > at
> >
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .j
> >  ava:530) at java.lang.Thread.run(Thread.java:536)
> > org.apache.cactus.client.ParsingException: Not a valid response.
First
> 100
> > characters of the reponse: [<html><head><title>Apache
> Tomcat/4.1.18-LE-
> > jdk14 - Error report</title><STYLE><!--H1{font-family : s] at
> >
>
org.apache.cactus.client.WebTestResultParser.readRootElement(WebTestResu
> lt
> > Parser.java;org/apache/cactus/util/log/LogAspect.aj[1k]:145) at
> >
>
org.apache.cactus.client.WebTestResultParser.dispatch58_parse(WebTestRes
> ul
> > tParser.java;org/apache/cactus/util/log/LogAspect.aj[1k]:101) at
> >
>
org.apache.cactus.client.WebTestResultParser.around58_parse(WebTestResul
> tP
> > arser.java;org/apache/cactus/util/log/LogAspect.aj[1k]:1222) at
> >
>
org.apache.cactus.client.WebTestResultParser.parse(WebTestResultParser.j
> av
> > a;org/apache/cactus/util/log/LogAspect.aj[1k]:96) at
> >
>
org.apache.cactus.client.connector.http.DefaultHttpClient.callGetResult(
> De
> >
faultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj[1k]:255)
> at
> > org.apache.cactus.client.connector.http.De
> >
> >
>
faultHttpClient.dispatch50_doTest(DefaultHttpClient.java;org/apache/cact
> us
> > /util/log/LogAspect.aj[1k]:126) at
> >
>
org.apache.cactus.client.connector.http.DefaultHttpClient.around50_doTes
> t(
> >
>
DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj[1k]:1222)
> > at
> >
>
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(Default
> Ht
> > tpClient.java;org/apache/cactus/util/log/LogAspect.aj[1k]:115) at
> >
>
org.apache.cactus.AbstractWebServerTestCase.runWebTest(AbstractWebServer
> Te
> > stCase.java:272) at
> >
>
org.apache.cactus.AbstractWebServerTestCase.runGenericTest(AbstractWebSe
> rv
> > erTestCase.java:214) at
> >
>
org.apache.cactus.AbstractWebServerTestCase.runTest(AbstractWebServerTes
> tC
> > ase.java:288) at
> >
>
org.apache.cactus.AbstractClientTestCase.runBare(AbstractClientTestCase.
> ja
> > va:289) at
> >
>
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.
> ja
> > va;org/apache/cactus/util/log/LogAspect.aj[1k]:313) at
> >
>
org.apache.cactus.server.runner.ServletTestRunner.dispatch79_doGet(Servl
> et
> > TestRunner.java;org
> >  /apache/cactus/util/log/LogAspect.aj[1k]:209) at
> >
>
org.apache.cactus.server.runner.ServletTestRunner.around79_doGet(Servlet
> Te
> > stRunner.java;org/apache/cactus/util/log/LogAspect.aj[1k]:1151) at
> >
>
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunne
> r.
> > java;org/apache/cactus/util/log/LogAspect.aj[1k]:185) 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(Applica
> ti
> > onFilterChain.java:247) at
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> er
> > Chain.java:193) at
> >
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.
> > java:260) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:643) at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80
> > ) at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995
> >  ) at
> >
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.
> > java:191) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:643) at
> >
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
> va
> > :246) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:641) at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80
> > ) at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> >
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
> 5)
> > at
> >
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :1
> > 80) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:643) at
> >
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
> lv
> > e.java:170) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeN
> >  ext(StandardPipeline.java:641) at
> >
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :1
> > 72) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:641) at
> >
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509
> )
> > at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:641) at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80
> > ) at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> >
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> ja
> > va:174) at
> >
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nv
> > okeNext(StandardPipeline.java:643) at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80
> > ) at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
>
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> >  at
> >
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:43
> 2)
> > at
> >
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
> on
> > nection(Http11Protocol.java:386) at
> >
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:53
> 4)
> > at
> >
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .j
> > ava:530) at java.lang.Thread.run(Thread.java:536)</error>
> >   </testcase>
> >   </testsuite>
> >   </testsuites>
> >
> > Sds,
> > Cassio
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message