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

Delay datasource binding until Naming installed

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.7.1
    • Component/s: Runtime

      Description

      We need to listen to the applicationStarted event and to be executed after the JtaJca component.
      Otherwise, datasource binding crashes because the Naming is not available.
      As a use case, the JettyComponent is starting the Naming by the mean of the JettyListsner. We noticed this error when trying to bind a datasource in a test using the Jetty feature.

        Attachments

          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