[infinispan-issues] [JBoss JIRA] (ISPN-5535) Infinispan subsystem not loaded in WildFly
Veli Cris (JIRA)
issues at jboss.org
Tue Jun 9 07:36:02 EDT 2015
[ https://issues.jboss.org/browse/ISPN-5535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13075970#comment-13075970 ]
Veli Cris edited comment on ISPN-5535 at 6/9/15 7:35 AM:
---------------------------------------------------------
Hi,
I don't have a pom.xml, I deploy web application (jar) file into WildFly 8.2.0. and the jar is deployed with success but when I try to refer infinispan with the piece of code that I provided in description I received ClassNotFoundException. The inifinispan jars are correct located into /modules/system/layers/base/org/infinispan/ folder.
I attached WildFly 8.2.0 configuration: standalone.xml
was (Author: vlcvlc):
Hi,
I don't have a pom.xml, I deploy web application (jar) file into WildFly 8.2.0. and the jar is deployed with success but when I try to refer infinispan with the piece of code that I provided in description I received ClassNotFoundException. The inifinispan jars are correct located into /modules/system/layers/base/org/infinispan/ folder.
I will attach WildFly 8.2.0 standalone.xml
> Infinispan subsystem not loaded in WildFly
> ------------------------------------------
>
> Key: ISPN-5535
> URL: https://issues.jboss.org/browse/ISPN-5535
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 6.0.3.Final
> Environment: Linux / WildFy 8.2.0
> Reporter: Veli Cris
> Attachments: standalone.xml
>
>
> org.infinispan.Cache<Object, Object> c = new org.infinispan.manager.DefaultCacheManager().getCache();
> Triying to instantiate a simple infinispan cache in test application results in following exception:
> 2015-06-09 12:10:13,241 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./push-api: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./push-api: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NoClassDefFoundError: org/infinispan/manager/DefaultCacheManager
> at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)
> at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:195)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:86)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:71)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
> ... 3 more
> Caused by: java.lang.ClassNotFoundException: org.infinispan.manager.DefaultCacheManager from [Module "deployment.push-api.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)
> ... 11 more
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the infinispan-issues
mailing list