]
Emmanuel Bernard updated HSEARCH-802:
-------------------------------------
Fix Version/s: 4.0.0.Alpha1
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
Fix For: 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.
-
If you think it was sent incorrectly contact one of the administrators: