[hibernate-issues] [Hibernate-JIRA] Resolved: (HSEARCH-802) IndexControlMBeanTest fails with NPE because Hibernate Core closes the JNDI context

Sanne Grinovero (JIRA) noreply at atlassian.com
Fri Aug 12 09:46:02 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanne Grinovero resolved HSEARCH-802.
-------------------------------------

    Resolution: Fixed

> IndexControlMBeanTest fails with NPE because Hibernate Core closes the JNDI context
> -----------------------------------------------------------------------------------
>
>                 Key: HSEARCH-802
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-802
>             Project: Hibernate Search
>          Issue Type: Bug
>            Reporter: Emmanuel Bernard
>            Assignee: Hardy Ferentschik
>             Fix For: 3.4.1, 4.0.0.Alpha1
>
>
> (first analysis)
> The library used to simulate JNDI seems to be purely in memory and do not have the notion of singleton.
> Therefore, the SessionFactory is bound to the JNDI context but the context is discarded. 
> When later the IndexController tries to reach the SessionFActory via JNDI, it creates a new context instead of sharing one with Hibernate Core.
> => investigate further and fix

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

        


More information about the hibernate-issues mailing list