*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply locked New topic
Author

Connectio pool: Oracle and Glassfishv3

Gaurav Dighe
Greenhorn

Joined: Jun 25, 2009
Posts: 21

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.

Thanks & Regards,
Gaurav Dighe
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

Let's continue this discussion in your other thread here http://www.coderanch.com/t/509974/java/Connection-Pool-between-Oracle-Express

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connectio pool: Oracle and Glassfishv3
 
Similar Threads
Connection Pool between Oracle10g Express Edition and Glassfish V3
Unable to inject @Resource into ApplicationClient using ACC
JDBC: Casting an int array to sql array.
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
how to know the url is whether correct or not