• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Connection Pool between Oracle10g Express Edition and Glassfish V3

 
Greenhorn
Posts: 21
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am developing application, where i am already connected with Oracle 10G Express Edition using Oracle Thin Driver.

Now I am trying to create the connection pool in glassfish v3.
When I ping my connection pool I am getting Error: Wrong Class Path

Following are the steps i took in Glassfish:

1. Create new connection pool
2. i named it as: AffablebeanPool
3. Database vendor name: Oracle
4. Resource Type: javax.sql.DataSource
5. DataSource Class: oracle.jdbc.pool.OracleDataSource --------------it comes automatically


My Oracle 10G Express Edition Attributes are as follows:
Database Name: XE

host: localhost
port number: 1521
DatabaseURL: jdbcracle:thin:@localhost:1521:XE
UserId: affablebean
password: admin


I searched in Glassfish v3 Administration guide, but only found it for Oracle 11.

Please assist me with right steps.

It woul be helpful, if snapshots with Glassfishv3 is also posted here

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think jar file for driver is not in the lib folder of glassfish . Just do that and restart see if it works.
 
Gaurav Dighe
Greenhorn
Posts: 21
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
thnx. but could you tell me the importance of adding jar files in glassfish.
o
 
adil qureshi
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
actually .... the implementation classes might not be present so you need to have the jar files in the classpath.
 
Whatever you say buddy! And I believe this tiny ad too:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic