Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem Initializing connection pool on tomcat start up.  RSS feed

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i am using hibernate 3.2 & tomcat 5.5 and trying to configure JNDI for connection.

but i am not able to initiailize the connection pool on application start up. my all the connections are getting initialized on the first request.

Bellow is my context.xml which i have plcaed in WEB-INF/META-INF/context.xml and alos at apache-tomcat-5.5.27\conf\Catalina\localhost\LicenseManager.xml


Bellow is web.xml entry



And bellow is my hibernate Session fectory class which implements OjectFactory


why my connection pool is not getting initialized on tomcat start up ?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!