Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6310

Doctype declaration in Session Passivation Docs is missing quotes

XMLWordPrintable

    • Hide

      Add that jboss-web.xml to an application and deploy it to JBoss.

      You will get an error like this:
      09:34:17,136 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/home/jshepher/apps/eap/jboss-eap-5.1/jboss-as/server/default/deploy/SessionPassivation.war/ state=PreParse mode=Manual requiredState=Parse
      org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/home/jshepher/apps/eap/jboss-eap-5.1/jboss-as/server/default/deploy/SessionPassivation.war/
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:362)
      ...
      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: The public identifier must begin with either a single or double quote character. @ vfsfile:/home/jshepher/apps/eap/jboss-eap-5.1/jboss-as/server/default/deploy/SessionPassivation.war/WEB-INF/jboss-web.xml[2,29]
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
      ...
      Caused by: org.xml.sax.SAXException: The public identifier must begin with either a single or double quote character. @ vfsfile:/home/jshepher/apps/eap/jboss-eap-5.1/jboss-as/server/default/deploy/SessionPassivation.war/WEB-INF/jboss-web.xml[2,29]
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.fatalError(SaxJBossXBParser.java:432)

      Show
      Add that jboss-web.xml to an application and deploy it to JBoss. You will get an error like this: 09:34:17,136 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/home/jshepher/apps/eap/jboss-eap-5.1/jboss-as/server/default/deploy/SessionPassivation.war/ state=PreParse mode=Manual requiredState=Parse org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/home/jshepher/apps/eap/jboss-eap-5.1/jboss-as/server/default/deploy/SessionPassivation.war/ at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:362) ... Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: The public identifier must begin with either a single or double quote character. @ vfsfile:/home/jshepher/apps/eap/jboss-eap-5.1/jboss-as/server/default/deploy/SessionPassivation.war/WEB-INF/jboss-web.xml [2,29] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203) ... Caused by: org.xml.sax.SAXException: The public identifier must begin with either a single or double quote character. @ vfsfile:/home/jshepher/apps/eap/jboss-eap-5.1/jboss-as/server/default/deploy/SessionPassivation.war/WEB-INF/jboss-web.xml [2,29] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.fatalError(SaxJBossXBParser.java:432)
    • Documentation (Ref Guide, User Guide, etc.)
    • Low
    • Not Required
    • ASSIGNED

      The jboss-web.xml Doctype declaration on this page, [1], of the docs is missing quotes. It should read like this:

      <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 5.0//EN"
      "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">

      [1] http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5/html/Administration_And_Configuration_Guide/clustering-http-passivation.html

            rhn-engineering-rhusar Radoslav Husar
            rhn-support-jshepher Jason Shepherd
            Russell Dickenson Russell Dickenson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 30 minutes
                30m
                Logged:
                Time Spent - Not Specified
                Not Specified