Hi guys,
In the past years I have been using both GF2 and GF3 with Oracle
databases only. The Oracle JDBC driver needs to be either in <gf
install>/lib or <gf install>/domains/domain1/lib and NOT in <gf
install>/domains/domain1/lib/ext even when EclipseLink or TopLink is
used. If it is put in lib/ext (and nowhere else) GF won't be able to
find it and it doesn't make a difference if you put it in lib/ext as
well or not. Please let this be clear now :-)
Thanks, Wouter
On Thu, Oct 29, 2009 at 10:49:10AM +0200, Richard Kolb wrote:
> 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.
>
--
Veel shit is mest voor de toekomst.
[Unknown Source]
Skype: wvreeven
Facebook: wvreeven
Twitter: wvreeven