Hi Ivy team Our team are about to use Guava in our project. The version we use is 19.0. When we test on Axon.ivy Designer, everything works just fine. However, when we deploy on engine, it get exception at runtime:
After digging around, we discovered that there are 2 jars of guava in Axon.ivy engine's My questions are:
asked 10.05.2016 at 12:47 Genzer Hawker |
I suggest that you repackage the guava version you want to use into a new namespace. Then you are save that no other version is used. More about repackaging can be found in this post: http://answers.axonivy.com/questions/960/use-the-latest-hsqldb-within-my-project answered 10.05.2016 at 13:27 Reguel Werme... ♦♦ Then somehow I lose the benefits of using
(10.05.2016 at 13:36)
Genzer Hawker
It could be part of the 'applicationContextVersion' feature which we are prototyping right now and should be released at least with 7.0. But to be 100% sure, that the server runtime behaves like the designer, OSGI classloading is required. Today there are no plans to do this...
(10.05.2016 at 13:59)
Reguel Werme... ♦♦
But you haven't answered the first question though: why are there 2 version of guava in axon.ivy engine's shared lib? Is it intentional?
(10.05.2016 at 14:44)
Genzer Hawker
No its not intentional. I've fixed it on trunk. With the next version (6.2) only guava-16 will be on the classpath.
(10.05.2016 at 14:51)
Reguel Werme... ♦♦
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 10.05.2016 at 12:47
Seen: 2,170 times
Last updated: 10.05.2016 at 14:51