# Not able to convert JMX 1.0 to 2.0 - Getting Errors

**URL:** <https://community.dynatrace.com/t/not-able-to-convert-jmx-1-0-to-2-0-getting-errors/45861>\
**Category:** Extensions\
**Tags:** jboss, jmx, extensions\
**Created:** [May 31, 2024, 4:41pm UTC](https://community.dynatrace.com/t/not-able-to-convert-jmx-1-0-to-2-0-getting-errors/45861 "2024-05-31T16:41:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichaelT\_Lee](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@MichaelT\_Lee](https://community.dynatrace.com/u/MichaelT_Lee)\
**Post date:** [May 31, 2024, 4:41pm UTC](https://community.dynatrace.com/t/not-able-to-convert-jmx-1-0-to-2-0-getting-errors/45861/1 "2024-05-31T16:41:22Z")

</div>

I am trying to enabled Dynatrace monitoring for Red Had JBoss DataGrid Infinispan.

I used the Dynatrace 1.0 JMX Wizard to find the Infinispan process and add the metrics into a custom extension for 1.0.

With the resulting zip file, I extracted the JSON.&nbsp; Then I tried to use the VSCode plugin for Dynatrace Extensions 2.0 to translate this 1.0 JSON to the 2.0 version.

However I get errors.

The 1.0 JSON contains items such as:

- type: METRIC\_TABLE

- mode: NORMAL

- metrics \>&nbsp;metricSelectorSort

- metrics \>&nbsp;metricSelectorDetailed

What the the Ext 2.0 equivalents for these?

Since these are terms coming from a Dynatrace 1.0 JSON, should these not automatically be covered by the VSCode plugin for conversion to 2.0?

Please help as we need to resolve this in a matter of days.

---

<div class="post-metadata">

**Author:** ![PierreGutierrez](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pierregutierrez/32/5934_2.png) [@PierreGutierrez](https://community.dynatrace.com/u/PierreGutierrez)\
**Post date:** [June 1, 2024, 4:15pm UTC](https://community.dynatrace.com/t/not-able-to-convert-jmx-1-0-to-2-0-getting-errors/45861/2 "2024-06-01T16:15:20Z")

</div>

Hi&nbsp;[@MichaelT\_Lee](https://community.dynatrace.com/user/14809)

The migration of Extension 1.0 to Extension 2.0 is not automatic.

[Unmatched scalability and security of Dynatrace extensions](https://www.dynatrace.com/news/blog/unmatched-scalability-and-security-of-dynatrace-extensions-now-available-for-all-supported-technologies-7-reasons-to-migrate-your-jmx-and-python-plugins/)

 ![PierreGutierrez_0-1717258293458.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/ebf4b0ad91464f881bf976b1e7a0993fb3885050.png)

Yes, it is possible to use Visual Studio Code to perform the conversion but following some specific steps.

[JMX extensions | Dynatrace Developer](https://developer.dynatrace.com/extensions-v2/dynatrace-extensions-vscode/guides/migrate/jmx-conversion/?_ga=2.190637224.2080464788.1717257530-2140016070.1708985798&_gac=1.242338230.1717003861.EAIaIQobChMIx8XV6LGzhgMVYlVIAB0dqwFMEAAYASAAEgKwjPD_BwE#convert-a-jmx-extension-as-a-new-project)

 ![PierreGutierrez_1-1717258444740.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/bcf0f72fc70f28a76806f56140c0d5ad79b8825f.png)

That Dynatrace Developer link has a lot of information about it.

I hope its helpful 💪
