Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection Pool between Oracle10g Express Edition and Glassfish V3

 
Gaurav Dighe
Greenhorn
Posts: 21
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • 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

 
adil qureshi
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • 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
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
actually .... the implementation classes might not be present so you need to have the jar files in the classpath.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic