Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

could not establish connection using struts to oracle data base

 
Swetha Bhagavathula
Ranch Hand
Posts: 112
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello .I am facing the following error when trying to insert values from my struts application into oracle database table.please help me to sort out the problem:



Thanks in advance
 
Joe Ess
Bartender
Posts: 9319
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This has nothing to do with Struts and everything to do with how you are connecting to your database. Can you connect with SQLPlus? Can you connect with plain JDBC? Are you using your container's connection pool? If so, does it have a "test connection" function you can use?
 
Swetha Bhagavathula
Ranch Hand
Posts: 112
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thankyou could rectify my error. I need to start the oracle server from services.msc when it is in disabled mode. then could connect my application to database.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic