jboss 5.1 jboss-web.xml is not well formed ?
gerry.matte Oct 28, 2010 7:40 PMI've been converting a jboss 4 web application to be compliant with jboss 5.1
One of the webapp XML files that now has a new prolog (schema now replacing a DTD) is the jboss-web.xml file is causing jboss 5.1 to throw exceptions claiming that the jboss-web.xml file is not well formed. The XML editor in eclipse and my external XML editor (Altova XMLspy) both consider the file to be well formed and compliant with the schema.
Below are the former (jboss 4) and current (jboss 5.1) versions of the file. Can anyone see a cause for the exception shown at the end of this post ?
Thanks in advance
Gerry Matte
[see my reply below]
and the exception stack trace thrown by jboss 5.1 is:
16:00:16,993 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 46s:934ms
16:00:19,747 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/C:/Users/Gerry/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server_(1)1288291257195/deploy/jbossTests.war/ state=Not Installed mode=Manual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/C:/Users/Gerry/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server_(1)1288291257195/deploy/jbossTests.war/
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
[snip] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: The xml jbossTests.war/WEB-INF/jboss-web.xml is not well formed!
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:191)
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:188)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:348)
... 30 more
16:00:19,749 WARN [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):