You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My feelings with respect to an upgrade of json-simple are mixed. The only thing 1.1.1 adds is a proper OSGi Manifest entry and a maven build. Unfortunately the pom.xml is broken and adds a plain dependency to junit (with default scoped). Also, debug information is switched on now, increasing the size of json-simple of about 50% (well, that's probably the smallest issue).
That was the reason, why I decided sometimes ago to avoid 1.1.1 and always embed json-simple where possible: It integrated in the jvm and OSGi agent jar and of course in the WAR of the web agent.
But more important, a version update won't fix AMQ-5091 I just tried the scenario you described with an json-simple 1.1.1 enabled JVM agent and get the same symptoms: When accessing the ActiveMQ included agent via port 8161 after an JVM agent has been attached, the IllegalAccessError is thrown. Another indicator that it has nothing todo with a version mismatch is, that the method signature and visibility given in the error message is the same in 1.1 and 1.1.1 (and in fact, there were no code changes at all between 1.1 and 1.1.1). IMO it is a classloader issue, but I'm still investigating, for which probably no easy fix it possible (except for avoiding two different kind of agents).
Unfortunately it seems that the project is quite dead (and if something happen, then very slowly. I tend to update to 1.1.1 (since I'm not so picky anymore about the size increase ;-), but again, that won't fix your issue.
See
https://issues.apache.org/jira/browse/AMQ-5091
The text was updated successfully, but these errors were encountered: