aspose file tools*
The moose likes JDBC and the fly likes DataSource Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DataSource Problem" Watch "DataSource Problem" New topic
Author

DataSource Problem

Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 629
Hi guys,

I followed this tutorial here to test data source.
http://www.webagesolutions.com/knowledgebase/waskb/waskb001/index.html
I did everything that was there on the page and now I write the following sample Servlet as shown in the example with my own datasource name as


Now, when I try to run the program, I am getting the following errors:




Any idea as why this is happening and any one tried out the example in that page?

Thanks.


Be Humble... Be Nice.
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2516
    
  10

Your exception says that you have error 12505.

From Oracle's error messages:
TNS-12505 TNS:listener could not resolve SID given in connect descriptor.


OCUP UML fundamental and ITIL foundation
youtube channel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DataSource Problem