Atomikos Forum |
|
I am using Spring, Hibernate and Atomikos and everything was working fine till yesterday. But now I am seeing this exception saying:
Cannot resolve reference to bean 'hdsEntityManagerFactory' while setting bean property 'primaryEmf'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hdsEntityManagerFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not obtain initial context Caused by: javax.naming.AuthenticationNotSupportedException: [LDAP: error code 48 - anonymous bind disallowed] The only thing that changed in the latest build is that the open LDAP server has disabled anonymous login. So does Atomikos and Hibernate internally use JNDI for transaction manager lookup? Is it required within the same process? Where does the user transaction bind to (the JNDI URL)? How can I get rid of this error? Any pointers in this regard will be very helpful. |