Hi,

I just wanted to point out an issue I've been having with class loading 
with the Execute Listeners.

In my web app, I am using tomcat versioning support, so I can have multiple 
versions of the app running at the same time.

Unfortunately the JOOQ Execute Listeners give the following error when the 
2nd version of the app is deployed.
java.lang.ClassCastException: 
au.com.greatlivinghomes.buildflow.data.JooqDataExecuteListener cannot be 
cast to org.jooq.ExecuteListener
at org.jooq.impl.Util.getListener(Util.java:1113)

Anyway, I replaced the code with the usually class.forName(...) and it is 
working now. The comments mentioned that using the context class loader was 
required for OSGI support, but in my case that broke my web app :). I 
remember OSGI being a class loading nightmare!, but it was great when it 
worked :)

Thanks, Ryan

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to