• 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
  • 0
  • 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: 9214
9
Linux Mac OS X Windows
  • 0
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic