Indupa opened a new issue, #10810:
URL: https://github.com/apache/ignite/issues/10810

   Hi ,
   In our project , ignite is started using "Topshelf" command to run as 
windows service by passing JAVA_HOME as one of the Argument.
   
   when i tried to run Apche Ignite 2.15.0 with OpenJDK 17, Its not working.
   Can you please provide information on this.....?
   
   Note : I am running Ignite on Windows Server
   
   Getting the following error when i tried to start Ignite 2.15 with jdk 17
   2023-06-26 14:56:49.514 [ERR] Exception while starting ignite service.
   Apache.Ignite.Core.Common.IgniteException: Java exception occurred 
[class=java.lang.ExceptionInInitializerError, message=] ---> 
Apache.Ignite.Core.Common.JavaException: java.lang.ExceptionInInitializerError
   at 
org.apache.ignite.internal.processors.platform.memory.PlatformAbstractMemory.(PlatformAbstractMemory.java:27)
   at 
org.apache.ignite.internal.processors.platform.PlatformAbstractBootstrap.init(PlatformAbstractBootstrap.java:54)
   at 
org.apache.ignite.internal.processors.platform.PlatformIgnition.start(PlatformIgnition.java:65)
   Caused by: java.lang.RuntimeException: java.nio.DirectByteBuffer.address 
field is unavailable.
   at org.apache.ignite.internal.util.GridUnsafe$2.run(GridUnsafe.java:1570)
   at org.apache.ignite.internal.util.GridUnsafe$2.run(GridUnsafe.java:1557)
   at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
   at 
org.apache.ignite.internal.util.GridUnsafe.bufferAddressOffset(GridUnsafe.java:1557)
   at org.apache.ignite.internal.util.GridUnsafe.(GridUnsafe.java:109)
   ... 3 more
   Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make 
field long java.nio.Buffer.address accessible: module java.base does not "opens 
java.nio" to unnamed module @4b85612c
   at 
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
   at 
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
   at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
   at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
   at org.apache.ignite.internal.util.GridUnsafe$2.run(GridUnsafe.java:1562)
   ... 7 more
   
   at Apache.Ignite.Core.Impl.Unmanaged.Jni.Env.ExceptionCheck()
   at Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.IgnitionStart(Env env, 
String cfgPath, String gridName, Boolean clientMode, Boolean userLogger, Int64 
igniteId, Boolean redirectConsole)
   at Apache.Ignite.Core.Ignition.Start(IgniteConfiguration cfg)
   --- End of inner exception stack trace ---
   at Apache.Ignite.Core.Ignition.Start(IgniteConfiguration cfg)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to