• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DataSource Problem

 
Arjun Reddy
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jan Cumps
Bartender
Posts: 2599
12
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic