# APM Agent Error on Websphere server

**URL:** <https://discuss.elastic.co/t/apm-agent-error-on-websphere-server/174316>\
**Category:** APM\
**Created:** [March 28, 2019, 11:15am UTC](https://discuss.elastic.co/t/apm-agent-error-on-websphere-server/174316 "2019-03-28T11:15:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Awais\_Haider](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@Awais\_Haider](https://discuss.elastic.co/u/Awais_Haider)\
**Post date:** [March 28, 2019, 11:15am UTC](https://discuss.elastic.co/t/apm-agent-error-on-websphere-server/174316/1 "2019-03-28T11:15:43Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text 🙂

**Kibana version** : 6.6  
**Elasticsearch version** : 6.6  
**APM Server version** :6.7

**APM Agent language and version** :1.5

**Browser version** :Chrome

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**:

\*\*Fresh install or upgraded from other version?\*\*Fresh

**Is there anything special in your setup?** For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.  
We Logstash with FileBeat configured  
**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:  
Exception in thread "main" java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=co/elastic/apm/agent/bci/AgentMain, offset=6  
at java.lang.ClassLoader.defineClassImpl(Native Method)  
at java.lang.ClassLoader.defineClass(ClassLoader.java:273)  
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:74)  
at java.net.URLClassLoader.defineClass(URLClassLoader.java:538)  
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)  
at java.net.URLClassLoader.access$300(URLClassLoader.java:77)  
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1041)  
at java.security.AccessController.doPrivileged(AccessController.java:488)  
at java.net.URLClassLoader.findClass(URLClassLoader.java:427)  
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:701)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:680)  
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:663)  
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:292)  
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:350)

Fatal error: processing of -javaagent failed

**Steps to reproduce** :

1. Add APM agent setting in JVM options websphere
2. Start server

**Errors in browser console (if relevant)**:

**Provide logs and/or server output (if relevant)**:  
Exception in thread "main" java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=co/elastic/apm/agent/bci/AgentMain, offset=6  
at java.lang.ClassLoader.defineClassImpl(Native Method)  
at java.lang.ClassLoader.defineClass(ClassLoader.java:273)  
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:74)  
at java.net.URLClassLoader.defineClass(URLClassLoader.java:538)  
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)  
at java.net.URLClassLoader.access$300(URLClassLoader.java:77)  
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1041)  
at java.security.AccessController.doPrivileged(AccessController.java:488)  
at java.net.URLClassLoader.findClass(URLClassLoader.java:427)  
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:701)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:680)  
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:663)  
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:292)  
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:350)

Fatal error: processing of -javaagent failed

---

<div class="post-metadata">

**Author:** ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)\
**Post date:** [March 28, 2019, 11:23am UTC](https://discuss.elastic.co/t/apm-agent-error-on-websphere-server/174316/2 "2019-03-28T11:23:55Z")

</div>

Hi and thanks for reaching out.  
We currently don't support WebSphere application server and we only support Java 7 or higher - see [our supported technologies page](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html) for more details.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 18, 2019, 7:36am UTC](https://discuss.elastic.co/t/apm-agent-error-on-websphere-server/174316/3 "2019-04-18T07:36:14Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
