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

RootPath not correctly initialized under jetty/resin - leading to jndi issues

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.1
    • 3.0 Final
    • core
    • None

    Description

      ... because the ServletContext.getRealPath("") returns a path with a trailing slash, we can't correctly determine the webapp name: since the default repos config xml uses ${magnolia.webapp} to configure the bindName, we try to lookup the Repository on jndi with an empty name, which resulted in the ClassCastException found in the logs attached to MANGNOLIA-958.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                gjoseph Magnolia International
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD