grouper-users - Re: [grouper-users] 1.4.0 Issue with mysql drivers
Subject: Grouper Users - Open Discussion List
List archive
- From: Raymond D Walker <>
- To: Chris Hyzer <>, "" <>
- Subject: Re: [grouper-users] 1.4.0 Issue with mysql drivers
- Date: Tue, 13 Jan 2009 15:59:57 -0700
- Accept-language: en-US
- Acceptlanguage: en-US
> From: Chris Hyzer
> <>
> Date: Tue, 13 Jan 2009 14:11:30 -0700
> To: Raymond D Walker
> <>,
>
> <>
> Subject: RE: [grouper-users] 1.4.0 Issue with mysql drivers
>> After configuring and testing with 1.3.1 for a bit now, in trying to
>> switch over to 1.4.0 I'm experiencing issues with mysql drivers. I have
>> placed the same mysql driver used in 1.3.1 in the lib/custom directory,
>> but still get this error when trying to init by any means possible...
>> I'm pretty sure I've checked all my bases, but are there any
>> suggestions as to the cause of this issue?
>
> Are you sure it is in the right place?
>
> i.e. the driver is in grouper_home/lib/custom, and you are invoking from
> grouper_home/bin/gsh? Maybe there is an env var for grouper_home which
> points
> to the wrong place?
Yes, everything reports that the grouper_home is ok.
> You could try putting the jar in lib/grouper, but it seems like it doesn't
> address the root problem.
I've tried placing the jar in lib/grouper and also in lib/jdbcSamples and
even placing it explicitly into my classpath with no luck.
I am able to verify that the jar is supposedly loaded via the dawidweiss
invoker when turning on it's -verbose option:
...
Attempting to load class
edu.internet2.middleware.grouper.app.gsh.GrouperShell using classpath
repositories:
(dir) /nau/local/grouper/1.4.0/grouper-api-1.4.0/conf
(jar) /nau/local/grouper/1.4.0/grouper-api-1.4.0/lib/ant/ant-contrib.jar
(jar)
/nau/local/grouper/1.4.0/grouper-api-1.4.0/lib/custom/mysql-connector-java-5
.1.7-bin.jar
...
...
(jar) /nau/local/grouper/1.4.0/grouper-api-1.4.0/dist/lib/grouper.jar
System class loader used before the dynamic class repositories.
Grouper starting up: version: 1.4.0, build date: 2009/01/13 14:56:18, env:
dev
...
Which looks to be successful, but still fails looking for the jdbc driver
that I had verified was included with the jar in the lib/custom dir. One
would think that the included jdbc example driver would work off the bat as
well, but does not. For all variants of driver, I get:
...
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at
com.dawidweiss.util.lang.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.j
ava:516)
...
I thought it might be multiple jars stepping on each others toes, so I
removed any jars with duplicate classes. This did not produce any different
results. I'm thinking it might have something to do with the
AdaptiveClassLoader, but I'm not sure why. The hunt continues...
- 1.4.0 Issue with mysql drivers, ray . walker, 01/13/2009
- RE: [grouper-users] 1.4.0 Issue with mysql drivers, Chris Hyzer, 01/13/2009
- Re: [grouper-users] 1.4.0 Issue with mysql drivers, Raymond D Walker, 01/13/2009
- RE: [grouper-users] 1.4.0 Issue with mysql drivers, Chris Hyzer, 01/13/2009
Archive powered by MHonArc 2.6.16.