Jolokia 1.3.3 no longer work with Java 6 #249
Comments
Sorry, seems that a Java 7 only class slipped in. Maybe a hint to drop Java 6 support sometimes soon ;-) (Just kidding, trying to support even dinosaur Java versions as long as possible and as long as it make sense). will be fixed for the next version. |
Thanks for the prio1 for next version. |
@Secathor just pushed a 1.3.4-SNAPSHOT with the corresponding fix. Could you please try it whether it works for you ? |
Hi ! PS: snapshot versions are not accessible from maven central, I've to built it locally. |
Hi, |
@amitjain3 thats because of an error introduced in 1.3.3 which relied on Java 7. This has been fixed in 1.3.4-SNAPSHOT. I will release a 1.3.4 very soon now, just waiting on some final feedbacks for a PR. |
@rhuss thanks. one question still which i am not able to understand is how it works fine without any error in weblogic when production_mode set to false. Does it try to use ReflectiveOperationException class on conditional basis in logic. |
Maybe it uses a different JVM under the hood ? Sorry, I have really no exepriences with Weblogin in this respect. In the working case you could have a look at the Also you could try 1.3.2 which doesn't have this issue. |
@rhuss I tried using old version but this is also giving below error in jdk1.6 , could you please suggest what I am doing wrong as it looks like it is trying to refer jdk1.7 class. No access restrictor found at classpath:/jolokia-access.xml, access to all MBeans is allowed |
Could you please try 1.3.2 ? Jolokia 2.0.0 wont work with Java 1.6 anymore (intentionally) |
Hi @amitjain3 ! |
Sorry my bad, downloaded wrong jar from section. "I would be more than happy if you would try out the JAR and WAR agent which are supposed to be drop in replacements for Jolokia 1.3.2." is this correct jar to download Thanks a lot. -----Roland Huß notifications@github.com wrote: ----- Could you please try 1.3.2 ? Jolokia 2.0.0 wont work with Java 1.6 anymore (intentionally) — This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited. Visit us at http://www.intellectdesign.com |
Take this for the JVM agent http://repo1.maven.org/maven2/org/jolokia/jolokia-jvm/1.3.2/jolokia-jvm-1.3.2-agent.jar and this for the WAR agent http://repo1.maven.org/maven2/org/jolokia/jolokia-war/1.3.2/jolokia-war-1.3.2.war |
Thanks a lot @rhuss working fine now. |
Hi !
I'm stuck with Java 6 on a legacy app and notice that new version 1.3.3 of Jolokia doesn't work on it.
It seems that a new dependency required a Java 7 class : java.lang.ReflectiveOperationException.
It appears with WAR and JVM agents.
Jolokia 1.3.2 is OK on Java 6.
I didn't found on the docs the required minimum Java version but for me a minor update don't have to force an upgrade of Java.
Here the full stacktrace :
BTW, thanks for the job. Jolokia works like a charm !
The text was updated successfully, but these errors were encountered: