<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Newer version of import-export-tool-8.1.2-12686166.jar in Technical Community Resources and Help Discussions</title>
    <link>https://communities.vmware.com/t5/Technical-Community-Resources/Newer-version-of-import-export-tool-8-1-2-12686166-jar/m-p/2944842#M4067</link>
    <description>&lt;P&gt;I am currently using a JAR file downloaded (a couple of years ago) from VmWare, called the "Import-export SRM tool".&lt;BR /&gt;I am using it with the below command, on a Windows system, on which&amp;nbsp;&lt;SPAN&gt;Java 1.8 is installed and JAVA_HOME is correctly set.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;java -jar ./tools/import-export-tool-8.1.2-12686166.jar export format&lt;/LI-CODE&gt;&lt;P&gt;When run with the above command, the Java program prompts me for the IP address of the Lookup Service, and for a few other details of the SRM instance, and successfully generates an SRM configuration export XML file.&lt;/P&gt;&lt;P&gt;However, the above JAR file uses log4j 1.x, which has known vulnerabilities.&lt;/P&gt;&lt;P&gt;To avoid these vulnerabilities, I was looking for newer versions of this JAR file on VmWare website, and could find and download the file &lt;STRONG&gt;import-export-tool-8.5.0.jar&lt;/STRONG&gt;&amp;nbsp;&lt;A href="https://customerconnect.vmware.com/en/downloads/details?downloadGroup=SRM8505-PLUGIN&amp;amp;productId=1203)" target="_self"&gt;on this page&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran this &lt;STRONG&gt;import-export-tool-8.5.0.jar&lt;/STRONG&gt; file with the below command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;java -jar ./tools/import-export-tool-8.5.0.jar --export --format&lt;/LI-CODE&gt;&lt;P&gt;The above command, however, fails with the below exception:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: com/vmware/srm/client/topology/client/view/availability/PairSetup
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
        at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
        at java.lang.Class.getMethod0(Class.java:3018)
        at java.lang.Class.getMethod(Class.java:1784)
        at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:650)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:632)
Caused by: java.lang.ClassNotFoundException: com.vmware.srm.client.topology.client.view.availability.PairSetup
        at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        ... 7 more&lt;/LI-CODE&gt;&lt;P&gt;From the above error, it appears to me that the&amp;nbsp;&lt;STRONG&gt;import-export-tool-8.5.0.jar&lt;/STRONG&gt; file can run only on the system that has SRM installed.&lt;/P&gt;&lt;P&gt;However, I need to be able to run it from a plain Windows system that merely has Java 1.8 installed (I am able to do that with my older&amp;nbsp;&lt;STRONG&gt;import-export-tool-8.1.2-12686166.jar&lt;/STRONG&gt; file)&lt;/P&gt;&lt;P&gt;Can someone help me please ?&lt;BR /&gt;To summarize, I need a newer version of&amp;nbsp;import-export-tool-8.1.2-12686166.jar file that does not use log4j 1.x, and which I can run from a plain Windows system that has only Java 1.8 installed. My SRM instance is of version 8.5&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Dec 2022 01:46:36 GMT</pubDate>
    <dc:creator>chaitanya0</dc:creator>
    <dc:date>2022-12-21T01:46:36Z</dc:date>
    <item>
      <title>Newer version of import-export-tool-8.1.2-12686166.jar</title>
      <link>https://communities.vmware.com/t5/Technical-Community-Resources/Newer-version-of-import-export-tool-8-1-2-12686166-jar/m-p/2944842#M4067</link>
      <description>&lt;P&gt;I am currently using a JAR file downloaded (a couple of years ago) from VmWare, called the "Import-export SRM tool".&lt;BR /&gt;I am using it with the below command, on a Windows system, on which&amp;nbsp;&lt;SPAN&gt;Java 1.8 is installed and JAVA_HOME is correctly set.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;java -jar ./tools/import-export-tool-8.1.2-12686166.jar export format&lt;/LI-CODE&gt;&lt;P&gt;When run with the above command, the Java program prompts me for the IP address of the Lookup Service, and for a few other details of the SRM instance, and successfully generates an SRM configuration export XML file.&lt;/P&gt;&lt;P&gt;However, the above JAR file uses log4j 1.x, which has known vulnerabilities.&lt;/P&gt;&lt;P&gt;To avoid these vulnerabilities, I was looking for newer versions of this JAR file on VmWare website, and could find and download the file &lt;STRONG&gt;import-export-tool-8.5.0.jar&lt;/STRONG&gt;&amp;nbsp;&lt;A href="https://customerconnect.vmware.com/en/downloads/details?downloadGroup=SRM8505-PLUGIN&amp;amp;productId=1203)" target="_self"&gt;on this page&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran this &lt;STRONG&gt;import-export-tool-8.5.0.jar&lt;/STRONG&gt; file with the below command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;java -jar ./tools/import-export-tool-8.5.0.jar --export --format&lt;/LI-CODE&gt;&lt;P&gt;The above command, however, fails with the below exception:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: com/vmware/srm/client/topology/client/view/availability/PairSetup
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
        at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
        at java.lang.Class.getMethod0(Class.java:3018)
        at java.lang.Class.getMethod(Class.java:1784)
        at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:650)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:632)
Caused by: java.lang.ClassNotFoundException: com.vmware.srm.client.topology.client.view.availability.PairSetup
        at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        ... 7 more&lt;/LI-CODE&gt;&lt;P&gt;From the above error, it appears to me that the&amp;nbsp;&lt;STRONG&gt;import-export-tool-8.5.0.jar&lt;/STRONG&gt; file can run only on the system that has SRM installed.&lt;/P&gt;&lt;P&gt;However, I need to be able to run it from a plain Windows system that merely has Java 1.8 installed (I am able to do that with my older&amp;nbsp;&lt;STRONG&gt;import-export-tool-8.1.2-12686166.jar&lt;/STRONG&gt; file)&lt;/P&gt;&lt;P&gt;Can someone help me please ?&lt;BR /&gt;To summarize, I need a newer version of&amp;nbsp;import-export-tool-8.1.2-12686166.jar file that does not use log4j 1.x, and which I can run from a plain Windows system that has only Java 1.8 installed. My SRM instance is of version 8.5&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 01:46:36 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Technical-Community-Resources/Newer-version-of-import-export-tool-8-1-2-12686166-jar/m-p/2944842#M4067</guid>
      <dc:creator>chaitanya0</dc:creator>
      <dc:date>2022-12-21T01:46:36Z</dc:date>
    </item>
  </channel>
</rss>

