geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <>
Subject Re: LinkageError woes
Date Wed, 11 May 2011 00:56:58 GMT

On May 10, 2011, at 8:19 PM, David Blevins wrote:

> On May 10, 2011, at 3:48 PM, Kevan Miller wrote:
>> On May 10, 2011, at 5:08 PM, Kevan Miller wrote:
>>> On May 10, 2011, at 3:54 PM, David Blevins wrote:
>>>> Running out of places to perform our LinkageError hack.
>>>> We've been doing the "try again" routine on all our code (xbean, openwebbeans,
etc) and it seems we've followed that path as far as it will lead us.  Currently stuck at
the following with no good ideas on how to work around it.
>>> Yuck. Thanks for getting us this far!
>>> For some reason, I had the notion that this was all going to be resolved by moving
up to the latest OpenJPA release. Obviously, I was mis-guided (at best) and definitely hadn't
gotten to the test validation stage. 
>>> I guess OpenJPA would be where I might hope we could resolve... I can try banging
my head against the wall for a bit...
>> Well, one reason why OpenJPA wouldn't help resolve is if OpenJPA weren't involved...
>> If my memory is correct, this will work on Felix...
> Indeed it seems like an Equinox issue.
> Tried a hack involving wrapping the classloader with one that double-tries loadClass
if a LinkageError is thrown.  Didn't work.  Might have needed to have done the hack a little
deeper -- I just did the wrapping in TomcatWebAppContext.
> At the moment trying to find at least some dirty hack that will let me get far enough
to see if the test will pass sans this issue.  Current hack idea: eagerly load all annotation

Started looking at Equinox code a bit. Also sent of a question. See who gets there first...

View raw message