AnsweredAssumed Answered

will an older agent 9.7 work with APM server 10.5 release?

Question asked by sbastine001 on Jun 8, 2017
Latest reply on Jun 8, 2017 by Hiko_Davis

Hi,

 

wondering if APM enterprise manager is backward compatible in terms of agents? I have a situation where I need to instrument an app running on weblogic 10.3 (IBM JDK 1.6 on AIX) and the Introscope agent 10.5.1 throws the following exception:

 

6/06/17 12:21:42 PM PKT [INFO] [IntroscopeAgent.Agent] Extension Name ### ->Introscope Autoprobe Intelligent Tracers Support
6/06/17 12:21:42 PM PKT [ERROR] [IntroscopeAgent.Agent] Unexpected error loading extension
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/wily/introscope/agent/intelligent/entrypoint/tracers/AbstractDetectionHelperTracer, offset=6
at java.lang.ClassLoader.defineClass(ClassLoader.java:275)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:74)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:540)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:451)
at java.net.URLClassLoader.access$300(URLClassLoader.java:79)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1038)
at java.security.AccessController.doPrivileged(AccessController.java:310)
at java.net.URLClassLoader.findClass(URLClassLoader.java:429)
at com.wily.util.extension.JarExtension$AllPermissionsClassLoader.findClass(JarExtension.java:279)
at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
at com.wily.util.extension.EagerAllPermissionsClassLoader.loadClass(EagerAllPermissionsClassLoader.java:115)
at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:174)
at com.wily.util.extension.EagerAllPermissionsClassLoader.loadListOfForcedClassNames(EagerAllPermissionsClassLoader.java:206)
at com.wily.util.extension.EagerAllPermissionsClassLoader.preLoadClasses(EagerAllPermissionsClassLoader.java:95)
at com.wily.util.extension.JarExtension.createEagerClassLoader(JarExtension.java:237)
at com.wily.util.extension.JarExtension.IExtension_setParentClassLoader(JarExtension.java:400)
at com.wily.util.extension.JarExtensionProxy.IExtensionProxy_newInstance(JarExtensionProxy.java:126)
at com.wily.util.extension.ExtensionBroker.loadExtension(ExtensionBroker.java:312)
at com.wily.util.extension.ExtensionBroker.loadExtensionsFromProxies(ExtensionBroker.java:300)
at com.wily.util.extension.ExtensionBroker.locateAndLoadExtensions(ExtensionBroker.java:251)
at com.wily.util.extension.ExtensionBroker.loadExtensions(ExtensionBroker.java:95)
at com.wily.introscope.agent.extension.ExtensionAdministrator.initialLoadExtensions(ExtensionAdministrator.java:174)
at com.wily.introscope.agent.enterprise.EnterpriseAgent.<init>(EnterpriseAgent.java:283)
at com.wily.introscope.agent.enterprise.EnterpriseAgent.<init>(EnterpriseAgent.java:262)
at com.wily.introscope.agent.runtime.java.enterprise.Java2EnterpriseAgent.<init>(Java2EnterpriseAgent.java:44)
at com.wily.introscope.agent.runtime.NativeConcreteAgentFactory.newConcreteAgent(NativeConcreteAgentFactory.java:16)
at com.wily.introscope.agent.AgentShim.doCreateDelegate(AgentShim.java:617)
at com.wily.introscope.agent.AgentShim.createDelegate(AgentShim.java:532)
at com.wily.introscope.agent.AgentShim.getDelegateAgent(AgentShim.java:503)
at com.wily.introscope.agent.AgentShim.ProbeBuilderEntryPoint_initializeAgentShim(AgentShim.java:966)
at com.wily.introscope.api.instrument.JavaAgent.initializeAgent(JavaAgent.java:313)
at com.wily.introscope.api.instrument.JavaAgent.premain(JavaAgent.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:335)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:350)
6/06/17 12:21:42 PM PKT [INFO] [IntroscopeAgent.Agent] Extension Name ### ->AIX PSeries32 Platform Monitor
6/06/17 12:21:42 PM PKT [INFO] [IntroscopeAgent.Agent] Extension Name ### ->AIX PSeries64 Platform Monitor
6/06/17 12:21:42 PM PKT [INFO] [IntroscopeAgent.Agent] Extensions Boot Load List:[]
6/06/17 12:21:42 PM PKT [INFO] [IntroscopeAgent.Agent] List of extensions to be loaded at boot (introscope.agent.extensions.bundles.boot.load) set to default value of ""
6/06/17 12:21:42 PM PKT [INFO] [IntroscopeAgent.Agent] Extensions bundles Include List [before change]:[]
6/06/17 12:21:42 PM PKT [INFO] [IntroscopeAgent.Agent] Extensions bundles Include List [after change]:[]
6/06/17 12:21:42 PM PKT [INFO] [IntroscopeAgent.Agent] List of extensions to be loaded (introscope.agent.extensions.bundles.load) set to ""
6/06/17 12:21:42 PM PKT [ERROR] [IntroscopeAgent] A problem occurred while attempting to create the delegate agent
6/06/17 12:21:42 PM PKT [ERROR] [IntroscopeAgent] Agent Unavailable 

......

.....

<Jun 6, 2017 12:21:49 PM PKT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "APM-StartupClass", com.wily.introscope.agent.AgentNotAvailableException
com.wily.introscope.agent.AgentNotAvailableException
at com.wily.introscope.agent.AgentShim.IAgentShim_getAgent(AgentShim.java:696)
at com.wily.introscope.api.weblogic.IntroscopeStartupClass.startup(IntroscopeStartupClass.java:70)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeStartup(ClassDeploymentManager.java:287)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:265)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
Truncated. see log file for complete stacktrace
>

 

In this situation if I have to use older introscope agent e.g. 9.7, will that work fine with 10.5 apm server?

 

thanks,

 

KG

Outcomes