Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6555

When a CacheStore with a @SpringResource annotated field is configured Ignite fails to start via igniteSpringBean

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.4
    • spring

    Description

      When a CacheStore with a @SpringResource annotated field is configured Ignite fails to start via igniteSpringBean.

      Example configuration leading to the failure is as follows

      public class SpringIgniteCacheStore<K, V> extends CacheStoreAdapter<K, V> implements Serializable {
          @SpringResource(resourceClass = SomeDao.class)
          public transient SomeDao someDao;
      
          ...
      }
      
      @Configuration
      public class IgniteSpringConfig {
         @Bean
          public IgniteSpringBean igniteSpringBean() {
              IgniteSpringBean igniteSpringBean = new IgniteSpringBean();
      
              ...
      
              return igniteSpringBean;
          }
      
          ...
      }
      

      Attachments

        Issue Links

          Activity

            People

              asfedotov Alexandr Fedotov
              asfedotov Alexandr Fedotov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: