• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

DataSource Problem

 
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 2662
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
reply
    Bookmark Topic Watch Topic
  • New Topic