Dear Ilya,
<resource-root path="ignite-spring-2.7.0.jar"/> jar is also added to the
module.xml.
I have added the below parameters to Java arguments.
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports
java.base/sun.nio.ch=ALL-UNNAMED --add-exports
java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED --add-exports
jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
Below error is thrown after adding the above parameter. 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.<init>(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.<init>(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<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: Ilya Kasnacheev<mailto:[email protected]>
Sent: Monday, September 28, 2020 7:31 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: Issue while deploying the Ignite application in Wildfly Server
"External email. Open with Caution"
Hello!
You also need to add ignite-spring 2.7.0 dependency.
<resource-root path="ignite-spring-2.7.0.jar"/>
Regards,
--
Ilya Kasnacheev
вс, 27 сент. 2020 г. в 15:17, DEEPTHI KOLLIPARA
<[email protected]<mailto:[email protected]>>:
Dear Team,
I am trying to deploy a web application with ignite 2.7 version on Wildfly
server 20.0. Ignite client node will be started from the application.
Below error is thrown from when starting the node. Same war is deployed and
worked successfully in Tomcat.
I have added the below entry to Wildfly modules. Anything is missed here?
Path of the file:
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>
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
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.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
~[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.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
~[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.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
~[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.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
~[spring-security-web-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
~[spring-security-web-5.1.6.RELEASE.jar:5.1.6.RELEASE]
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
~[spring-web-5.1.9.RELEASE.jar:5.1.9.RELEASE]
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
~[spring-web-5.1.9.RELEASE.jar:5.1.9.RELEASE]
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.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
~[urlrewritefilter-4.0.4.jar:4.0.4]
at
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
~[urlrewritefilter-4.0.4.jar:4.0.4]
at
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
~[urlrewritefilter-4.0.4.jar:4.0.4]
at
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
~[urlrewritefilter-4.0.4.jar:4.0.4]
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
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
~[undertow-servlet-2.1.3.Final.jar!/:2.1.3.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
~[undertow-servlet-2.1.3.Final.jar!/:2.1.3.Final]
=====-----=====-----=====
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