9 Replies Latest reply: Jul 21, 2011 7:13 AM by Alexey Loubyansky RSS

JBossXBRuntimeException The declaration for the entity "HTML.Version" must end with '>'

David Reed Newbie

I have an application that runs fine in JBoss 4.2.3, but as soon as I try to deploy it in JBoss 6.0 Final, I get the following error stack:

 

2011-03-15 17:11:06,875 WARN  [org.jboss.util.xml.JBossEntityResolver] (Thread-2) Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/javaee

2011-03-15 17:11:38,936 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (Thread-2) Error installing to Parse: name=vfs:///C:/jboss600/server/default/farm/EDOC.war state=PreParse mode=Manual requiredState=Parse: org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs:///C:/jboss600/server/default/farm/EDOC.war

    at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]

    at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:383) [:2.2.0.GA]

    at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343) [:2.2.0.GA]

    at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:315) [:2.2.0.GA]

    at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:255) [:2.2.0.GA]

    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]

    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]

    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]

    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]

    at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]

    at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]

    at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]

    at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]

    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]

    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

    at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]

    at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]

    at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]

    at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]

    at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]

    at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]

    at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]

    at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]

    at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]

    at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

    at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

    at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]

Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: vfs:///C:/jboss600/server/default/farm/EDOC.war/WEB-INF/lib/adf-richclient-impl-11.1.1.4.0-SNAPSHOT.jar/META-INF/afu.tld@1,238

    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:224) [jbossxb.jar:2.0.3.GA]

    at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:178) [jbossxb.jar:2.0.3.GA]

    at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:257) [jbossxb.jar:2.0.3.GA]

    at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:231) [jbossxb.jar:2.0.3.GA]

    at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137) [:2.2.0.GA]

    at org.jboss.deployment.TldParsingDeployer.parse(TldParsingDeployer.java:64) [:6.0.0.Final]

    at org.jboss.deployment.TldParsingDeployer.parse(TldParsingDeployer.java:38) [:6.0.0.Final]

    at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121) [:2.2.0.GA]

    at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.handleMultipleFiles(AbstractVFSParsingDeployer.java:446) [:2.2.0.GA]

    at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:319) [:2.2.0.GA]

    at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:376) [:2.2.0.GA]

    ... 47 more

Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to parse schema for nsURI=http://java.sun.com/xml/ns/javaee, localName=taglib, schemaLocation=null

    at org.jboss.xb.binding.resolver.AbstractMutableSchemaResolver.resolve(AbstractMutableSchemaResolver.java:350) [jbossxb.jar:2.0.3.GA]

    at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:176) [jbossxb.jar:2.0.3.GA]

    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.startElement(SaxJBossXBParser.java:401) [jbossxb.jar:2.0.3.GA]

    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:209) [jbossxb.jar:2.0.3.GA]

    ... 57 more

Caused by: org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 31:3 The declaration for the entity "HTML.Version" must end with '>'.

    at org.jboss.xb.binding.sunday.unmarshalling.XsdBinderTerminatingErrorHandler.handleError(XsdBinderTerminatingErrorHandler.java:40) [jbossxb.jar:2.0.3.GA]

    at org.apache.xerces.impl.xs.XMLSchemaLoader.reportDOMFatalError(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.apache.xerces.impl.xs.XSLoaderImpl.load(Unknown Source) [xercesImpl.jar:6.0.0.Final]

    at org.jboss.xb.binding.Util.loadSchema(Util.java:394) [jbossxb.jar:2.0.3.GA]

    at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:178) [jbossxb.jar:2.0.3.GA]

    at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:149) [jbossxb.jar:2.0.3.GA]

    at org.jboss.xb.binding.resolver.AbstractMutableSchemaResolver.resolve(AbstractMutableSchemaResolver.java:342) [jbossxb.jar:2.0.3.GA]

    ... 71 more

 

 

Any ideas on how to get beyond this?  I have tried adding the <property name="useSchemaValidation">false</property> option to the TldParsingDeployer bean in the war-deployers-jboss-beans.xml file to no avail.

 

This application is a JSF application too.

 

Thanks,

