Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10331

Wrong NamingContext installation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.0-HF06, 5.7.1
    • Component/s: Runtime

      Description

      To have the right NamigContext installed, ie. the one from the NuxeoContainer, we need to implement a javaURLContextFactory class in the org.nuxeo.runtime.jtajca.java package.
      We noticed this when running a test using the AuditFeature (so deploying datasources) with the Nuxeo SDK test classpath. Indeed, this one includes the jetty-naming lib that defines org.mortbay.naming jndi properties, so the installed NamingContext was the Jetty one instead of Nuxeo's JtaJca one.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h