quality@glassfish.java.net

Re: Unable to create Oracle datasource on admin gui

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Thu, 29 Oct 2009 12:28:42 +0100

Hallo Richard,


OK I was incorrect regarding GFv2. Thanks.


Groetjes, Wouter

On Thu, Oct 29, 2009 at 12:24:16PM +0200, Richard Kolb wrote:
> Hi Wouter
>
> I am running Glassfish 2.1 with the Oracle 11g driver in domain1/lib/ext now
> and it works fine.
> I'm using Hibernate 3 with annotations and not TpoLink or EclipseLink. So I am
> scratching my head a bit. Don't even know why I started putting it in lib/ext.
> Must have read something long ago.
>
> By the way I like your quote at the bottom :
> Veel shit is mest voor de toekomst.
> [Unknown Source]
>
> regards
> Richard
>
>
>
> 2009/10/29 Wouter van Reeven <wouter_at_van.reeven.nl>
>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>
>

-- 
Cloudless everyday you fall upon my waking eyes
inviting and inciting me to rise
And through the window in the wall
Come streaming in on sunlight wings
A million bright ambassadors of morning
[Pink Floyd - Echoes]
Skype: wvreeven
Facebook: wvreeven
Twitter: wvreeven