[infinispan-issues] [JBoss JIRA] Commented: (ISPN-921) REST server war deployment problem for standalone REST server

Michal Linhard (JIRA) jira-events at lists.jboss.org
Fri Feb 11 11:18:46 EST 2011


    [ https://issues.jboss.org/browse/ISPN-921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581739#comment-12581739 ] 

Michal Linhard commented on ISPN-921:
-------------------------------------

JBossAS 5.1.0.GA

> REST server war deployment problem for standalone REST server
> -------------------------------------------------------------
>
>                 Key: ISPN-921
>                 URL: https://issues.jboss.org/browse/ISPN-921
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Cache Server
>    Affects Versions: 4.2.0.Final, 4.2.1.CR1, 5.0.0.ALPHA2
>            Reporter: Michal Linhard
>            Assignee: Galder Zamarreño
>             Fix For: 4.2.1.Final, 5.0.0.ALPHA3, 5.0.0.Final
>
>
> 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()

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list