*
The moose likes Spring and the fly likes Dtabase Connection lost after Updating Application. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Dtabase Connection lost after Updating Application." Watch "Dtabase Connection lost after Updating Application." New topic
Author

Dtabase Connection lost after Updating Application.

Shibani Joseph
Greenhorn

Joined: Mar 13, 2013
Posts: 7
Hello EveryOne,
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.




Hope I will get a solution for this.
Thanks.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13875
    
  10

Welcome to the Ranch.

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.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Shibani Joseph
Greenhorn

Joined: Mar 13, 2013
Posts: 7
Hii Jasper, Thanks for an early reply...

I refreshed it ,the log is;

let me know if its not complete.
However I can see the query in the Log.
I am quite new to this stuff and its confusing.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36514
    
  16
Too difficult for “beginning Java”;moving to our Spring forum.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13875
    
  10

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.)?
Shibani Joseph
Greenhorn

Joined: Mar 13, 2013
Posts: 7
Hii Jasper,

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.

Thanks for you patience.
Shibani Joseph
Greenhorn

Joined: Mar 13, 2013
Posts: 7
Hii All,

I could'nt post it earliar.

I checked my bd properties and it worked.

thanks.
Shibani Joseph
Greenhorn

Joined: Mar 13, 2013
Posts: 7
DB properties.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dtabase Connection lost after Updating Application.
 
Similar Threads
hql with select , where
Cant select VIEW via dblink with JPA
Problem Getting Started with oracle database from Hibernate ?
Deploying Hibernate 3 application in Jboss 4.0.2
ClassNotFoundException for SpringMVC