File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Connectio pool: Oracle and Glassfishv3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply locked New topic

Connectio pool: Oracle and Glassfishv3

Gaurav Dighe

Joined: Jun 25, 2009
Posts: 21

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

Please assist.

Thanks & Regards,
Gaurav Dighe
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Let's continue this discussion in your other thread here

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Connectio pool: Oracle and Glassfishv3
It's not a secret anymore!