David

  • 1. JBossXBRuntimeException The declaration for the entity "HTML.Version" must end with '>'
    Alexey Loubyansky Master

    This should be fixed in the configuration of deployers/metadata. It looks like https://issues.jboss.org/browse/JBAS-8800

  • 2. JBossXBRuntimeException The declaration for the entity "HTML.Version" must end with '>'
    David Reed Newbie

    The version of JBoss I am running already has that entry in the metadata-deployer-jboss-beams.xml at the bottom of it.  So I am getting this error even with the fixed lines like the following:

     

          <!-- schema classes by QName's -->

          <property name="bindingClassesByElementNames">

             <map keyClass="javax.xml.namespace.QName" valueClass="java.lang.String">

                <entry>

                   <key>

                      <bean class="javax.xml.namespace.QName">

                         <constructor>

                            <!-- namespace -->

                            <parameter>http://java.sun.com/xml/ns/javaee</parameter>

                            <!-- root element name -->

                            <parameter>ejb-jar</parameter>

                         </constructor>

                      </bean>

                   </key>

                   <value>org.jboss.metadata.ejb.spec.EjbJar31MetaData</value>

                </entry>

             </map>

          </property>

     

    Or did I miss something?

     

    Thanks,

    David

  • 3. JBossXBRuntimeException The declaration for the entity "HTML.Version" must end with '>'
    Alexey Loubyansky Master

    Yes, there needs to be an equivalent for the tld added here.

  • 4. Re: JBossXBRuntimeException The declaration for the entity "HTML.Version" must end with '>'
    Den Cormac Newbie

    I am facing the same issue while trying to deploy an application in JBoss 6.0 Final.

     

    "Yes, there needs to be an equivalent for the tld added here."

     

    Alexey, would you please explain this in detail. I am new in JBoss and kind of stuck in this issue.

     

    Thanks,

     

    Den

  • 5. Re: JBossXBRuntimeException The declaration for the entity "HTML.Version" must end with '>'
    Alexey Loubyansky Master

    Assuming the target schema is 2.1, it should be something like this

     

          <!-- schema classes by QName's -->

          <property name="bindingClassesByElementNames">

             <map keyClass="javax.xml.namespace.QName" valueClass="java.lang.String">

                <entry>

                   <key>

                      <bean class="javax.xml.namespace.QName">

                         <constructor>

                            <!-- namespace -->

                            <parameter>http://java.sun.com/xml/ns/javaee</parameter>

                            <!-- root element name -->

                            <parameter>taglib</parameter>

                         </constructor>

                      </bean>

                   </key>

                   <value>org.jboss.metadata.web.spec.Tld21MetaData</value>

                </entry>

             </map>

          </property>

     

    I haven't tested this though, that's why I assigned the issue to the web guys.

  • 6. Re: JBossXBRuntimeException The declaration for the entity "HTML.Version" must end with '>'
    Den Cormac Newbie

    thanks Alexey.

    I have put the above code in metadata-deployer-jboss-beans.xml. But  still getting the same error.

    Should I get the JBoss 7.0.0 Final version ?

  • 7. Re: JBossXBRuntimeException The declaration for the entity "HTML.Version" must end with '>'
    Alexey Loubyansky Master

    If you can switch to AS7, sure, you definitely won't get this error there

    If you can't then post the whole stacktrace here.

  • 8. Re: JBossXBRuntimeException The declaration for the entity "HTML.Version" must end with '>'
    Den Cormac Newbie

    Alexey, i am posting the stacktrace below:

     

     

    *** DEPLOYMENTS IN ERROR: Name -> Error

     

     

    vfs:///D:/Dropbox/jboss-as-distribution-6.0.0.Final/jboss-6.0.0.Final/server/default/deploy/ILP.war -> org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs:///D:/Dropbox/jboss-as-distribution-6.0.0.Final/jboss-6.0.0.Final/server/default/deploy/ILP.war

     

     

     

     

    DEPLOYMENTS IN ERROR:

      Deployment "vfs:///D:/Dropbox/jboss-as-distribution-6.0.0.Final/jboss-6.0.0.Final/server/default/deploy/ILP.war" is in error due to the following reason(s): org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 31:3 The declaration for the entity "HTML.Version" must end with '>'.

     

     

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1316) [:2.2.0.GA]

              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:968) [:2.2.0.GA]

              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:82) [:6.0.0.Final]

              at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.checkComplete(ProfileControllerContext.java:138) [:0.2.2]

              at org.jboss.profileservice.plugins.deploy.actions.DeploymentStartAction.doPrepare(DeploymentStartAction.java:104) [:0.2.2]

              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:101) [:0.2.2]

              at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150) [:0.2.2]

              at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.startDeployments(AbstractDeployHandler.java:168) [:0.2.2]

              at org.jboss.profileservice.management.upload.remoting.DeployHandlerDelegate.startDeployments(DeployHandlerDelegate.java:74) [:6.0.0.Final]

              at org.jboss.profileservice.management.upload.remoting.DeployHandler.invoke(DeployHandler.java:156) [:6.0.0.Final]

              at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:898) [:6.0.0.Final]

              at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106) [:6.0.0.Final]

              at org.jboss.remoting.Client.invoke(Client.java:1961) [:6.0.0.Final]

              at org.jboss.remoting.Client.invoke(Client.java:804) [:6.0.0.Final]

              at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:312) [:6.0.0.Final]

              at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:197) [:6.0.0.Final]

              at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:232) [:6.0.0.Final]

              at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:89) [:6.0.0.Final]

              at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:155) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

              at org.rhq.plugins.jbossas5.util.DeploymentUtils.deployArchive(DeploymentUtils.java:116) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

              at org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeployer.java:119) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

              at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createContentBasedResource(CreateChildResourceFacetDelegate.java:124) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

              at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createResource(CreateChildResourceFacetDelegate.java:56) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

              at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:304) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]

              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_20]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_20]

              at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_20]

              at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) [:3.0.0]

              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [:1.6.0_20]

              at java.util.concurrent.FutureTask.run(Unknown Source) [:1.6.0_20]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0_20]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_20]

              at java.lang.Thread.run(Unknown Source) [:1.6.0_20]

     

     

    2011-07-20 11:55:50,527 ERROR [org.rhq.plugins.jbossas5.util.DeploymentUtils] (ResourceContainer.invoker.nonDaemon-1) Failed to start deployment [vfs:///D:/Dropbox/jboss-as-distribution-6.0.0.Final/jboss-6.0.0.Final/server/default/deploy/ILP.war] during deployment of 'ILP.war'. Backing out the deployment...: java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

     

     

    *** DEPLOYMENTS IN ERROR: Name -> Error

     

     

    vfs:///D:/Dropbox/jboss-as-distribution-6.0.0.Final/jboss-6.0.0.Final/server/default/deploy/ILP.war -> org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs:///D:/Dropbox/jboss-as-distribution-6.0.0.Final/jboss-6.0.0.Final/server/default/deploy/ILP.war

     

     

     

     

    DEPLOYMENTS IN ERROR:

      Deployment "vfs:///D:/Dropbox/jboss-as-distribution-6.0.0.Final/jboss-6.0.0.Final/server/default/deploy/ILP.war" is in error due to the following reason(s): org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 31:3 The declaration for the entity "HTML.Version" must end with '>'.

     

     

              at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:320) [:6.0.0.Final]

              at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:197) [:6.0.0.Final]

              at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:232) [:6.0.0.Final]

              at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:89) [:6.0.0.Final]

              at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:155) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

              at org.rhq.plugins.jbossas5.util.DeploymentUtils.deployArchive(DeploymentUtils.java:116) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

              at org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeployer.java:119) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

              at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createContentBasedResource(CreateChildResourceFacetDelegate.java:124) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

              at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createResource(CreateChildResourceFacetDelegate.java:56) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

              at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:304) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]

              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_20]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0_20]

              at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0_20]

              at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) [:3.0.0]

              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [:1.6.0_20]

              at java.util.concurrent.FutureTask.run(Unknown Source) [:1.6.0_20]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0_20]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_20]

              at java.lang.Thread.run(Unknown Source) [:1.6.0_20]

  • 9. Re: JBossXBRuntimeException The declaration for the entity "HTML.Version" must end with '>'
    Alexey Loubyansky Master

    It doesn't contain enough info. Are there other stacktraces before the one you posted? Something like (copying from one of the posts above)

    Failed to parse source: vfs:///C:/jboss600/server/default/farm/EDOC.war/WEB-INF/lib/adf-richclient-impl-11.1.1.4.0-SNAPSHOT.jar/META-INF/afu.tld@1,238

    This points out the problem exactly.