Re: Issue while starting the Ignite node in wildfly server

2020-10-06 Thread akorensh
Hi,
   Looks like an error w/the classpath,
   IgniteUtils is in the same mode as the Ignition class therefore this
looks like the igntie-core was not loaded correctly. 
  Ignite 2.7 is an old version. I would try to simplify the scenario by
loading the latest Ignite version  
https://ignite.apache.org/download.cgi#binaries and using only ignite-core
and ignite-spring.
  Don't load any other ignite or other modules/libraries. Verify the
classpath of the java process running WildFly using jinfo or other java
tool.

Thanks, Alex



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


RE: Issue while starting the Ignite node in wildfly server

2020-09-28 Thread BEELA GAYATRI
Dear Team,

I am trying to deploy the web application on wildfly server. Ignite client will 
be started from the application.
Ignite Version: 2.7
Wildfly Server version : 20

wildfly-20.0.0.Final/modules/system/layers/base/org/wildfly/extension/io/main

Added Ignite  jars  in
wildfly-20.0.0.Final/modules/system/layers/base/org/apache/ignite/main

We are getting below error . Please suggest
Failed to find empty constructor for class: 
org.apache.ignite.internal.processors.platform.websession.PlatformDotNetSessionLockResult
org.apache.ignite.binary.BinaryObjectException: Failed to find empty 
constructor for class: 
org.apache.ignite.internal.processors.platform.websession.PlatformDotNetSessionLockResult
at 
org.apache.ignite.internal.binary.BinaryClassDescriptor.constructor(BinaryClassDescriptor.java:981)
 ~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.binary.BinaryClassDescriptor.(BinaryClassDescriptor.java:267)
 ~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.binary.BinaryContext.registerPredefinedType(BinaryContext.java:1063)
 ~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.binary.BinaryContext.registerPredefinedType(BinaryContext.java:1048)
 ~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.binary.BinaryContext.(BinaryContext.java:350) 
~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl.start(CacheObjectBinaryProcessorImpl.java:208)
 ~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1700) 
~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1013) 
~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2038)
 ~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1730)
 ~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1158) 
~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:1076) 
~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:962) 
~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:861) 
~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:731) 
~[ignite-core-2.7.0.jar:2.7.0]
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:700) 
~[ignite-core-2.7.0.jar:2.7.0]
at org.apache.ignite.Ignition.start(Ignition.java:348) 
~[ignite-core-2.7.0.jar:2.7.0]




Sent from Mail for Windows 10




From: DEEPTHI KOLLIPARA
Sent: Sunday, September 27, 2020 5:56 PM
To: user@ignite.apache.org
Subject: Issue while starting the Ignite node in wildfly server

"External email. Open with Caution"
Dear Team,

   I am trying to deploy the web application on wildfly server. Ignite client 
will be started from the application.
Ignite Version: 2.7
Wildfly Server version : 20

Added ignite related jars to Wildfly modules in the below path.
wildfly-20.0.0.Final/modules/system/layers/base/org/ignite/main









   







Below error is thrown at the time of node starts. Same code works fine with 
Tomcat.

Any help is highly appreciated.

2020-09-25 18:10:45 ERROR FactsLogger:104 - InputModel.crateTransaction : Could 
not initialize class org.apache.ignite.internal.util.IgniteUtils
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.ignite.internal.util.IgniteUtils
at 
org.apache.ignite.internal.IgnitionEx.(IgnitionEx.java:209) 
~[ignite-core-2.7.0.jar:2.7.0]
at org.apache.ignite.Ignition.start(Ignition.java:348) 
~[ignite-core-2.7.0.jar:2.7.0]
at 
com.cmc.facts.grid.matcher.MatcherGridInvoker.loadNode(MatcherGridInvoker.java:160)
 ~[Matcher-2.0-RC4.jar:?]
at 
com.cmc.facts.grid.matcher.MatcherGridInvoker.getIgnite(MatcherGridInvoker.java:96)
 ~[Matcher-2.0-RC4.jar:?]
at 
com.cmc.facts.grid.matcher.MatcherGridInvoker.invokeTPTPCSGrid(MatcherGridInvoker.java:263)
 ~[Matcher-2.0-RC4.jar:?]
at 
com.cmc.facts.model.InputModel.createTransaction(InputModel.java:2349) 
~[classes:?]
at 
com.cmc.facts.model.InputModel$$FastClassBySpringCGLIB$$d946f9ed.invoke()
 ~[classes:?]
at