Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-921

REST server war deployment problem for standalone REST server

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When running standalone infinispan REST server (only the REST server creates the DefaultCacheManager)
      the method org.infinispan.rest.StartupListener.getMcInjectedCacheManager()
      fails and results in an ERROR log message
      org.jboss.kernel.spi.registry.KernelRegistryEntryNotFoundException: Entry not found with name: DefaultCacheManager
      at org.jboss.kernel.plugins.registry.AbstractKernelRegistry.getEntry(AbstractKernelRegistry.java:96)
      the problem is that the method
      org.jboss.kernel.spi.registry.KernelRegistry.getEntry
      invoked via reflection
      doesn't return null when an entry isn't found but rather throws KernelRegistryEntryNotFoundException
      which is not handled by the code in getMcInjectedCacheManager()

              rh-ee-galder Galder ZamarreƱo
              mlinhard Michal Linhard (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: