jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanlan, Dominic - Senior Developer" <dhan...@icc.co.uk>
Subject Newbie problem ?
Date Thu, 22 Aug 2002 11:12:05 GMT
Hi,

completely new to Cactus, using Orion1.5.2, and jdk 1.4.0. I have configured
the build.properties with the correct Orion settings and running the sample
supplied with Cactus I get the output, below. The error seems related to an
HTTP parsing error ?

Is this a FAQ / configuration issue, if so sorry and point me to the
relevant docs, else ??????

What is the clover.jar for, it appears to be undefined ??

Cheers

/Dominic


check.test.resin.20
echo

echo
******************************************************
echo
WARNING : The 'resin.home.20' property has not been
echo
set. No test will be run on that servlet engine.
echo
******************************************************
echo

display.properties
echo
----- Cactus Servlet Sample 1.4b1 -----
echo

echo
java.class.path =
C:\j2sdk1.4.0\jre\lib\rt.jar;C:\j2sdk1.4.0\jre\lib\ext\dnsns.jar;C:\j2sdk1.4
.0\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.0\jre\lib\ext\localedata.jar;C:\j2sdk
1.4.0\jre\lib\ext\sunjce_provider.jar;C:\j2sdkee1.3\lib\j2ee.jar;C:\orion\li
b\ifxjdbc.jar;C:\orion\lib\poi-poifs.jar;C:\orion\lib\jdom.jar;C:\orion\lib\
avalon-framework-4.0.jar;C:\orion\lib\cryptix32.jar;C:\orion\lib\poi-util.ja
r;C:\orion\lib\poi-hssf.jar;C:\orion\lib\pdflib.jar;C:\orion\lib\ExtenXLS.ja
r;C:\orion\lib\log4j.jar;C:\orion\lib\hssf-serializer.jar;C:\orion\lib\batik
.jar;C:\orion\lib\fop.jar;C:\orion\lib\log4j-core.jar;C:\orion\lib\logkit-1.
0b4.jar;C:\orion\lib\hsql.jar;C:\orion\lib\JavaRequest.jar;C:\orion\lib\xerc
es.jar;C:\intellij2.6\lib\junit.jar;C:\Aquila0_1_dev\aquila\icc\aquila\User;
C:\src\jakarta-cactus-13-1.4b1\lib\aspectjrt-1.0.5.jar;C:\src\jakarta-cactus
-13-1.4b1\lib\cactus-1.4b1.jar;C:\src\jakarta-cactus-13-1.4b1\lib\cactus-ant
-1.4b1.jar;C:\src\jakarta-cactus-13-1.4b1\lib\commons-httpclient-2.0alpha1-2
0020720.jar;C:\src\jakarta-cactus-13-1.4b1\lib\commons-logging-1.0.jar;C:\sr
c\jakarta-cactus-13-1.4b1\lib\httpunit-1.4.1.jar;C:\src\jakarta-cactus-13-1.
4b1\lib\junit-3.7.jar;C:\src\jakarta-cactus-13-1.4b1\lib\log4j-1.2.5.jar;C:\
src\jakarta-cactus-13-1.4b1\lib\servletapi-2.3.jar;C:\intellij2.6\classes;C:
\j2sdk1.4.0\lib\tools.jar;C:\intellij2.6\lib\idea.jar;C:\intellij2.6\lib\ant
.jar;C:\intellij2.6\lib\optional.jar;C:\intellij2.6\lib\junit.jar;C:\intelli
j2.6\lib\jaxp.jar;C:\intellij2.6\lib\crimson.jar
echo

echo
java.home = C:\j2sdk1.4.0\jre
echo
user.home = C:\Documents and Settings\dhanlan
echo
ant.home = ${ant.home}
echo

echo
cactus.framework.jar = ../lib/cactus-1.4b1.jar
echo
cactus.ant.jar = ../lib/cactus-ant-1.4b1.jar
echo
servlet.jar = ../lib/servletapi-2.3.jar
echo
aspectjrt.jar = ../lib/aspectjrt-1.0.5.jar
echo
commons.logging.jar = ../lib/commons-logging-1.0.jar
echo
commons.httpclient.jar = ../lib/commons-httpclient-2.0alpha1-20020720.jar
echo
httpunit.jar = ../lib/httpunit-1.4.1.jar
echo
junit.jar = ../lib/junit-3.7.jar
echo

echo
log4j.jar (optional) = ../lib/log4j-1.2.5.jar
echo
clover.jar (optional) = ${clover.jar}
echo

echo
test.port = 8082
echo

check.properties.test
condition
check.properties.warn
check.properties
init
tstamp
filter
filter
filter
filter
filter
taskdef
compile.sample
mkdir
javac
compile.unit
mkdir
javac
compile
prepare.testwar.log4j
copy
prepare.testwar.clover
prepare.test
copy
copy
testwar
copy
copy
copy
copy
copy
mkdir
war
Building war:
C:\src\jakarta-cactus-13-1.4b1\sample-servlet\target\test\test.war
prepare.test.resin.20
test.resin.20
check.test.resin.13
echo

echo
******************************************************
echo
WARNING : The 'resin.home.13' property has not been 
echo
set. No test will be run on that servlet engine.
echo
******************************************************
echo

prepare.test.resin.13
test.resin.13
check.test.tomcat.40
echo

echo
******************************************************
echo
WARNING : The 'tomcat.home.40' property has not been
echo
set. No test will be run on that servlet engine.
echo
******************************************************
echo

prepare.test.tomcat.40
test.tomcat.40
check.test.orion.14
echo

echo
******************************************************
echo
WARNING : The 'orion.home.14' property has not been
echo
set. No test will be run on that servlet engine.
echo
******************************************************
echo

prepare.test.orion.14
test.orion.14
check.test.orion.15
prepare.test.orion.15
echo
orion.home.15 = c:/orion
property
property
mkdir
mkdir
mkdir
copy
copy
Copying 1 file to
C:\src\jakarta-cactus-13-1.4b1\sample-servlet\target\test\orion15
test.orion.15
runservertests
start.orion.15
java
Auto-unpacking
C:\src\jakarta-cactus-13-1.4b1\sample-servlet\target\test\orion15\test.war..
. done.
Orion/1.5.2 initialized
test
junit
Running org.apache.cactus.unit.TestAll
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.963 sec
Testsuite: org.apache.cactus.unit.TestAll
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.963 sec

Testcase: testLongProcess took 1.953 sec
	Caused an ERROR
org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the
status line from the response: unable to find line starting with "HTTP/"
org.apache.commons.httpclient.HttpException:
org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the
status line from the response: unable to find line starting with "HTTP/"
	at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:494
)
	at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:316)
	at
org.apache.cactus.client.HttpClientConnectionHelper.dispatch24_connect(HttpC
lientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):163
)
	at
org.apache.cactus.client.HttpClientConnectionHelper.around24_connect(HttpCli
entConnectionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):1236)
	at
org.apache.cactus.client.HttpClientConnectionHelper.connect(HttpClientConnec
tionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):105)
	at
org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.j
ava;org/apache/cactus/util/log/LogAspect.java(1k):186)
	at
org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHttpCli
ent.java;org/apache/cactus/util/log/LogAspect.java(1k):109)
	at
org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpClien
t.java;org/apache/cactus/util/log/LogAspect.java(1k):1236)
	at
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;o
rg/apache/cactus/util/log/LogAspect.java(1k):104)
	at
org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase.jav
a:260)
	at
org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)
	at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:195)
	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:131)
	at junit.framework.TestSuite.runTest(TestSuite.java:173)
	at junit.framework.TestSuite.run(TestSuite.java:168)
	at junit.framework.TestSuite.runTest(TestSuite.java:173)
	at junit.framework.TestSuite.run(TestSuite.java:168)
	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
nner.java:231)
	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.java:409)

C:\src\jakarta-cactus-13-1.4b1\sample-servlet\build\build.xml:355: Test
org.apache.cactus.unit.TestAll failed
C:\src\jakarta-cactus-13-1.4b1\sample-servlet\build\build.xml:355: Test
org.apache.cactus.unit.TestAll failed
stop.orion.15
java
Shutting down...
Server stopped !
C:\src\jakarta-cactus-13-1.4b1\sample-servlet\build\build.xml:355: Test
org.apache.cactus.unit.TestAll failed
C:\src\jakarta-cactus-13-1.4b1\sample-servlet\build\build.xml:355: Test
org.apache.cactus.unit.TestAll failed
C:\src\jakarta-cactus-13-1.4b1\sample-servlet\build\build.xml:355: Test
org.apache.cactus.unit.TestAll failed

Build completed with 5 errors and 47 warnings

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


Mime
View raw message