Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1988

Rafactor the XMLAttributePersistenceManager to avoid xml parser issues.

    XMLWordPrintable

Details

    Description

      XMLAttributePersistenceManager has issues when reading/writing to files that contain spaces in their pathname.

      When reading files with spaces, you get

      Caused by: java.io.FileNotFoundException: X:\cvs\jboss-public\jboss-4.0\build\output\jboss-4.0.3RC1\server\default\tmp\XmlApm59286Test%20.dir\bananarama.xml
      at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:80)
      at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:89)
      at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
      at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
      at org.jboss.system.pm.XMLAttributePersistenceManager.parseXmlFile(XMLAttributePersistenceManager.java:776)
      at org.jboss.system.pm.XMLAttributePersistenceManager.load(XMLAttributeP

      This is related to

      http://jira.jboss.com/jira/browse/JBAS-363
      http://jira.jboss.com/jira/browse/JBAS-1545

      Attachments

        Issue Links

          Activity

            People

              dandread1@redhat.com Dimitrios Andreadis
              dandread1@redhat.com Dimitrios Andreadis
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: