You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by mthompson <mt...@istreamfs.com> on 2016/08/01 13:30:21 UTC

Re: Error when trying to configure web session clustering

I get basically the same error on Wildfly server.


08:41:23,677 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8)
MSC000001: Failed to start service
jboss.deployment.unit."tc.war".POST_MODULE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."tc.war".POST_MODULE: WFLYSRV0153: Failed to process
phase POST_MODULE of deployment "tc.war"
        at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
        at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
        at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective
information for class org.apache.ignite.cache.websession.WebSessionFilter
with ClassLoader ModuleClassLoader for Module "deployment.tc.war:main" from
Service Module Loader
        at
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
        at
org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
        at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
        at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
        at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
        at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
        ... 5 more
Caused by: java.lang.NoClassDefFoundError: javax/cache/CacheException
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
        at java.lang.Class.getDeclaredFields(Class.java:1916)
        at
org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:72)
        at
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
        ... 10 more
Caused by: java.lang.ClassNotFoundException: javax.cache.CacheException from
[Module "deployment.tc.war:main" from Service Module Loader]
        at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
        at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
        at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
        at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
        ... 15 more

08:41:23,682 ERROR [org.jboss.as.controller.management-operation]
(management task-9) WFLYCTL0013: Operation ("add") failed - address:
([("deployment" => "tc.war")]) - failure description: {"WFLYCTL0080: Failed
services" => {"jboss.deployment.unit.\"tc.war\".POST_MODULE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"tc.war\".POST_MODULE: WFLYSRV0153: Failed to process
phase POST_MODULE of deployment \"tc.war\"
    Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting
reflective information for class
org.apache.ignite.cache.websession.WebSessionFilter with ClassLoader
ModuleClassLoader for Module \"deployment.tc.war:main\" from Service Module
Loader
    Caused by: java.lang.NoClassDefFoundError: javax/cache/CacheException
    Caused by: java.lang.ClassNotFoundException: javax.cache.CacheException
from [Module \"deployment.tc.war:main\" from Service Module Loader]"}}
08:41:23,684 ERROR [org.jboss.as.server] (management task-9) WFLYSRV0021:
Deploy of deployment "tc.war" was rolled back with the following failure
message:
{"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit.\"tc.war\".POST_MODULE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"tc.war\".POST_MODULE: WFLYSRV0153: Failed to process
phase POST_MODULE of deployment \"tc.war\"
    Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting
reflective information for class
org.apache.ignite.cache.websession.WebSessionFilter with ClassLoader
ModuleClassLoader for Module \"deployment.tc.war:main\" from Service Module
Loader
    Caused by: java.lang.NoClassDefFoundError: javax/cache/CacheException
    Caused by: java.lang.ClassNotFoundException: javax.cache.CacheException
from [Module \"deployment.tc.war:main\" from Service Module Loader]"}}
08:41:23,956 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2)
WFLYSRV0028: Stopped deployment tc.war (runtime-name: tc.war) in 271ms




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Error-when-trying-to-configure-web-session-clustering-tp6596p6656.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Error when trying to configure web session clustering

Posted by Vladislav Pyatkov <vp...@gridgain.com>.
Hello,

I see in you case, exception of class loader.
I think it will be happened because you incorrect build application
Please, see my sample.
It will deploy correctly to Glassfish full profile.

On Mon, Aug 1, 2016 at 4:30 PM, mthompson <mt...@istreamfs.com> wrote:

> I get basically the same error on Wildfly server.
>
>
> 08:41:23,677 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8)
> MSC000001: Failed to start service
> jboss.deployment.unit."tc.war".POST_MODULE:
> org.jboss.msc.service.StartException in service
> jboss.deployment.unit."tc.war".POST_MODULE: WFLYSRV0153: Failed to process
> phase POST_MODULE of deployment "tc.war"
>         at
>
> org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
>         at
>
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
>         at
>
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting
> reflective
> information for class org.apache.ignite.cache.websession.WebSessionFilter
> with ClassLoader ModuleClassLoader for Module "deployment.tc.war:main" from
> Service Module Loader
>         at
>
> org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
>         at
>
> org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
>         at
>
> org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
>         at
>
> org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
>         at
>
> org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
>         at
>
> org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
>         ... 5 more
> Caused by: java.lang.NoClassDefFoundError: javax/cache/CacheException
>         at java.lang.Class.getDeclaredFields0(Native Method)
>         at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
>         at java.lang.Class.getDeclaredFields(Class.java:1916)
>         at
>
> org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:72)
>         at
>
> org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
>         ... 10 more
> Caused by: java.lang.ClassNotFoundException: javax.cache.CacheException
> from
> [Module "deployment.tc.war:main" from Service Module Loader]
>         at
> org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
>         at
>
> org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
>         at
>
> org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
>         at
>
> org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
>         ... 15 more
>
> 08:41:23,682 ERROR [org.jboss.as.controller.management-operation]
> (management task-9) WFLYCTL0013: Operation ("add") failed - address:
> ([("deployment" => "tc.war")]) - failure description: {"WFLYCTL0080: Failed
> services" => {"jboss.deployment.unit.\"tc.war\".POST_MODULE" =>
> "org.jboss.msc.service.StartException in service
> jboss.deployment.unit.\"tc.war\".POST_MODULE: WFLYSRV0153: Failed to
> process
> phase POST_MODULE of deployment \"tc.war\"
>     Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting
> reflective information for class
> org.apache.ignite.cache.websession.WebSessionFilter with ClassLoader
> ModuleClassLoader for Module \"deployment.tc.war:main\" from Service Module
> Loader
>     Caused by: java.lang.NoClassDefFoundError: javax/cache/CacheException
>     Caused by: java.lang.ClassNotFoundException: javax.cache.CacheException
> from [Module \"deployment.tc.war:main\" from Service Module Loader]"}}
> 08:41:23,684 ERROR [org.jboss.as.server] (management task-9) WFLYSRV0021:
> Deploy of deployment "tc.war" was rolled back with the following failure
> message:
> {"WFLYCTL0080: Failed services" =>
> {"jboss.deployment.unit.\"tc.war\".POST_MODULE" =>
> "org.jboss.msc.service.StartException in service
> jboss.deployment.unit.\"tc.war\".POST_MODULE: WFLYSRV0153: Failed to
> process
> phase POST_MODULE of deployment \"tc.war\"
>     Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting
> reflective information for class
> org.apache.ignite.cache.websession.WebSessionFilter with ClassLoader
> ModuleClassLoader for Module \"deployment.tc.war:main\" from Service Module
> Loader
>     Caused by: java.lang.NoClassDefFoundError: javax/cache/CacheException
>     Caused by: java.lang.ClassNotFoundException: javax.cache.CacheException
> from [Module \"deployment.tc.war:main\" from Service Module Loader]"}}
> 08:41:23,956 INFO  [org.jboss.as.server.deployment] (MSC service thread
> 1-2)
> WFLYSRV0028: Stopped deployment tc.war (runtime-name: tc.war) in 271ms
>
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Error-when-trying-to-configure-web-session-clustering-tp6596p6656.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>