I'm receiving the following error running webtest in the wt.htmlReports target:

BUILD FAILED
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/build-common.xml:
472: The following error occurred while executing this line:
java.lang.LinkageError: groovy.xml.StreamingMarkupBuilder$25

When I run on my PC from my IDE (Workshop / eclipse) or the DOS
command prompt the process runs fine. When running the test on our
development server (AIX 5.3) from bash the problem occurs. Both
environments are using ant 1.6.5 and webtest R_1644

The error occurs in the wt.htmlReports target. The mkdir, copy, and
both xslt tasks run fine. The error hits on the <groovyScript> task of
the wt.htmlReports target.

My guess is that there's a conflicting class being loaded, but have
not been able to identify the root cause. I see some posts on the
Groovy forums about LinkageError issues and fixes applied in Groovy
1.1 or later (although only 1.0 and 1.5 are available for download).
Is there a simple way to have WebTest use Groovy 1.5? Replacing the
1.0 jar with the 1.5 jar caused other errors (not surprising, but
figured it was worth a shot).

I linked ~/.ant/lib to the webtest.home/lib folder. After doing this
java.class.path shows
 /proj/ec/tools/apache-ant-1.6.5/lib/ant-launcher.jar as the first
entry. That's followed by all the webtest jars, so it's should be
using all the webtest classes before any others. The error still
occurs after making this change.

I searched the webtest mailing list archive for "LinkageError" and for
"StreamingMarkupBuilder" but didn't get any matches. My search for
"groovy" turned up several matches, but those I read did not have the
answer.

Any suggestions on things to try or is there additional information
that would help analyze the problem?

Here is a more complete set of information about the problem.

%> ant -Denvironment=dev -Dwt.headless=true test.services
Buildfile: build.xml

test.services:
     [echo]
     [echo]                     java.class.path is
/proj/ec/tools/apache-ant-1.6.5/lib/ant-launcher.jar:/home/ecuser/.ant/lib/activation-1.1.jar:/home/ecuser/.a
nt/lib/ant-1.6.5.jar:/home/ecuser/.ant/lib/ant-apache-bsf-1.6.5.jar:/home/ecuser/.ant/lib/ant-junit-1.6.5.jar:/home/ecuser/.ant/lib/ant-launcher.jar:/home/ecuse
r/.ant/lib/ant-nodeps-1.6.5.jar:/home/ecuser/.ant/lib/ant-trax-1.6.5.jar:/home/ecuser/.ant/lib/bsf-2.4.0.jar:/home/ecuser/.ant/lib/commons-codec-1.3.jar:/home/e
cuser/.ant/lib/commons-collections-3.2.jar:/home/ecuser/.ant/lib/commons-httpclient-3.0.1.jar:/home/ecuser/.ant/lib/commons-io-1.3.1.jar:/home/ecuser/.ant/lib/c
ommons-lang-2.3.jar:/home/ecuser/.ant/lib/commons-logging-1.0.4.jar:/home/ecuser/.ant/lib/dom4j-1.6.1.jar:/home/ecuser/.ant/lib/fontbox-0.1.0-dev-patched-200606
22.jar:/home/ecuser/.ant/lib/groovy-all-1.0.jar:/home/ecuser/.ant/lib/htmlunit-1.13.jar:/home/ecuser/.ant/lib/icu4j-2.6.1.jar:/home/ecuser/.ant/lib/jaxen-1.1.1.
jar:/home/ecuser/.ant/lib/jdom-1.0.jar:/home/ecuser/.ant/lib/jemmy-2.2.7.5.jar:/home/ecuser/.ant/lib/js-1.6R5.jar:/home/ecuser/.ant/lib/junit-3.8.2.jar:/home/ec
user/.ant/lib/log4j-1.2.14.jar:/home/ecuser/.ant/lib/mail-1.4.jar:/home/ecuser/.ant/lib/nekohtml-0.9.5.jar:/home/ecuser/.ant/lib/oro-2.0.6.jar:/home/ecuser/.ant
/lib/pdfbox-0.7.3-dev-log4j-20060612.jar:/home/ecuser/.ant/lib/poi-3.0.1-FINAL.jar:/home/ecuser/.ant/lib/webtest.jar:/home/ecuser/.ant/lib/webtest_T.jar:/home/e
cuser/.ant/lib/xalan-2.6.0.jar:/home/ecuser/.ant/lib/xercesImpl-2.6.2.jar:/home/ecuser/.ant/lib/xml-apis-1.3.02.jar:/home/ecuser/.ant/lib/xmlParserAPIs-2.2.1.ja
r:/home/ecuser/.ant/lib/xom-1.0.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-jai.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-antlr.jar:/proj/ec/tools/apache-ant-
1.6.5/lib/ant-apache-bcel.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-apache-bsf.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-apache-log4j.jar:/proj/ec/tools/apa
che-ant-1.6.5/lib/ant-apache-oro.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-apache-regexp.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-apache-resolver.jar:/proj
/ec/tools/apache-ant-1.6.5/lib/ant-commons-logging.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-commons-net.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-contrib.j
ar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-icontract.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-javamail.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-jdepend.ja
r:/proj/ec/tools/apache-ant-1.6.5/lib/ant-jmf.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-jsch.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-junit.jar:/proj/ec/to
ols/apache-ant-1.6.5/lib/ant-launcher.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-netrexx.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-nodeps.jar:/proj/ec/tools/
apache-ant-1.6.5/lib/ant-starteam.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-stylebook.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-swing.jar:/proj/ec/tools/apa
che-ant-1.6.5/lib/ant-trax.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-vaj.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-weblogic.jar:/proj/ec/tools/apache-ant-1.
6.5/lib/ant-xalan1.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant-xslp.jar:/proj/ec/tools/apache-ant-1.6.5/lib/ant.jar:/proj/ec/tools/apache-ant-1.6.5/lib/bsf.jar:
/proj/ec/tools/apache-ant-1.6.5/lib/js-1.6R5.jar:/proj/ec/tools/apache-ant-1.6.5/lib/xercesImpl.jar:/proj/ec/tools/apache-ant-1.6.5/lib/xml-apis.jar:/proj/ec/to
ols/apache-ant-1.6.5/lib/junit.jar:/proj/ec/tools/apache-ant-1.6.5/lib/HPAntTasks.jar:/proj/ec/tools/apache-ant-1.6.5/lib/cvslib.jar:/proj/ec/tools/apache-ant-1
.6.5/lib/jakarta-oro-2.0.7.jar:/proj/ec/tools/apache-ant-1.6.5/lib/jsch-0.1.16.jar:/proj/ec/tools/apache-ant-1.6.5/lib/maverick-ant.jar:/proj/ec/tools/apache-an
t-1.6.5/lib/emma_ant.jar:/proj/ec/tools/apache-ant-1.6.5/lib/emma.jar:/proj/ec/usr/java15sr2/lib/tools.jar
     [echo]

wt.init:

wt.init.headless:

wt.defineTimestamps:

wt.defineTasks.init:

wt.defineTasks:

wt.webtestMonitor:

wt.defineMacros:
     [echo] Defining project macros and custom steps (if any)

wt.generateDtd:
[groovyScript] Scanning for entities...
[groovyScript] 0 entities found
[groovyScript] Already uptodate:
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/dtd/Project.dtd

wt.generateDefinitions:
[groovyScript] Definitions dir not found:
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/definitions.
Ignoring.

wt.createReportsFolder:

wt.deleteReports:
   [delete] Deleting 29 files from
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results
   [delete] Deleted 5 directories from
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results

wt.testInWork:
     [echo] Execution allWebServiceTests.xml in dir
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/api/testing/webtest/HPTests/tests

test:

home:

home:

home:

wt.htmlReports.init:

wt.htmlReports:
    [mkdir] Created dir:
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/resources
     [copy] Copying 20 files to
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/resources
     [xslt] Transforming into
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results
     [xslt] Processing
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/001_VerifyWebService/WebTestReport.xml
to 
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/001_VerifyWebService/WebTestReport.html
     [xslt] Loading stylesheet
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/api/testing/webtest/resources/WebTestReport.xsl
     [xslt] Processing
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/002_VerifyAccountlog/WebTestReport.xml
to 
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/002_VerifyAccountlog/WebTestReport.html
     [xslt] Processing
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/003_VerifyProfileCon/WebTestReport.xml
to 
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/003_VerifyProfileCon/WebTestReport.html
     [xslt] Transforming into
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results
     [xslt] Processing
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/001_VerifyWebService/WebTestReport.xml
to 
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/001_VerifyWebService/WebTestSummary.xml
     [xslt] Loading stylesheet
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/api/testing/webtest/resources/WebTestReportSummaryExtractor.xsl
     [xslt] Processing
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/002_VerifyAccountlog/WebTestReport.xml
to 
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/002_VerifyAccountlog/WebTestSummary.xml
     [xslt] Processing
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/003_VerifyProfileCon/WebTestReport.xml
to 
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/results/003_VerifyProfileCon/WebTestSummary.xml

BUILD FAILED
/proj/ec/automated-builds/build-dev/checkout/deployment-portal/build-common.xml:
451: The following error occurred while executing this line:
java.lang.LinkageError: groovy.xml.StreamingMarkupBuilder$25

Total time: 11 seconds
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to