This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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 The Software Craftsman this week in the Agile 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: 10403

Let's continue this discussion in your other thread here

[My Blog] [JavaRanch Journal]
Have you tried LearnNowOnline?
subject: Connectio pool: Oracle and Glassfishv3