• 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

oci8 driver problem.

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using iPlanet app server. My session bean calls the DataSource interface to get a connection to database using oci8 driver. I have created a connection pool in iPlanet.
Unfortunately, the program throws an SQL exception saying "can't create a connection".
Any ideas ??
javax.naming.Context context = new javax.naming.InitialContext();
DataSource dataSource = (DataSource) context.lookup("jdbc/JNDIOci8Pool");
connection = dataSource.getConnection();
 
Ranch Hand
Posts: 925
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think your sprocket is misaligned with the plate bushings.
 
reply
    Bookmark Topic Watch Topic
  • New Topic