4 Replies Latest reply on Sep 3, 2015 4:24 AM by wdfink

    DefaultCacheManager with JDG lizenz

    koohkan

      This is my code:

       

      public DefaultCacheManager getCacheManager ()

       

         if (manager == null)

       

         try

       

        String infinispanFile = "infinispan.xml";

       

         manager = new DefaultCacheManager (Globals.CONFIG_FOLDER + infinispanFile);

       

         catch (IOException e)

       

         throw new RuntimeException (e);

       

         catch (javax.enterprise.inject.CreationException e)

       

         throw new RuntimeException (e);

       

         return manager;

       

       

      my JDG : jdg 6.3

       

      Sinve EAP vession 6.4.1.GA , i dont take Manager !!!! my Request without Feedback

       

      Why ?

        • 1. Re: DefaultCacheManager with JDG lizenz
          wdfink

          What is your exact question? what you try to achieve?

          If you want to have a cache you need to configure it and create a CacheManager to access caches.

           

          There is no license needed, if you use it in production you need to have a subscription for JDG similar as you do for EAP

          • 2. Re: DefaultCacheManager with JDG lizenz
            koohkan

            My JDG Version: JDG  3.1

            EAP Version : EAP 6.4

             

            I get this exception when it initiates the Objeltes

             

            org.infinispan.commands.module.ModuleCommandExtensions: Provider org.hibernate.cache.infinispan.util.CacheCommandExtensions not a subtype

            • 3. Re: DefaultCacheManager with JDG lizenz
              koohkan

              sorry, I mistyped

               

               

              My JDG Version: JDG  6.3

              EAP Version : EAP 6.4

              and ich get hier an exception.

               

               

              manager = new DefaultCacheManager ("config-infinispan.xml");

               

              With ther EAP 6.3 there was no Problem.

               

              org.infinispan.commands.module.ModuleCommandExtensions: Provider org.hibernate.cache.infinispan.util.CacheCommandExtensions not a subtype

               

              • 4. Re: DefaultCacheManager with JDG lizenz
                wdfink

                Could you add more details?

                How the configuration and code look like, also how do you pack your application and please show the complete error and stacktrace