quality@glassfish.java.net

Re: Unable to create Oracle datasource on admin gui

From: Richard Kolb <rjdkolb_at_gmail.com>
Date: Thu, 29 Oct 2009 10:49:10 +0200

Hi J

2009/10/29 Jagadish Prasath Ramu <Jagadish.Ramu_at_sun.com>

> Hi Richard,
>
>
> On Thu, 2009-10-29 at 10:30 +0200, Richard Kolb wrote:
> > Hi Judy and Jagadish
> >
> > Thanks very much for the info.
> >
> > Should I file a documentation request to make this clear in the
> > deployment guide ?
> > At the moment is says you must install JDBC drivers to lib/ext to take
> > advantage of Eclipse Link(Page 125)
> > This is incorrect, it needs to be in lib as well
> No, as per the link I have sent, either one would suffice.
> It must be in lib/ext only when some one is making use of EcliplseLink.
>

I understand, but the original problem came in when I only installed to
lib/ext
https://glassfish.dev.java.net/issues/show_bug.cgi?id=10626




> >
> > From the post Jagadish sent (http://tinyurl.com/yzkfdwy):
> > Drivers can be placed in domain-dir/lib and they should be placed
> > there. They can be placed in domain-dir/lib/ext/ as well, but not
> > recommended unless some one wants to use Oracle driver and Oracle
> > specific extension in eclipselink.
> >
> > Maybe add :
> > If the driver is only in lib/ext the admin GUI does not configure a
> > JDBC resource correctly. You need to copy the driver in lib as well.
> This will be a bug. We can fix it so that drivers in lib/ext will also
> be detected.
>

Ah, ok that would be great. I install my drivers in lib/ext in GlassFish 2.1
and I think a lot of people do without really knowing why


regards
Richard.