[jboss-jira] [JBoss JIRA] Commented: (AS7-1656) Binder services should not be ON_DEMAND

James Perkins (JIRA) jira-events at lists.jboss.org
Fri Aug 26 12:50:17 EDT 2011


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

James Perkins commented on AS7-1656:
------------------------------------

It came up on an IRC pm I was having. Here is what we have:
Infinispan config: http://pastebin.com/k1EKmNwn
Stack trace: http://pastebin.com/HFmdNyc4

Talked about it yesterday with Stuart and he saw something about it loading ON_DEMAND. We thought that could be the problem as maybe JNDI binding hadn't been started yet.

> Binder services should not be ON_DEMAND
> ---------------------------------------
>
>                 Key: AS7-1656
>                 URL: https://issues.jboss.org/browse/AS7-1656
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 7.0.1.Final
>            Reporter: Stuart Douglas
>            Assignee: Paul Ferraro
>             Fix For: 7.0.2.Final
>
>
> IF a binder service is registered as ON_DEMAND then the item will not be available for lookup in JNDI until something as expressed a dependency on it. This means that it will work for resource injection, however will fail for manual JNDI lookups. 
> If lazy startup is required the binder service should use a ManagedReferenceFactory that starts the lazy service and blocks until the lazy service is available. 

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

        


More information about the jboss-jira mailing list