aspose file tools*
The moose likes JDBC and the fly likes could not establish connection using struts to oracle data base Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "could not establish connection using struts to oracle data base" Watch "could not establish connection using struts to oracle data base" New topic
Author

could not establish connection using struts to oracle data base

Swetha Bhagavathula
Ranch Hand

Joined: Jan 04, 2011
Posts: 112

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

SCJP5
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8971
    
    9

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?


[How To Ask Questions On JavaRanch]
Swetha Bhagavathula
Ranch Hand

Joined: Jan 04, 2011
Posts: 112

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: could not establish connection using struts to oracle data base