Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: general
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      This is a first cut at a replicating cache for caching stuff behind the session api (the session api is in the 1.2 branch).

      To make it build you have to install the session api first (i.e. mvn install).

      There is currenly only a maven 2 build in place.

      1. geronimo-cache.patch
        168 kB
        Bill Dudney
      2. geronimo-cache-2.patch
        49 kB
        Bill Dudney

        Activity

        Hide
        Bill Dudney added a comment -

        attaching the patch, it is intended to be applied at the root of the sandbox (i.e. https://svn.apache.org/repos/asf/geronimo/sandbox)

        Show
        Bill Dudney added a comment - attaching the patch, it is intended to be applied at the root of the sandbox (i.e. https://svn.apache.org/repos/asf/geronimo/sandbox )
        Hide
        Jeff Genender added a comment -

        Excellent...thanks Bill.

        Adding geronimo-cache/LICENSE.txt
        Adding geronimo-cache/pom.xml
        Adding geronimo-cache/src
        Adding geronimo-cache/src/main
        Adding geronimo-cache/src/main/java
        Adding geronimo-cache/src/main/java/org
        Adding geronimo-cache/src/main/java/org/apache
        Adding geronimo-cache/src/main/java/org/apache/geronimo
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/Cache.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheConfigurationException.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheEvent.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheException.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheListener.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheManager.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheStore.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/LocalCache.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/ReplicatedCache.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/CacheChannel.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/CacheCommunicationException.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/HeartbeatEvent.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/JoinedEvent.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/MessageID.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/ProvideContentEvent.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/RemoteAddEvent.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/RemoteEvent.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/RemoteRemoveEvent.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/RemoteUpdateEvent.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/aioimpl
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/aioimpl/CacheActiveIOCommListener.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/aioimpl/CacheChannelActiveIOImpl.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/impl
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/impl/CacheChannelUDPImpl.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/impl/CacheCommListener.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/impl/ClusterReceiverRunnable.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/impl/ClusterSenderRunnable.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/config
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/config/CacheConfig.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/config/CacheStorageConfig.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/impl
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/impl/AbstractCache.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/impl/CacheMemoryStoreImpl.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/impl/LocalCacheImpl.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/impl/ReplicatedCacheImpl.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/session
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/session/impl
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/session/impl/CacheLocator.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/session/impl/CacheServer.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/session/impl/CacheSession.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/session/impl/CacheSessionLocation.java
        Adding geronimo-cache/src/main/xsd
        Adding geronimo-cache/src/main/xsd/geronimo-cache-1.0.xsd
        Adding geronimo-cache/src/main/xsd/xmlconfig.xml
        Adding geronimo-cache/src/test
        Adding geronimo-cache/src/test/java
        Adding geronimo-cache/src/test/java/org
        Adding geronimo-cache/src/test/java/org/apache
        Adding geronimo-cache/src/test/java/org/apache/geronimo
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/CacheConfigurationExceptionTest.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/CacheEventTest.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/CacheExceptionTest.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/CacheManagerTest.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/LocalCacheTest.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/MockCacheListener.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/MockReplicatedCache.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/aiotest
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/aiotest/Peer.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/CacheCommunicationExceptionTest.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/JoinedEventTest.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/MessageIDTest.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/MockCacheChannel.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/RunCacheStuff.java
        Adding geronimo-cache/src/test/resources
        Adding geronimo-cache/src/test/resources/META-INF
        Adding geronimo-cache/src/test/resources/META-INF/geronimo-cache-config.xml
        Transmitting file data .....................................................
        Committed revision 408925.

        Show
        Jeff Genender added a comment - Excellent...thanks Bill. Adding geronimo-cache/LICENSE.txt Adding geronimo-cache/pom.xml Adding geronimo-cache/src Adding geronimo-cache/src/main Adding geronimo-cache/src/main/java Adding geronimo-cache/src/main/java/org Adding geronimo-cache/src/main/java/org/apache Adding geronimo-cache/src/main/java/org/apache/geronimo Adding geronimo-cache/src/main/java/org/apache/geronimo/cache Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/Cache.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheConfigurationException.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheEvent.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheException.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheListener.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheManager.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheStore.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/LocalCache.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/ReplicatedCache.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/CacheChannel.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/CacheCommunicationException.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/HeartbeatEvent.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/JoinedEvent.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/MessageID.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/ProvideContentEvent.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/RemoteAddEvent.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/RemoteEvent.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/RemoteRemoveEvent.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/RemoteUpdateEvent.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/aioimpl Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/aioimpl/CacheActiveIOCommListener.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/aioimpl/CacheChannelActiveIOImpl.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/impl Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/impl/CacheChannelUDPImpl.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/impl/CacheCommListener.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/impl/ClusterReceiverRunnable.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/impl/ClusterSenderRunnable.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/config Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/config/CacheConfig.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/config/CacheStorageConfig.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/impl Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/impl/AbstractCache.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/impl/CacheMemoryStoreImpl.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/impl/LocalCacheImpl.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/impl/ReplicatedCacheImpl.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/session Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/session/impl Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/session/impl/CacheLocator.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/session/impl/CacheServer.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/session/impl/CacheSession.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/session/impl/CacheSessionLocation.java Adding geronimo-cache/src/main/xsd Adding geronimo-cache/src/main/xsd/geronimo-cache-1.0.xsd Adding geronimo-cache/src/main/xsd/xmlconfig.xml Adding geronimo-cache/src/test Adding geronimo-cache/src/test/java Adding geronimo-cache/src/test/java/org Adding geronimo-cache/src/test/java/org/apache Adding geronimo-cache/src/test/java/org/apache/geronimo Adding geronimo-cache/src/test/java/org/apache/geronimo/cache Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/CacheConfigurationExceptionTest.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/CacheEventTest.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/CacheExceptionTest.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/CacheManagerTest.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/LocalCacheTest.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/MockCacheListener.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/MockReplicatedCache.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/aiotest Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/aiotest/Peer.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/CacheCommunicationExceptionTest.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/JoinedEventTest.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/MessageIDTest.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/MockCacheChannel.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/RunCacheStuff.java Adding geronimo-cache/src/test/resources Adding geronimo-cache/src/test/resources/META-INF Adding geronimo-cache/src/test/resources/META-INF/geronimo-cache-config.xml Transmitting file data ..................................................... Committed revision 408925.
        Hide
        Bill Dudney added a comment -

        this patch adds JMS impl to the replicated server

        I also did some refactoring so there are some svn commands to apply to get that refactoring done properly (doc'ed below)

        apply the patch from

        $geronimo_sandbox/geronimo-cache
        > patch -p0 < geronimo-cache-2.patch

        delete the old copy of the code;

        svn del src/main/java/org/apache/geronimo/cache/comm/impl

        add the new directories;

        svn add src/test/java/org/apache/geronimo/cache/comm/amqimpl
        svn add src/main/java/org/apache/geronimo/cache/comm/amqimpl
        svn add src/main/java/org/apache/geronimo/cache/comm/CacheCommListener.java
        svn add src/main/java/org/apache/geronimo/cache/comm/udpimpl

        which should get the patch properly applied. Let me know if there are any issues.

        Thanks!

        Show
        Bill Dudney added a comment - this patch adds JMS impl to the replicated server I also did some refactoring so there are some svn commands to apply to get that refactoring done properly (doc'ed below) apply the patch from $geronimo_sandbox/geronimo-cache > patch -p0 < geronimo-cache-2.patch delete the old copy of the code; svn del src/main/java/org/apache/geronimo/cache/comm/impl add the new directories; svn add src/test/java/org/apache/geronimo/cache/comm/amqimpl svn add src/main/java/org/apache/geronimo/cache/comm/amqimpl svn add src/main/java/org/apache/geronimo/cache/comm/CacheCommListener.java svn add src/main/java/org/apache/geronimo/cache/comm/udpimpl which should get the patch properly applied. Let me know if there are any issues. Thanks!
        Hide
        Jeff Genender added a comment -

        Ok...committed...thanks Bill. Form this point forward, please open new JIRas as its much easier to track.

        Sending geronimo-cache/pom.xml
        Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheManager.java
        Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/CacheChannel.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/CacheCommListener.java
        Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/JoinedEvent.java
        Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/MessageID.java
        Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/ProvideContentEvent.java
        Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/RemoteEvent.java
        Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/aioimpl/CacheActiveIOCommListener.java
        Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/aioimpl/CacheChannelActiveIOImpl.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/amqimpl
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/amqimpl/CacheChannelAMQImpl.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/amqimpl/ClusterReceiverRunnable.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/amqimpl/ClusterSenderRunnable.java
        Deleting geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/impl
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/udpimpl
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/udpimpl/CacheChannelUDPImpl.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/udpimpl/ClusterReceiverRunnable.java
        Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/udpimpl/ClusterSenderRunnable.java
        Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/impl/LocalCacheImpl.java
        Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/impl/ReplicatedCacheImpl.java
        Sending geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/MockCacheChannel.java
        Sending geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/RunCacheStuff.java
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/amqimpl
        Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/amqimpl/AMQImplChannelTest.java
        Transmitting file data .....................
        Committed revision 418140.

        Show
        Jeff Genender added a comment - Ok...committed...thanks Bill. Form this point forward, please open new JIRas as its much easier to track. Sending geronimo-cache/pom.xml Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/CacheManager.java Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/CacheChannel.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/CacheCommListener.java Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/JoinedEvent.java Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/MessageID.java Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/ProvideContentEvent.java Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/RemoteEvent.java Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/aioimpl/CacheActiveIOCommListener.java Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/aioimpl/CacheChannelActiveIOImpl.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/amqimpl Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/amqimpl/CacheChannelAMQImpl.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/amqimpl/ClusterReceiverRunnable.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/amqimpl/ClusterSenderRunnable.java Deleting geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/impl Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/udpimpl Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/udpimpl/CacheChannelUDPImpl.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/udpimpl/ClusterReceiverRunnable.java Adding geronimo-cache/src/main/java/org/apache/geronimo/cache/comm/udpimpl/ClusterSenderRunnable.java Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/impl/LocalCacheImpl.java Sending geronimo-cache/src/main/java/org/apache/geronimo/cache/impl/ReplicatedCacheImpl.java Sending geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/MockCacheChannel.java Sending geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/RunCacheStuff.java Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/amqimpl Adding geronimo-cache/src/test/java/org/apache/geronimo/cache/comm/amqimpl/AMQImplChannelTest.java Transmitting file data ..................... Committed revision 418140.

          People

          • Assignee:
            Jeff Genender
            Reporter:
            Bill Dudney
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development