Hi, I have a enterprise application which uses hibernate. It was running fine untill one day when we started server we found that hibernate.cfg.xml is being read multiple times and each entity bean is being configured and loaded that many times. here are the logs 2009-09-20 13:15:43,746 INFO [org.hibernate.cfg.Environment] Hibernate 3.2.0.ga 2009-09-20 13:15:43,762 INFO [org.hibernate.cfg.Environment] hibernate.properties not found 2009-09-20 13:15:43,767 INFO [org.hibernate.cfg.Environment] Bytecode provider name : cglib 2009-09-20 13:15:43,777 INFO [org.hibernate.cfg.Environment] using JDK 1.4 java.sql.Timestamp handling 2009-09-20 13:15:43,985 INFO [org.hibernate.cfg.Configuration] configuring from resource: /hibernate.cfg.xml 2009-09-20 13:15:43,985 INFO [org.hibernate.cfg.Configuration] configuring from resource: /hibernate.cfg.xml 2009-09-20 13:15:43,985 INFO [org.hibernate.cfg.Configuration] Configuration resource: /hibernate.cfg.xml 2009-09-20 13:15:43,985 INFO [org.hibernate.cfg.Configuration] Configuration resource: /hibernate.cfg.xml ................. this is being called 15 times and each mapping xml is also being called that many times. I am not sure what is causing this, i wanted to ensure if this creates any problem in working of my application. Because since we see these logs we are not able to insert rows in one of the tables. The application is in production, any immediate help would be appreciated.
|