Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1754

weblogic: ServletContext.getRealPath doesn't work in older weblogic version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.5 RC1
    • 3.1 M3
    • core
    • None

      ServletContext.getRealPath only works where war is exploded on the file system.
      in case of weblogic getRealPath always returns null.

      PropertyInitializer.java (line 278) results in a NullPointerException
      String rootPath = StringUtils.replace(context.getRealPath(StringUtils.EMPTY), "
      ", "/");

        Acceptance criteria

              had Jan Haderka
              scharles Sameer Charles
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD