-
1. Re: JBoss AS 7.2 facing HibernateException: Unable to get the default Bean Validation factory
nitin.shukla Jun 26, 2015 4:54 AM (in response to nitin.shukla)Hi,
In attempt to get over the issue, I have attempted to include the module <module name="org.hibernate.validator" /> as dependency in jboss-deployment-structure.xml that is place in the WEB-INF folder of the war file of my application. However I still observe in logs "Hibernate Validator not found: ignoring" and the failure to load sessionFactory bean (org.springframework.orm.hibernate3.LocalSessionFactoryBean) with the same Hibernate Exception. Any help/pointers in resolving the issue is appreciated.
Thanks.
-
2. Re: JBoss AS 7.2 facing HibernateException: Unable to get the default Bean Validation factory
nitin.shukla Jun 29, 2015 5:51 AM (in response to nitin.shukla)Hello,
I finally got the issue resolved by adding hibernate-validator-4.0.2.GA.jar and validation-api-1.0.0.GA.jar in my web application. Now running the application on AS 7.2 is fine since Hibernate Validator is loaded at the server startup.
However I am still clueless as to how AS 7.1 was starting up by ignoring the missing Hibernate Validator while in AS 7.2 complains about missing Hibernate Validator and will not budge till it finds one. I must be missing some configuration in AS 7.2. If someone from the community can point it, it will be appreciated.
Regards,
Nitin