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

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

    XMLWordPrintable

Details

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

    Description

      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), "
      ", "/");

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD