Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5730

.NET: Failed to load ignite.jni.dll when starting up multiple nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.3
    • platforms

    Description

      When starting multiple nodes at once (with a script of some kind), failure to load unmanaged dll can occur:

      set IGNITE_NATIVE_TEST_CLASSPATH=true
      
      FOR /L %%A IN (1,1,20) DO (
        start Apache.Ignite.exe
      )
      

      Exception:

      ERROR: System.TypeInitializationException: The type initializer for 'Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils' threw an exception. ---> Apache.Ignite.Core.Common.IgniteException: Failed to load ignite.jni.dll: 126
         at Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils..cctor()
         --- End of inner exception stack trace ---
         at Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.Initialize()
         at Apache.Ignite.Core.Impl.IgniteUtils.LoadDlls(String configJvmDllPath, ILogger log)
         at Apache.Ignite.Core.Ignition.Start(IgniteConfiguration cfg)
         at Apache.Ignite.IgniteRunner.Main(String[] args)
      

      Error codes may be 5 (ERROR_ACCESS_DENIED) or 126 (ERROR_MOD_NOT_FOUND).

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: