jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Priya Sivasubramanian , Tidel Park - Chennai" <Pri...@msdc.hcltech.com>
Subject RE: Problem with Tomcat Quckstart demonstration
Date Thu, 29 Jan 2004 09:45:02 GMT
Mike,
org.apache.cactus.client.ParsingException: Not a valid response [503 Servlet
ServletRedirector is currently unavailable]
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.callGetResult(Defa
ultHttpClient.java:249)
	at org.apache.cactus


This clearly says about configuration issue in web.xml .

Plz verify you configured web.xml for Testing servlet properly.

Regds
Priyas

-----Original Message-----
From: Mike Kenny - CPX Mngd Services [mailto:Mike.Kenny@Comparex.co.za] 
Sent: Thursday, January 29, 2004 1:56 PM
To: Cactus Users List
Subject: RE: Problem with Tomcat Quckstart demonstration

Priya,

thanks for the response, but that is what I am trying to follow.
At the end of this mail I have added the stack trace from my
original problem.
I have tried building cactus.jar frm sourece so that I can add
some debug logging to try and finc out what is happening, but this
also fails :

file:../build-commons.xml:97: Unsupported J2EE version or invalid
J2EE jar [${j2ee.12.jar}]

I suspect that I have some form of versioning issue, but don't 
know what it could be.

My environment is :

java: 			1.4.2 build 1.4.2-b28
tomcat: 			4.1.27
cactus.jar:			1.5
commons-httpclient.jar:	2.0-rc2
commons-logging.jar:	1.0.3
junit.jar:			3.8.1	
aspectjrt.jar:		1.1.1

Any ideas?
<testsuites>
-
	<testsuite name="TestSampleServlet" tests="1" failures="0"
errors="1" time="0.036">
-
	<testcase name="testSaveToSession" time="0.033">
-
	<error message="Failed to get the test results at
[http://172.21.11.15:8080/test/ServletRedirector]"
type="org.apache.cactus.util.ChainedRuntimeException">
org.apache.cactus.util.ChainedRuntimeException: Failed to get the test
results at [http://172.21.11.15:8080/test/ServletRedirector]
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody0
(DefaultHttpClient.java:131)
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody1
$advice(DefaultHttpClient.java:240)
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttp
Client.java)
	at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(WebCl
ientTestCaseDelegate.java:333)
	at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTest(W
ebClientTestCaseDelegate.java:281)
	at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebClien
tTestCaseDelegate.java:257)
	at
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.java
:313)
	at
org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody0(ServletT
estRunner.java:209)
	at
org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody1$advice(S
ervletTestRunner.java:158)
	at
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.ja
va)
	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(Application
FilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	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:601)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:392)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
	at java.lang.Thread.run(Thread.java:534)
org.apache.cactus.client.ParsingException: Not a valid response [503 Servlet
ServletRedirector is currently unavailable]
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.callGetResult(Defa
ultHttpClient.java:249)
	at org.apache.cactus
.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClien
t.java:126)
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody1
$advice(DefaultHttpClient.java:240)
	at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttp
Client.java)
	at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(WebCl
ientTestCaseDelegate.java:333)
	at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTest(W
ebClientTestCaseDelegate.java:281)
	at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebClien
tTestCaseDelegate.java:257)
	at
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.java
:313)
	at
org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody0(ServletT
estRunner.java:209)
	at
org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody1$advice(S
ervletTestRunner.java:158)
	at
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.ja
va)
	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(Application
FilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	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:601)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:392)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
	at java.lang.Thread.run(Thread.java:534)
</error>
</testcase>
</testsuite>
</testsuites>
Stack Trace:



-----Original Message-----
From: Priya Sivasubramanian , Tidel Park - Chennai
[mailto:PriyaS@msdc.hcltech.com]
Sent: Thursday, January 29, 2004 6:58 AM
To: Cactus Users List
Subject: RE: Problem with Tomcat Quckstart demonstration


Hi Mike Kenny,

Please follow the 20mts tutorial of cactus.

Regds
Priya

-----Original Message-----
From: Mike Kenny - CPX Mngd Services [mailto:Mike.Kenny@Comparex.co.za] 
Sent: Wednesday, January 28, 2004 6:53 PM
To: cactus-user@jakarta.apache.org
Subject: FW: Problem with Tomcat Quckstart demonstration

Hi,
 
apologies if this is a dumb question, but I am just trying to walk
through the intoductory tutorial to start to gain an understanding of
cactus. My problem is that after creating the SampleServlet and
TestSampleServlet classes, editing the web.xml, deploying the classes,
restarting tomcat and entering the url, I receive
 
org.apache.cactus.util.ChainedRuntimeException: Failed to get the test
results at [http://localhost:8080/test/ServletRedirector] at
 
followed by a stack trace.
 
I am pretty sure that I must have copied somethng down incorrectly from
the web site, but can't see what it might be. If the entire stack trace
is required I can post it, right now it is bit difficult as that system
is not on a network. In any case the trace only refers to entry points
within the org.apache package.
 
I am using tomcat 4.1.27 and cactus 1.5
 
Thanks

Kind Regards,

 

Mike Kenny

Principal Consultant

Managed Services

Comparex Africa (Pty) Ltd

 

Tel:        +27 (0)11 266 5703

Cell:        +27 (0)83 266 1437

Fax:         +27 (0)99 999 9999

Email:       mike.kenny@Comparex.co.za
<mailto:imike.kenny@Comparex.co.za> 

Web Site: www.Comparex.co.za

NOTICES: 

(1) This message and any attachments are confidential and intended
solely for the addressee.  If you have received this message in error,
please notify the sender at Comparex Africa (Pty) Ltd immediately. Any
unauthorised use, alteration or dissemination is prohibited.

(2) Comparex Africa (Pty) Ltd accepts no liability whatsoever for any
loss whether it be direct, indirect or consequential, arising from
information made available and actions resulting there from.

(3) Please note that Comparex Africa only binds itself by way of signed
agreements. "Signed" refers to a hand-written signature, excluding any
signature appended by "electronic communication" as defined in the
Electronic Communications and Transactions Act, no. 25 of 2002.

(4) Directors: P.A. Watt, A.C. Farthing, M.W.  Schoeman

(5) Comparex Africa (Pty) Ltd Company Registration Number:
1993/003683/07

 


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org

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