Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

when I try to download sandbox using load rule file getting this exception, how to handle in this our program?

This is my code snippet.
ISharingManager sharingManager = FileSystemCore.getSharingManager();
          File repoSandboxRoot = new File(rtcSandboxDownloadLoc.toString());
          PathLocation pathlocation = new PathLocation(repoSandboxRoot.getAbsolutePath());
          ILocation sandBoxLocation = pathlocation.getCanonicalForm();
          ISandbox sandbox = sharingManager.getSandbox(sandBoxLocation, false);
          LoadDilemmaHandler loadDilemma = LoadDilemmaHandler.getDefault();
        InputStream ins = new FileInputStream(LoadRule))
          Reader xmlReader = new InputStreamReader(ins);
          ILoadRule2 rule = ILoadRuleFactory.loadRuleFactory.getLoadRule(repositoryConn,
                  xmlReader, true, monitor);
          ILoadOperation loadoperator = rule.getLoadOp(sandbox, loadDilemma,
                  monitor); 

         loadoperator.run(monitor); 



ERROR - Status ERROR: com.ibm.team.filesystem.client code=0 java.lang.UnsatisfiedLinkError: no winfsnatives in java.library.path: [C:\toolbase\java_jdk\11.0.9.1\bin, C:\WINDOWS\Sun\Java\bin, C:\WINDOWS\system32, C:\WINDOWS, c:\toolbase\java_jdk\11.0.9.1\bin, C:\Program Files (x86)\Toolbase Client\lib, C:\Program Files (x86)\Toolbase Client\lib, C:\WINDOWS\system32, C:\WINDOWS, C:\WINDOWS\System32\Wbem, C:\WINDOWS\System32\WindowsPowerShell\v1.0\, C:\WINDOWS\System32\OpenSSH\, C:\Program Files\RedHat\java-1.8.0-openjdk\missioncontrol\, C:\Program Files\RedHat\java-1.8.0-openjdk\webstart\, C:\Program Files\RedHat\java-1.8.0-openjdk\bin, C:\Program Files\RedHat\java-1.8.0-openjdk\jre\bin, C:\Oracle\Client64\bin, C:\Program Files\7-Zip, C:\Program Files\TortoiseSVN\bin, C:\Program Files\dotnet\, C:\Program Files\Git\cmd, C:\Program Files (x86)\Toolbase Client, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\webstart\, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\bin, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\jre\bin, C:\Users\FNY1KOR\AppData\Local\Microsoft\WindowsApps, .] java.lang.Exception: java.lang.UnsatisfiedLinkError: no winfsnatives in java.library.path: [C:\toolbase\java_jdk\11.0.9.1\bin, C:\WINDOWS\Sun\Java\bin, C:\WINDOWS\system32, C:\WINDOWS, c:\toolbase\java_jdk\11.0.9.1\bin, C:\Program Files (x86)\Toolbase Client\lib, C:\Program Files (x86)\Toolbase Client\lib, C:\WINDOWS\system32, C:\WINDOWS, C:\WINDOWS\System32\Wbem, C:\WINDOWS\System32\WindowsPowerShell\v1.0\, C:\WINDOWS\System32\OpenSSH\, C:\Program Files\RedHat\java-1.8.0-openjdk\missioncontrol\, C:\Program Files\RedHat\java-1.8.0-openjdk\webstart\, C:\Program Files\RedHat\java-1.8.0-openjdk\bin, C:\Program Files\RedHat\java-1.8.0-openjdk\jre\bin, C:\Oracle\Client64\bin, C:\Program Files\7-Zip, C:\Program Files\TortoiseSVN\bin, C:\Program Files\dotnet\, C:\Program Files\Git\cmd, C:\Program Files (x86)\Toolbase Client, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\webstart\, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\bin, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\jre\bin, C:\Users\FNY1KOR\AppData\Local\Microsoft\WindowsApps, .]
WARN - Status WARNING: com.ibm.team.filesystem.client code=0 Problem detected: your filesystem supports symlinks but you are missing the Eclipse native support for them null
ERROR - Status ERROR: com.ibm.team.filesystem.client code=0 java.lang.UnsatisfiedLinkError: no fslistener in java.library.path: [C:\toolbase\java_jdk\11.0.9.1\bin, C:\WINDOWS\Sun\Java\bin, C:\WINDOWS\system32, C:\WINDOWS, c:\toolbase\java_jdk\11.0.9.1\bin, C:\Program Files (x86)\Toolbase Client\lib, C:\Program Files (x86)\Toolbase Client\lib, C:\WINDOWS\system32, C:\WINDOWS, C:\WINDOWS\System32\Wbem, C:\WINDOWS\System32\WindowsPowerShell\v1.0\, C:\WINDOWS\System32\OpenSSH\, C:\Program Files\RedHat\java-1.8.0-openjdk\missioncontrol\, C:\Program Files\RedHat\java-1.8.0-openjdk\webstart\, C:\Program Files\RedHat\java-1.8.0-openjdk\bin, C:\Program Files\RedHat\java-1.8.0-openjdk\jre\bin, C:\Oracle\Client64\bin, C:\Program Files\7-Zip, C:\Program Files\TortoiseSVN\bin, C:\Program Files\dotnet\, C:\Program Files\Git\cmd, C:\Program Files (x86)\Toolbase Client, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\webstart\, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\bin, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\jre\bin, C:\Users\FNY1KOR\AppData\Local\Microsoft\WindowsApps, .] java.lang.Exception: java.lang.UnsatisfiedLinkError: no fslistener in java.library.path: [C:\toolbase\java_jdk\11.0.9.1\bin, C:\WINDOWS\Sun\Java\bin, C:\WINDOWS\system32, C:\WINDOWS, c:\toolbase\java_jdk\11.0.9.1\bin, C:\Program Files (x86)\Toolbase Client\lib, C:\Program Files (x86)\Toolbase Client\lib, C:\WINDOWS\system32, C:\WINDOWS, C:\WINDOWS\System32\Wbem, C:\WINDOWS\System32\WindowsPowerShell\v1.0\, C:\WINDOWS\System32\OpenSSH\, C:\Program Files\RedHat\java-1.8.0-openjdk\missioncontrol\, C:\Program Files\RedHat\java-1.8.0-openjdk\webstart\, C:\Program Files\RedHat\java-1.8.0-openjdk\bin, C:\Program Files\RedHat\java-1.8.0-openjdk\jre\bin, C:\Oracle\Client64\bin, C:\Program Files\7-Zip, C:\Program Files\TortoiseSVN\bin, C:\Program Files\dotnet\, C:\Program Files\Git\cmd, C:\Program Files (x86)\Toolbase Client, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\webstart\, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\bin, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\jre\bin, C:\Users\FNY1KOR\AppData\Local\Microsoft\WindowsApps, .]
java.lang.Exception: java.lang.UnsatisfiedLinkError: no fslistener in java.library.path: [C:\toolbase\java_jdk\11.0.9.1\bin, C:\WINDOWS\Sun\Java\bin, C:\WINDOWS\system32, C:\WINDOWS, c:\toolbase\java_jdk\11.0.9.1\bin, C:\Program Files (x86)\Toolbase Client\lib, C:\Program Files (x86)\Toolbase Client\lib, C:\WINDOWS\system32, C:\WINDOWS, C:\WINDOWS\System32\Wbem, C:\WINDOWS\System32\WindowsPowerShell\v1.0\, C:\WINDOWS\System32\OpenSSH\, C:\Program Files\RedHat\java-1.8.0-openjdk\missioncontrol\, C:\Program Files\RedHat\java-1.8.0-openjdk\webstart\, C:\Program Files\RedHat\java-1.8.0-openjdk\bin, C:\Program Files\RedHat\java-1.8.0-openjdk\jre\bin, C:\Oracle\Client64\bin, C:\Program Files\7-Zip, C:\Program Files\TortoiseSVN\bin, C:\Program Files\dotnet\, C:\Program Files\Git\cmd, C:\Program Files (x86)\Toolbase Client, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\webstart\, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\bin, C:\Program Files (x86)\RedHat\java-1.8.0-openjdk\jre\bin, C:\Users\FNY1KOR\AppData\Local\Microsoft\WindowsApps, .]

0 votes



One answer

Permanent link

 This question is insufficient and does not allow any meaningful answer. I am however aware, that your company has customized the Eclipse client and the loadrule related stuff is likely an extension. Please get in contact with your colleagues that provide the Eclipse client and get help from them. It looks like there is an issue with missing libraries in your install.

0 votes

Comments

I am using this methods ->void com.ibm.team.filesystem.client.operations.IFileSystemOperation.run(IProgressMonitor iprogressmonitor) throws FileSystemException, TeamRepositoryException from com.ibm.team.filesystem.client.operations.ILoadOperation

According to the Internet, you are missing libraries from the path  

  • fslistener.dll 
  • winfsnatives.dll 

These are DLL's that are actually shipped with EWM. Eclipse and 
EWM have some dlls on windows to connect to the native environment on windows.

I do not know why and how you start your client/tool or whatever. In your organization are several people that might know. 

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,700
× 457
× 57
× 56
× 13
× 2

Question asked: Jun 20 '23, 12:27 a.m.

Question was seen: 1,258 times

Last updated: Jun 23 '23, 12:03 a.m.

Confirmation Cancel Confirm