-
Bug
-
Resolution: Won't Do
-
Blocker
-
JDG 7.0.0 ER5
-
None
Tested with EAP7 and EAP6.4.7
Steps to reproduce:
add infinispan-cli-server dependency to cartmart-tx quickstart:
<dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-cli-server</artifactId> <version>7.0.0.Alpha5</version> <scope>runtime</scope> </dependency>
- build the quickstart and deploy in EAP
- run EAP
Server log: please see the attachment for full log:
10:25:03,048 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 61) Critical error during deployment: : org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.cli.interpreter.Interpreter.initialize(org.infinispan.manager.EmbeddedCacheManager,org.infinispan.util.TimeService) on object of type Interpreter with parameters [org.infinispan.manager.DefaultCacheManager@74cfa5b4@Address:null, org.infinispan.util.DefaultTimeService@69a44769]
at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:243)
at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:663)
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:232)
at org.jboss.as.quickstarts.datagrid.carmart.session.JBossASCacheContainerProvider.getCacheContainer(JBossASCacheContainerProvider.java:70)
at org.jboss.as.quickstarts.datagrid.carmart.session.JBossASCacheContainerProvider$Proxy$_$$_WeldClientProxy.getCacheContainer(Unknown Source)
at org.jboss.as.quickstarts.datagrid.carmart.jsf.PopulateCache.startup(PopulateCache.java:62)
at org.jboss.as.quickstarts.datagrid.carmart.jsf.PopulateCache.processEvent(PopulateCache.java:58)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:108)
at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2169)
at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2142)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:301)
at org.jboss.as.jsf.injection.weld.ForwardingApplication.publishEvent(ForwardingApplication.java:294)
at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:704)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:270)
at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:198)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.cli.interpreter.Interpreter.initialize(org.infinispan.manager.EmbeddedCacheManager,org.infinispan.util.TimeService) on object of type Interpreter with parameters [org.infinispan.manager.DefaultCacheManager@74cfa5b4@Address:null, org.infinispan.util.DefaultTimeService@69a44769]
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:172)
at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:250)
at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:72)
at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:172)
at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:164)
at org.infinispan.cli.interpreter.LifecycleCallbacks.cacheManagerStarted(LifecycleCallbacks.java:30)
at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:239)
... 23 more
Caused by: java.lang.NoSuchMethodError: org.infinispan.commons.util.ServiceFinder.load(Ljava/lang/Class;[Ljava/lang/ClassLoader;)Ljava/util/Set;
at org.infinispan.cli.interpreter.codec.CodecRegistry.<init>(CodecRegistry.java:26)
at org.infinispan.cli.interpreter.Interpreter.initialize(Interpreter.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
... 31 more