Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1435

Improved and working ModeShape AS7 subsystem

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 3.0.0.Alpha2
    • Fix Version/s: 3.0.0.Alpha4
    • Component/s: JCR, Server
    • Labels:
      None

      Description

      When deployed as a subsystem inside AS7, ModeShape is not able to find the existing CacheManager instance managed by AS7 and instead always creates its own cache manager. (It can currently look it up via JNDI, but IIRC the Infinispan CacheManager in AS7 is not registered in JNDI but may be an AS7 service.)

      We should define a new interface (e.g., CacheManagerLookup or CacheManagerProvider?) that is specified in the configuration (similar to how the ChannelProvider class is specified in the "clustering" section of the configuration).

        Gliffy Diagrams

          Issue Links

            Activity

            rhauch Randall Hauch created issue -
            rhauch Randall Hauch made changes -
            Field Original Value New Value
            Summary Use Java service lookup to get CacheManager lookup classes Abstract a way to lookup CacheManager instances
            Description When deployed as a subsystem inside AS7, ModeShape is not able to find the existing CacheManager instance managed by AS7 and instead always creates its own cache manager. (IIRC, it does look it up via JNDI, but the Infinispan CacheManager in AS7 is not registered in JNDI.)

            We should use a CacheManagerLookup class (and find it via the Java service lookup mechanism or specify it in the configuration), similar to how we're looking up JGroups.
            When deployed as a subsystem inside AS7, ModeShape is not able to find the existing CacheManager instance managed by AS7 and instead always creates its own cache manager. (It can currently look it up via JNDI, but IIRC the Infinispan CacheManager in AS7 is not registered in JNDI but may be an AS7 service.)

            We should define a new interface (e.g., CacheManagerLookup or CacheManagerProvider?) that is specified in the configuration (similar to how the ChannelProvider class is specified in the "clustering" section of the configuration).
            rhauch Randall Hauch made changes -
            Link This issue is a dependency of MODE-1437 [ MODE-1437 ]
            rhauch Randall Hauch made changes -
            Fix Version/s 3.0.0.Alpha4 [ 12319296 ]
            Fix Version/s 3.0.0.Beta1 [ 12318456 ]
            rhauch Randall Hauch made changes -
            Assignee Horia Chiorean [ hchiorean ] Randall Hauch [ rhauch ]
            sbs-jira-plugin Jive JIRA Integration made changes -
            rhauch Randall Hauch made changes -
            Status Open [ 1 ] Pull Request Sent [ 10011 ]
            Git Pull Request https://github.com/ModeShape/modeshape/pull/356
            rhauch Randall Hauch made changes -
            Link This issue incorporates MODE-1437 [ MODE-1437 ]
            rhauch Randall Hauch made changes -
            Status Pull Request Sent [ 10011 ] Resolved [ 5 ]
            Resolution Done [ 1 ]
            rhauch Randall Hauch made changes -
            Resolution Done [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            rhauch Randall Hauch made changes -
            Link This issue incorporates MODE-1440 [ MODE-1440 ]
            rhauch Randall Hauch made changes -
            Link This issue incorporates MODE-1423 [ MODE-1423 ]
            rhauch Randall Hauch made changes -
            rhauch Randall Hauch made changes -
            Status Pull Request Sent [ 10011 ] Resolved [ 5 ]
            Resolution Done [ 1 ]
            rhauch Randall Hauch made changes -
            Resolution Done [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            rhauch Randall Hauch made changes -
            Status Pull Request Sent [ 10011 ] Resolved [ 5 ]
            Resolution Done [ 1 ]
            rhauch Randall Hauch made changes -
            Link This issue incorporates MODE-1321 [ MODE-1321 ]
            rhauch Randall Hauch made changes -
            Link This issue incorporates MODE-1393 [ MODE-1393 ]
            rhauch Randall Hauch made changes -
            Link This issue incorporates MODE-1394 [ MODE-1394 ]
            rhauch Randall Hauch made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                rhauch Randall Hauch
                Reporter:
                rhauch Randall Hauch
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development