Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19027

I'm lookup cache's using Annotations so it's working in wildlfy 10 but when I migrate Wildfly 18 its give error, its not lookup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • None
    • Build System, EJB
    • None

    Description

      Here lookup Datacache's does not lookup,please give me a solution to overcome this problem in wildfly 18.0.1 but this method works in wildfly 10.

      public class DataCacheBean
      implements Serializable, IDataCacheBean
      {
      Cache<String, List<AutoModel>> modelCache;
      Cache<String, List<String>> modelCodeIndexMap;
      Cache<String, DataCacheMaster> cacheMaster;
      Cache<String, List<DataCacheDetails>> cacheDetails;
      Cache<String, Map<String, String>> modelPredicatefieldmapping;
      @Inject
      VDSInvoker vds;
      @Inject
      SvmJsonUtil jsonutil;
      @Resource(lookup = "java:jboss/infinispan/container/DataCache")
      private CacheContainer cacheContainer;
      private String result;
      private String predicatekey;
      @Inject
      DataCacheRemoteServer dcrs;

      @PostConstruct
      public void init()

      { this.modelCache = this.cacheContainer.getCache("modelCache"); this.modelCodeIndexMap = this.cacheContainer.getCache("modelCodeIndexMap"); this.cacheMaster = this.cacheContainer.getCache("cachemaster"); this.cacheDetails = this.cacheContainer.getCache("cachedetails"); this.modelPredicatefieldmapping = this.cacheContainer.getCache("modelPredicatefieldmapping"); loadCache(null); }

      Attachments

        Activity

          People

            Unassigned Unassigned
            mohanraj.muthusamy MOHANRAJ M (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: