Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.1.15, 2.2.0-m06
    • Component/s: None
    • Labels:
      None
    • Status Whiteboard:
      Hide

      size_small importance_large

      Show
      size_small importance_large

      Description

      Google App Engine restricts access to InitialContext while Mojarra uses it for initialization.
      Here is the proposed change for WebConfiguration#canProcessJndiEntries:

      private boolean canProcessJndiEntries() {

      try

      { Util.getCurrentLoader(this).loadClass("javax.naming.InitialContext").getConstructors(); }

      catch (Throwable e) {
      if (LOGGER.isLoggable(Level.FINE))

      { LOGGER.fine( "javax.naming is unavailable. JNDI entries related to Mojarra configuration will not be processed."); }

      return false;
      }
      return true;

      }

      1. changebundle.txt
        2 kB
        Hanspeter Duennenberger

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            nick_belaevski
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2 days
              2d
              Remaining:
              Remaining Estimate - 2 days
              2d
              Logged:
              Time Spent - Not Specified
              Not Specified