Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in getting connection

 
Shyam Sunder
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ERROR in getconnection ................... java.sql.SQLException: Io exceptio
n: The Network Adapter could not establish the connection
got Connection
java.lang.NullPointerException
at com.statestreet.sda.dao.OracleStampDutyReportDAO.getStampDutyReportDA
O(OracleStampDutyReportDAO.java:36)
at com.statestreet.sda.bo.StampDutyReportBO.getStampDutyReport
 
Rama Krishna Ghanta
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shyam,

Posting your SQL connection code block will help resolve your problem faster.

Regards,
Rama Krishna Ghanta
 
Kj Reddy
Ranch Hand
Posts: 1704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess your database server is not started.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic