TomEE
  1. TomEE
  2. TOMEE-47

ServletContext.getResource(path).getInputStream() fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-beta-2
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Since apache-tomee-1.0.0-beta-2-20111029.082511-21-webprofile.tar.gz the method ServletContext.getResource(path).getInputStream() fails with FileNotFoundException:

      BasicException[1]
      Class = org.apache.naming.resources.DirContextURLConnection
      Method = getInputStream
      Line = 385
      ExceptionClass = java.io.FileNotFoundException
      ExceptionDomain = DefaultDomain
      ExceptionCode = GENERIC
      Description = jndi:/localhost/opencrx-core-CRX/WEB-INF/config/ui/Root/ro_RO/uom.xml
      StackTrace:
      at org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:385)
      at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:653)
      at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      at org.openmdx.application.xml.spi.ImportHelper.importObjects(ImportHelper.java:226)
      at org.openmdx.application.xml.Importer.importObjects(Importer.java:129)
      at org.openmdx.portal.servlet.loader.UiLoader.load(UiLoader.java:328)
      at org.openmdx.portal.servlet.ObjectInspectorServlet.reloadUi(ObjectInspectorServlet.java:623)

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Werner Froidevaux
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development