I am new to CodeRanch.
I am using Spring framework for Java .
I had a question!!!
I recently updated my application using Eclipse IDE and provided CONFIG path for properties in my Application-Context .
The application works fine except I have no database connection, How can I restore it.
Is the error message longer than that? Because it looks like you cut it off, and the interesting part ("nested exception") that might give a hint about wat the problem is, is not included in the part of the error message that you posted.
Ok, in the list of error messages we see: Communications link failure - This indicates that there is a network connection problem.
And then: Caused by: java.net.UnknownHostException: base11.sofmen.in - This means that the server with the name base11.sofmen.in cannot be reached.
Are you sure the database server is up and properly connected to the network, and that you can access it via the network from your computer (if there is a firewall or proxy server, the settings for those are correct etc.)?
Joined: Mar 13, 2013
I am quite sure the database server is not up , as the MySQL query ,I fired has no effect,however I am able to see the quey in the Log.
The page does not get populated accordingly.
Can you please give me a hint with how do I check that,where in application context , shall I make changes so that it get started.