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

core session are not transacted web engine tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.7.1
    • Component/s: Runtime
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      Ask for the naming propagation in the jetty config annotation as follow. Don't forget also to configure the core feature for the pooled connection factory.

      @Jetty(port = 18080, propagateNaming=true)
      @RepositoryConfig(cleanup = Granularity.METHOD, repositoryFactoryClass = PoolingRepositoryFactory.class)

      Show
      Ask for the naming propagation in the jetty config annotation as follow. Don't forget also to configure the core feature for the pooled connection factory. @Jetty(port = 18080, propagateNaming=true) @RepositoryConfig(cleanup = Granularity.METHOD, repositoryFactoryClass = PoolingRepositoryFactory.class)

      Description

      The jetty transactional feature is configuring the nuxeo container in the context of the web-app. The morbay naming container is isolating web-app through the mean of the thread context class loader.

      The nuxeo runtime and the nuxeo container don't share the same thread context class loader. The side effect is that the transaction manager is not visible to the runtime.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                slacoin Stéphane Lacoin
                Reporter:
                slacoin Stéphane Lacoin
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: