• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dtabase Connection lost after Updating Application.

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Shibani Joseph
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Too difficult for “beginning Java”;moving to our Spring forum.
 
Jesper de Jong
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hii All,

I could'nt post it earliar.

I checked my bd properties and it worked.

thanks.
 
Shibani Joseph
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
DB properties.
 
reply
    Bookmark Topic Watch Topic
  • New Topic