Hi,

I have created an ignite server node using Ignite.Net.

When I run this node in windows service node I get following exception.

Apache.Ignite.Core.Common.IgniteException: Failed to initialize JVM. --->
Apache.Ignite.Core.Common.IgniteException: Java class is not found (did you
set IGNITE_HOME environment variable?):
org/apache/ignite/internal/processors/platform/utils/PlatformUtils
   --- End of inner exception stack trace ---
   at Apache.Ignite.Core.Impl.Unmanaged.UnmanagedCallbacks.Error(Void*
target, Int32 errType, SByte* errClsChars, Int32 errClsCharsLen, SByte*
errMsgChars, Int32 errMsgCharsLen, SByte* stackTraceChars, Int32
stackTraceCharsLen, Void* errData, Int32 errDataLen)
   at
Apache.Ignite.Core.Impl.Unmanaged.IgniteJniNativeMethods.CreateContext(Void*
opts, Int32 optsLen, Void* cbs)
   at Apache.Ignite.Core.Impl.IgniteManager.CreateJvm(IgniteConfiguration
cfg, UnmanagedCallbacks cbs)
   at
Apache.Ignite.Core.Impl.IgniteManager.CreateJvmContext(IgniteConfiguration
cfg, UnmanagedCallbacks cbs, ILogger log)
   at Apache.Ignite.Core.Ignition.Start(IgniteConfiguration cfg)
   at Apache.Ignite.Core.Ignition.StartFromApplicationConfiguration()

IGNITE_HOME environment variable is in place.

It works fine in console mode.

Thanks,
Saif

Reply via email to