Can you tell me a little more about the Database you are connecting to? A JDBC connection timeout could be caused by the database too. But my first impression is that the number of database connections is exhausted.
Look here for how to set them:
Go Make It