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

<?xml version="1.0" ?>
<module xmlns="urn:jboss:module:1.1" name="org.ignite">
    <resources>
        <resource-root path="ignite-core-2.7.0.jar"/>
                <resource-root path="ignite-indexing-2.7.0.jar"/>
                <resource-root path="ignite-shmem-1.0.0.jar"/>
                <resource-root path="ignite-spring-2.7.0.jar"/>
    </resources>
   <dependencies>
                <module name="sun.jdk"/>
                <module name="javax.api"/>

    </dependencies>
</module>


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.<clinit>(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(<generated>)
 ~[classes:?]
                at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) 
~[spring-core-5.1.9.RELEASE.jar:5.1.9.RELEASE]
                at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
 ~[spring-aop-5.1.9.RELEASE.jar:5.1.9.RELEASE]
                at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
 ~[spring-aop-5.1.9.RELEASE.jar:5.1.9.RELEASE]
                at 
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
 ~[spring-aop-5.1.9.RELEASE.jar:5.1.9.RELEASE]
                at 
com.cmc.facts.aop.LoggingInterceptor.logModels(LoggingInterceptor.java:19) 
~[classes:?]
                at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) ~[?:?]
                at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 ~[?:?]
                at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:?]
                at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
                at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
 ~[spring-aop-5.1.9.RELEASE.jar:5.1.9.RELEASE]
                at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
 ~[spring-aop-5.1.9.RELEASE.jar:5.1.9.RELEASE]
                at 
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
 ~[spring-aop-5.1.9.RELEASE.jar:5.1.9.RELEASE]
                at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 ~[spring-aop-5.1.9.RELEASE.jar:5.1.9.RELEASE]
                at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)
 ~[spring-aop-5.1.9.RELEASE.jar:5.1.9.RELEASE]
                at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 ~[spring-aop-5.1.9.RELEASE.jar:5.1.9.RELEASE]
                at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
 ~[spring-aop-5.1.9.RELEASE.jar:5.1.9.RELEASE]
                at 
com.cmc.facts.model.InputModel$$EnhancerBySpringCGLIB$$29adf337.createTransaction(<generated>)
 ~[classes:?]
                at 
com.cmc.facts.nist.NistReaderModel.preprossingOfNistFile(NistReaderModel.java:326)
 ~[classes:?]
                at 
com.cmc.facts.civilian.FactsServiceUtilCivilian.processOne2OneMatch(FactsServiceUtilCivilian.java:912)
 ~[classes:?]
                at 
com.cmc.facts.civilian.FactsServiceUtilCivilian.processRequest(FactsServiceUtilCivilian.java:207)
 ~[classes:?]
                at 
com.cmc.facts.civilian.FactsServiceServlet.doPost(FactsServiceServlet.java:31) 
~[classes:?]
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:523) 
~[jboss-servlet-api_4.0_spec-2.0.0.Final.jar!/:2.0.0.Final]
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) 
~[jboss-servlet-api_4.0_spec-2.0.0.Final.jar!/:2.0.0.Final]
                at 
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
 ~[undertow-servlet-2.1.3.Final.jar!/:2.1.3.Final]
                at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
 ~[undertow-servlet-2.1.3.Final.jar!/:2.1.3.Final]
                at 
io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:173)
 ~[undertow-websockets-jsr-2.1.3.Final.jar!/:2.1.3.Final]
                at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
~[undertow-servlet-2.1.3.Final.jar!/:2.1.3.Final]
                at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
 ~[undertow-servlet-2.1.3.Final.jar!/:2.1.3.Final]
                at 
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:138)
 ~[struts2-core-2.5.18.jar:2.5.18]
                at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
~[undertow-servlet-2.1.3.Final.jar!/:2.1.3.Final]
                at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
 ~[undertow-servlet-2.1.3.Final.jar!/:2.1.3.Final]
                at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
 ~[spring-security-web-5.1.6.RELEASE.jar:5.1.6.RELEASE]
                at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
 ~[spring-security-web-5.1.6.RELEASE.jar:5.1.6.RELEASE]
                at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
 ~[spring-security-web-5.1.6.RELEASE.jar:5.1.6.RELEASE]
                at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 ~[spring-security-web-5.1.6.RELEASE.jar:5.1.6.RELEASE]
                at 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
 ~[spring-security-web-5.1.6.RELEASE.jar:5.1.6.RELEASE]
                at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 ~[spring-security-web-5.1.6.RELEASE.jar:5.1.6.RELEASE]
                at 
org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:155)
 ~[spring-security-web-5.1.6.RELEASE.jar:5.1.6.RELEASE]
                at

Thanks
Deepthi K
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


Reply via email to