jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Chalupa <lchal...@seelink.org>
Subject RE: Configuration questions
Date Fri, 13 Aug 2004 16:07:20 GMT
Here is the trace I'm getting when I try to run cactus via eclipse Junit. I get
same error if I try to run via the browser.

Any ideas?

lee

org.apache.cactus.util.ChainedRuntimeException: Failed to get the test results
at [http://localhost:8080/LytecReports/Servlet/ServletRedirector]
	at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:92)
	at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:206)
	at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
	at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runWebTest(HttpProtocolHandler.java:159)
	at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody0(HttpProtocolHandler.java:80)
	at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody1$advice(HttpProtocolHandler.java:206)
	at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest(HttpProtocolHandler.java)
	at
org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestCaseCaller.java:144)
	at
org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(AbstractCactusTestCase.java:215)
	at
org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactusTestCase.java:133)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)
org.apache.cactus.internal.client.ParsingException: Not a valid response. First
100 characters of the reponse: [<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">

<html>
<head>
	<title>Lytec Rep]
	at
org.apache.cactus.internal.client.WebTestResultParser.readRootElement(WebTestResultParser.java:106)
	at
org.apache.cactus.internal.client.WebTestResultParser.parse_aroundBody0(WebTestResultParser.java:62)
	at
org.apache.cactus.internal.client.WebTestResultParser.parse_aroundBody1$advice(WebTestResultParser.java:206)
	at
org.apache.cactus.internal.client.WebTestResultParser.parse(WebTestResultParser.java)
	at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.callGetResult(DefaultHttpClient.java:218)
	at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:87)
	at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:206)
	at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
	at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runWebTest(HttpProtocolHandler.java:159)
	at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody0(HttpProtocolHandler.java:80)
	at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody1$advice(HttpProtocolHandler.java:206)
	at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest(HttpProtocolHandler.java)
	at
org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestCaseCaller.java:144)
	at
org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(AbstractCactusTestCase.java:215)
	at
org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactusTestCase.java:133)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)



Quoting Vincent Massol <vmassol@pivolis.com>:

> Hi Lee,
>
> > -----Original Message-----
> > From: Lee Chalupa [mailto:lchalupa@seelink.org]
> > Sent: vendredi 13 août 2004 03:38
> > To: cactus-user@jakarta.apache.org
> > Subject: Configuration questions
> >
> >
> > Hello:
> >
> > I've read the documentation on how to configure cactus on the website and
> > I'm
> > very confused.  I'm getting an error message on the client side when I try
> > to
> > run the test runner in a browser and I have no clue what the error means.
> >
> > I've tried to configure logging to get more information on the error but
> > haven't
> > made much progress there either.
> >
> > I'm trying to test servlets in Tomcat using either the browser on the
> > client
> > side or junit within eclipse.  I'd like to use JDK1.4 Logger.
> >
> > Can someone help get me started.
>
> 1/ You need to tell us what's going wrong (show us the returned XML for
> example) or we can't help...
>
> 2/ To configure Cactus logging, you need to read and do exactly what's
> mentioned on
> http://jakarta.apache.org/cactus/integration/manual/howto_config.html
>
> Thanks
> -Vincent
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Mime
View raw message