When hibernate tries to build the session factory, I am getting the below exception. Can you guys help me to overcome this issue ? With the same config file i can able to launch app in the local environment but not in the production. This issue happened after the latest deployment.
I don't think that Tomcat can help with that. It appears to be a Hibernate problem that just happens to appear in the context of the production (Tomcat) machine.
Generally the first thing you should do is make sure that the proper JDBC driver is installed in TOMCAT_HOME/lib. Followed by a check to ensure that no firewall is blocking connection from the Tomcat machine to the database machine.
You should check the catalina.out and localhost logfiles to make sure that there are no error messages coming from the connection pooler itself.
Of course, I'm assuming that you are using a Tomcat-managed connection pool and not simply providing the pool as part of the webapp itself. Since that's what you should be doing.
Customer surveys are for companies who didn't pay proper attention to begin with.
Prakash Mani - Attur
Joined: Oct 08, 2009
Thanks Tim...Found the reason for the exception...Its actually the McAfee denying the permission to connect with the database server...When changed the log level for hibernate package to INFO, I was able to see the exception clearly as "Permission Denied".Thanks again...