quality@glassfish.java.net

Re: GFv3 and Oracle

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Fri, 22 Aug 2008 11:57:42 +0200

Hi again,

On Fri, Aug 22, 2008 at 10:51:31AM +0200, To quality wrote:
> On build 20 I am trying to setup a JDBC Connection Pool to an Oracle database. I
> downloaded the ojdbc6.jar from Oracle's website and copied it into <gf
> install>/glassfish/lib and restarted GlassFish. Next, I setup a connection pool
> with the command
>
> ./bin/asadmin create-jdbc-connection-pool --datasourceclassname
> oracle.jdbc.pool.OracleDataSource --restype javax.sql.DataSource --property
> "user=astro:password=astro:url=jdbc:oracle:thin:@localhost:1521:xe" astro

I found out that I need to escape the colons in the url property with \\ in
order for the url to be set correctly. This, unfortunately, is not the cause of
the error. I still get a ClassNotFoundException.


Greets, Wouter

-- 
People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"