Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
    Bookmark Topic Watch Topic
  • New Topic

Connectio pool: Oracle and Glassfishv3

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

Please assist.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Let's continue this discussion in your other thread here http://www.coderanch.com/t/509974/java/Connection-Pool-between-Oracle-Express
 
    Bookmark Topic Watch Topic
  • New Topic