On 8/1/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
On 8/1/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> Somewhere in the changes over the last couple of days, the old system
> integration tests on apps like shale-blank (mvn -Pitest install) have
> stopped working ... I get an exception from Cargo saying it is not able
to
> create a deployable container. Wendy, does this still work for you?
No problems here:
Very wierd ... I get an obscure XML parsing error in the log output ...
almost like someone is using the wrong XML parser along the way.
Craig
---
Test set: org.apache.shale.blank.systest.WelcomeTestCase
---
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.908 sec
<<< FAILURE!
org.apache.shale.blank.systest.WelcomeTestCase Time elapsed: 1,154,495,
733.074
sec <<< ERROR!
org.codehaus.cargo.container.ContainerException: Failed to create deployable
for the pair (container id [tomcat5x], deployable type [war]).
at
org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation
(AbstractGenericHintFactory.java:126)
at
org.codehaus.cargo.generic.spi.AbstractIntrospectionGenericHintFactory.createImplementation
(AbstractIntrospectionGenericHintFactory.java:88)
at
org.codehaus.cargo.generic.deployable.DefaultDeployableFactory.createDeployable
(DefaultDeployableFactory.java:120)
at org.apache.shale.test.cargo.CargoTestSetup.setUp(
CargoTestSetup.java:94)
at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(
JUnitTestSet.java:210)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(
AbstractDirectoryTestSuite.java:135)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(
SurefireBooter.java:747)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at
org.codehaus.cargo.generic.deployable.DefaultDeployableFactory.createInstance
(DefaultDeployableFactory.java:149)
at
org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation
(AbstractGenericHintFactory.java:122)
... 20 more
Caused by: org.codehaus.cargo.container.ContainerException: Failed to parse
Tomcat WAR file in
[/home/craigmcc/Apache/shale/current/framework/shale-apps/shale-blank/target/shale-
blank.war]
at org.codehaus.cargo.container.tomcat.TomcatWAR.(
TomcatWAR.java:54)
... 26 more
Caused by: org.codehaus.cargo.module.DtdParseException: Failed to parse dtd
at org.codehaus.cargo.module.Dtd.(Dtd.java:161)
at org.codehaus.cargo.module.webapp.tomcat.TomcatContextXml.(
TomcatContextXml.java:51)
at
org.codehaus.cargo.module.webapp.tomcat.TomcatContextXmlIo.parseTomcatConfigXml
(TomcatContextXmlIo.java:50)
at
org.codehaus.cargo.module.webapp.tomcat.TomcatWarArchive.parseTomcatContextXml
(TomcatWarArchive.java:105)
at org.codehaus.cargo.module.webapp.tomcat.TomcatWarArchive.(
TomcatWarArchive.java:64)
at org.codehaus.cargo.container.tomcat.TomcatWAR.(
TomcatWAR.java:50)
... 26 more
Caused by: org.xml.sax.SAXNotSupportedException: not supported setting
propertyhttp://xml.org/sax/properties/declaration-handler
at org.gjt.xpp.sax2.Driver.setProperty(Driver.java:202)
at org.codehaus.cargo.module.Dtd.(Dtd.java:144)
... 31 more
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessor