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
- relates to
-
IGNITE-5343 .NET: Interoperate with JVM directly, get rid of C++ layer
- Resolved
- links to