4 Replies Latest reply on Jul 8, 2016 7:20 AM by jbossrvtem

    At a loss at how to use Inifispan with Jboss EAP

    jbossrvtem

      Hi,

       

      The Jboss Datagrid forum is like a graveyard so I am coming here hoping someone can give some advice.  I have tried several different ways to get Jboss EAP working with Infinispan and none of them have worked.  I first downloaded Jboss Data Grid Server 6.6.0.  Tutorials infinispan-jboss-as7 and jboss-helloworld-jdg tutorial don't work with it ( both work with Jboss EAP 6.3 though).  This particular version of jboss has no modules for ee and ear file deployment, and fails to deploy our WAR application.  So what are the steps to get this to a EAP version so it is usable?

       

      I then tried to deploy the EAP datagrid libraries and installed them over EAP 6.3 in slot jdg-6.6 and have tried several different ways to get this to work.  Our libraries are used by many JEE applications so they are deployed as modules.  It's one of these modules that makes a call to cacheManager = new DefaultCacheManager()

       

      I've installed the following caches in standalone-full.xml...

       

              <subsystem xmlns="urn:jboss:domain:infinispan:1.5">

                 <cache-container name="udp-cache-container" default-cache="MemoryLockingCache">

             <transport/>

             <distributed-cache name="the-default-cache" l1-lifespan="30000" owners="2" mode="SYNC" />

             <distributed-cache name="MemoryLockingCache" l1-lifespan="30000" owners="2" mode="SYNC" />

             <distributed-cache name="Tables" l1-lifespan="30000" owners="2" mode="SYNC" />

             </cache-container>

       

      When trying to invoke a simple                 cacheManager = new DefaultCacheManager(); it fails.

       

      What I tried:

       

      1) Tried using the following jboss-deployment-structure.xml in my ear file.

       

      <jboss-deployment-structure>

       

       

          <ear-subdeployments-isolated>true</ear-subdeployments-isolated>

          <sub-deployment name="TAFJJEE_EJB.jar">

              <!-- use the provided JDG modules -->

              <dependencies>

                 

                  <module name="org.infinispan" slot="jdg-6.6" services="export" />

            <module name="org.infinispan.commons" slot="jdg-6.6" services="export" />

            <module name="org.infinispan.client.hotrod" slot="jdg-6.6"

            services="export" />

            <module name="javax.cache.api" slot="jdg-6.6" services="export" />

        <module name="org.infinispan.jcache" slot="jdg-6.6" services="export" />

              </dependencies>

          </sub-deployment>

       

       

      </jboss-deployment-structure>

       

      Result...Yet it exists here:  C:\java\jboss-eap-6.3\modules\org\infinispan\jdg-6.6\infinispan-core-6.4.0.Final-redhat-4.jar\org\infinispan\manager\

       

      14:59:27,746 INFO  [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 71) Running on PrimeFaces 5.3

      14:59:28,063 INFO  [stdout] (Thread-10 (HornetQ-client-global-threads-1588256449)) MemoryGridLockManager Locking !!

      14:59:28,088 ERROR [org.jboss.as.ejb3.invocation] (Thread-10 (HornetQ-client-global-threads-1588256449)) JBAS014134: EJB Invocation failed on componen

      t OFSProcessingBean for method public abstract com.temenos.tafj.mdb.TMessage com.temenos.tafj.sb.OFSProcessingBeanLocal.processMessage(com.temenos.taf

      j.mdb.TMessage): javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/infinispan/manager/DefaultCacheManager

              at org.jboss.as.ejb3.tx.BMTInterceptor.handleException(BMTInterceptor.java:80) [jboss-as-ejb3-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

       

       

      2) Tried using GlobalCacheManager similarly to the helloworld quickstart.

       

       

       

      [ERROR] 2016-07-01 11:37:32,433 [Thread-4 (HornetQ-client-global-threads-255125161)] CACHE - Error in JbossFactory.getCache:

      java.lang.ClassCastException: org.infinispan.remoting.transport.jgroups.JGroupsTransport cannot be cast to org.infinispan.remoting.transport.Transport

        at org.infinispan.configuration.global.TransportConfigurationBuilder.defaultTransport(TransportConfigurationBuilder.java:176) ~[infinispan-core-6.4.0.Final-redhat-4.jar!/:6.4.0.Final-redhat-4]

        at org.infinispan.configuration.global.GlobalConfigurationBuilder.clusteredDefault(GlobalConfigurationBuilder.java:66) ~[infinispan-core-6.4.0.Final-redhat-4.jar!/:6.4.0.Final-redhat-4]

        at com.temenos.tafj.cache.impl.JbossFactory.getCache(JbossFactory.java:33) [TAFJCache.jar!/:17.0.3-SNAPSHOT]

        at com.temenos.tafj.cache.TAFJCacheFactory.getCache(TAFJCacheFactory.java:49) [TAFJCache.jar!/:17.0.3-SNAPSHOT]

       

      3) Tried using all the dependencies in module.xml such as

       

        <dependencies>

          <module name="javax.api"/>

        <module name="javaee.api"/>

        <module name="javax.jms.api"/>

        <module name="javax.transaction.api"/>

        <module name="javax.cache.api" slot="jdg-6.6" services="export"/>

        <module name="org.infinispan" slot="jdg-6.6" services="export"/>

        <module name="org.jgroups" slot="jdg-6.6" services="export"/>

        <module name="org.infinispan.commons" slot="jdg-6.6" services="export"/>

        <module name="org.infinispan.lucene" slot="jdg-6.6" services="export"/>

      etc

       

      I receive the following error:

       

      13:50:18,099 ERROR [org.jboss.as.ejb3] (Thread-6 (HornetQ-client-global-threads-1875088273)) javax.ejb.EJBTransactionRolledbackException: TransactedMD

      B Exception : java.lang.RuntimeException: java.util.ServiceConfigurationError: org.infinispan.lifecycle.ModuleLifecycle: Provider org.infinispan.lucen

      e.LifecycleCallbacks not found

      13:50:18,102 ERROR [org.jboss.as.ejb3.invocation] (Thread-6 (HornetQ-client-global-threads-1875088273)) JBAS014134: EJB Invocation failed on component

      OFSTransactedMDB for method public abstract void javax.jms.MessageListener.onMessage(javax.jms.Message): javax.ejb.EJBTransactionRolledbackException:

      TransactedMDB Exception : java.lang.RuntimeException: java.util.ServiceConfigurationError: org.infinispan.lifecycle.ModuleLifecycle: Provider org.inf

      inispan.lucene.LifecycleCallbacks not found

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:162) [jboss-as-ejb3-7.4.0.Final-redhat-19.jar:7.4.0.Final-redh

      at-19]

       

      Even with the lucene module referenced, where org.infinispan.lucene.LifecycleCallbacks exists, it does not work.  Nor does it work with all of the jdg installed modules referenced.  I've also tried installing inifispan's 7.2 librarys and that doesn't work either but with different errors.

       

      So what I am wondering is what minimal set of dependencies do I need to get DefaultCacheManager() to correctly construct.  What minimal set of jars must be included if I cannot use the module.xml approach?  The helloworld quickstart includes every jar under the sun which is unacceptable (I've tried including all the jars in the EAR file anyway, but again failure for differing reasons)...

       

      Any help would be greatly appreciated.

       

      Thanks,

      Rick


        • 1. Re: At a loss at how to use Inifispan with Jboss EAP
          wdfink

          Hello,

          I don't think that the JDG forum is a graveyard only less frequently used as people might have a subscription and open a case on http://access.redhat.com.

          I'll move it to the appropriate forum.

           

          There is a quickstart eap-cluster-app you can donwload from the portal JDGquickstart@redhat.com where you see how the dependencies and configuration look like.

          In any case it is not supported to modify the configuration of EAP infinispan subsystem, this subsystem is for EAP only and not tested for cache use.

          Technically it will work with basic functions, but there are some libraries missing so you don't have the full power of JDG and also a quite old version (it is ISPN 5)

           

          So if you use the modules correct your application will build a separate cluster for JDG and use the cache configuration inside of the application.

           

          Hope that helps.

          • 2. Re: At a loss at how to use Inifispan with Jboss EAP
            jbossrvtem

            Dear Wolf-Dieter Fink,

             

            Thanks for your response.  It is much appreciated.  Finally, I have made some progress.  Referring back to my previous question on the jboss datagrid server:  This particular version of jboss has no modules for ee and ear file deployment, and fails to deploy our WAR application.  So what are the steps to get this to a EAP version so it is usable?  Do you know at all?

             

            So how I got it to work with my own EAR file.  I DID NOT install the datagrid jboss-datagrid-6.6.0-eap-modules-library.zip over the install.  At first I was using the modules definition above.

             

            1) Fresh install Jboss 6.4 EAP, test jboss-helloworld-jdg, jboss-carmart.war.  Both work.

            2) Add all jars from jboss-helloworld-jdg to my EAR/APP/lib + javax.cache (otherwise get java.lang.NoClassDefFoundError: javax/cache/configuration/Configuration)

            3) Still got same error even if cache-api-1.0.0.redhat-1.jar included, ie

            C:\java\jboss-eap-6.4\standalone\deployments\TAFJJEE_EAR.ear\APP-INF\lib\cache-api-1.0.0.redhat-1.jar\javax\cache\configuration\

             

             

            4) Now when including <resource-root path="cache-api-12.2.1.jar"/> to module.xml now the error became:

             

            java.lang.NoClassDefFoundError: org/infinispan/manager/EmbeddedCacheManager

             

            5) Added all dependent jars from modules to the EAR file.  It now works with jboss-helloworld-jdg included

            6) Added all dependent jars from modules to the EAR file but with jboss-carmart jars.  It works again.

             

            So something funny is going on with classloading at the module level with this jdg packet.  Again, I played with it quite a bit trying to include all of the jdg modules as dependencies, but it still didn't work.  Now at least, I have better insight into why it is going wrong and why the samples work, but my EAR didn't.  Anyway, thanks.  It gives me a basis to now discover why my own module.xml is not working.

             

            Thanks again,

            Rick

            • 3. Re: At a loss at how to use Inifispan with Jboss EAP
              wdfink

              JDG provides two modes

              - Server; this is a server with the same base as EAP, but less subsystems (no web ejb and others). Separate JVM

                You are only able to configure caches inside of the clustered.xml (or standalone)

                 Accessible are such caches with HotRod, REST or Memcache clients

              - Embedded (or Library mode); complete inside of the application JVM

                Here you need to configure and initialize the caches from your application (by CML or programatic)

                More feature like Tx control

               

              This is why you can not deploy any EE application on that JDG-server.

               

              Did you had a look to the quickstart I mentionend? This is the recommended way to use JDG inside of an application deployed to EAP instances.

              • 4. Re: At a loss at how to use Inifispan with Jboss EAP
                jbossrvtem

                Hi Wolf-Dieter,

                 

                Thanks for your reply.  Yes I tried the quickstart, but it fails...I see you are its author.  Maybe you can tell me what I did wrong?  I haven't yet had a chance to look into it, but I will.

                 

                What I did:

                 

                1) Followed Quickstart instructions starting with a fresh install of jboss-eap-6.4...

                 

                The JBoss error on Node 1 (Admin)

                 

                12:55:57,641 WARNING [org.jgroups.stack.Configurator] (EJB default - 1) JGRP000014: Discovery.num_initial_members has been deprecated: will be ignore

                 

                 

                12:55:57,631 WARNING [org.jgroups.stack.Configurator] (EJB default - 1) JGRP000014: TP.loopback has been deprecated: enabled by default

                12:55:57,632 WARNING [org.jgroups.stack.Configurator] (EJB default - 1) JGRP000014: TP.discard_incompatible_packets has been deprecated: incompatible

                packets are discarded anyway

                12:55:57,634 WARNING [org.jgroups.stack.Configurator] (EJB default - 1) JGRP000014: TP.enable_bundling has been deprecated: will be ignored as bundlin

                g is on by default

                12:55:57,639 WARNING [org.jgroups.stack.Configurator] (EJB default - 1) JGRP000014: Discovery.timeout has been deprecated: GMS.join_timeout should be

                used instead

                12:55:57,641 WARNING [org.jgroups.stack.Configurator] (EJB default - 1) JGRP000014: Discovery.num_initial_members has been deprecated: will be ignored

                 

                 

                12:55:57,667 WARNING [org.jgroups.stack.Configurator] (EJB default - 1) JGRP000014: UNICAST.setTimeout has been deprecated: not used anymore

                12:55:58,148 SEVERE [org.jgroups.protocols.UDP] (EJB default - 1) failed setting ip_ttl: java.lang.reflect.InvocationTargetException

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_75]

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_75]

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_75]

                        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_75]

                        at org.jgroups.protocols.UDP.setTimeToLive(UDP.java:339)

                        at org.jgroups.protocols.UDP.createSockets(UDP.java:368)

                        at org.jgroups.protocols.UDP.start(UDP.java:270)

                        at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:965)

                        at org.jgroups.JChannel.startStack(JChannel.java:891)

                        at org.jgroups.JChannel._preConnect(JChannel.java:553)

                        at org.jgroups.JChannel.connect(JChannel.java:288)

                        at org.jgroups.JChannel.connect(JChannel.java:279)

                        at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:208) [infinispan-core-6.4.0.Fi

                nal-redhat-4.jar:6.4.0.Final-redhat-4]

                        at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:199) [infinispan-core-6.4.0.Final-redhat-4.jar:6.4.0

                .Final-redhat-4]

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_75]

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_75]

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_75]

                        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_75]

                        at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:176) [infinispan-commons-6.4.0.Final-redhat-4.jar:6.4.0.Fin

                al-redhat-4]

                        at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:870) [infinispan-core-6.4.0.Fina

                l-redhat-4.jar:6.4.0.Final-redhat-4]

                        at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:639) [infinispan-core-6.4.0.Final-redh

                at-4.jar:6.4.0.Final-redhat-4]

                        at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:628) [infinispan-core-6.4.0.Final-redhat-4.

                jar:6.4.0.Final-redhat-4]

                        at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:531) [infinispan-core-6.4.0.Final-redhat-4.jar:6.4.

                0.Final-redhat-4]

                        at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:238) [infinispan-core-6.4.0.Final-redhat-4.jar:6.4.0.Fi

                nal-redhat-4]

                        at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:583) [infinispan-core-6.4.0.Final-redhat-4.jar:6.4.0.

                Final-redhat-4]

                        at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:549) [infinispan-core-6.4.0.Final-redhat-4.jar:6.4.0.Final-

                redhat-4]

                        at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:420) [infinispan-core-6.4.0.Final-redhat-4.jar:6.4.0.Final-red

                hat-4]

                        at org.jboss.as.quickstarts.datagrid.eap.app.CacheAdminBean.addToApp1Cache(CacheAdminBean.java:67) [ejb.jar:]

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_75]

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_75]

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_75]

                        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_75]

                        at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) [jboss-as-ee-7.5.0

                .Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-

                redhat-1]

                        at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) [jboss-as-ee-7.5.0.Final-

                redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Fi

                nal-redhat-1]

                        at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:86) [jboss-as-weld-7.5.0.Final-redhat-2

                1.jar:7.5.0.Final-redhat-21]

                        at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:97) [jboss-as-weld-7.5.0.Final-redhat-21.j

                ar:7.5.0.Final-redhat-21]

                        at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) [jboss-as-ee-7.5.0.Final-

                redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-

                redhat-1]

                        at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) [jboss-as-ee-7.5.0.Final-

                redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [jboss-as-ejb3-7

                .5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:93) [jboss-as-weld-7

                .5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Fina

                l-redhat-1]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Fina

                l-redhat-1]

                        at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-e

                e-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [jboss-as-ejb3-7.5.0.Final-

                redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:280) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-

                21]

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:345) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:243) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-red

                hat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:79) [

                jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

                [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [jboss-as-ejb3-7.5.0.Final

                -redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [jboss-as-ejb3-

                7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.5.0.Final-redhat

                -21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.5.0.Final-redha

                t-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) [jboss-as-ejb3-7.

                5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-red

                hat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Fina

                l-redhat-1]

                        at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.invokeMethod(MethodInvocationMessageHandler.java:332) [jboss-as

                -ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$100(MethodInvocationMessageHandler.java:69) [jboss-as-ej

                b3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:202) [jboss-as-ejb3-7

                .5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_75]

                        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_75]

                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_75]

                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_75]

                        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]

                        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                Caused by: java.io.IOException: Method not implemented!

                        at java.net.DualStackPlainDatagramSocketImpl.setTimeToLive(DualStackPlainDatagramSocketImpl.java:237) [rt.jar:1.7.0_75]

                        ... 89 more

                 

                 

                12:56:01,533 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (EJB default - 1) ISPN000094: Received new cluster view: [L2SG9M32-187

                47|0] (1) [L2SG9M32-18747]

                12:56:01,647 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (EJB default - 1) ISPN000079: Cache local address is L2SG9M32-18747, p

                hysical addresses are [127.0.0.1:53306]

                12:56:01,654 INFO  [org.infinispan.factories.GlobalComponentRegistry] (EJB default - 1) ISPN000128: Infinispan version: Infinispan 'Infinium' 6.4.0.Fi

                nal-redhat-4

                13:00:14,327 INFO  [org.jboss.as.quickstarts.datagrid.eap.app.CacheAdminBean] (EJB default - 3) addTo app1Cache (App1One,The App1 One entry)

                 

                 

                 

                The Jboss error on Node 2:

                -------------------------------------------

                As per the Quickstart, started jboss via the following...

                C:\java\jboss-eap-6.4_node2\bin>.\standalone.bat -Djboss.node.name=node2 -Djboss.socket.binding.port-offset=100

                 

                Error:

                 

                12:56:06,775 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (EJB default - 1) ISPN000094: Received new cluster view: [L2SG9M32-550

                89|0] (1) [L2SG9M32-55089]

                12:56:06,900 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (EJB default - 1) ISPN000079: Cache local address is L2SG9M32-55089, p

                hysical addresses are [127.0.0.1:64979]

                12:56:06,907 INFO  [org.infinispan.factories.GlobalComponentRegistry] (EJB default - 1) ISPN000128: Infinispan version: Infinispan 'Infinium' 6.4.0.Fi

                nal-redhat-4

                12:56:07,103 ERROR [org.jboss.as.ejb3.invocation] (EJB default - 1) JBAS014134: EJB Invocation failed on component AppOneCacheAccessBean for method pu

                blic abstract void org.jboss.as.quickstarts.datagrid.eap.app.AppOneCacheAccess.verifyApp1Cache(java.lang.String,java.lang.String): javax.ejb.EJBExcept

                ion: java.lang.IllegalStateException: The given key/value pair does not match the cache!

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:191) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Fina

                l-redhat-21]

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:282) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-

                21]

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:345) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:243) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-red

                hat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:79) [

                jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

                [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [jboss-as-ejb3-7.5.0.Final

                -redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [jboss-as-ejb3-

                7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.5.0.Final-redhat

                -21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.5.0.Final-redha

                t-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) [jboss-as-ejb3-7.

                5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-red

                hat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Fina

                l-redhat-1]

                        at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.invokeMethod(MethodInvocationMessageHandler.java:332) [jboss-as

                -ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$100(MethodInvocationMessageHandler.java:69) [jboss-as-ej

                b3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:202) [jboss-as-ejb3-7

                .5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_75]

                        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_75]

                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_75]

                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_75]

                        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]

                        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                Caused by: java.lang.IllegalStateException: The given key/value pair does not match the cache!

                        at org.jboss.as.quickstarts.datagrid.eap.app.AppOneCacheAccessBean.verifyApp1Cache(AppOneCacheAccessBean.java:94) [ejb.jar:]

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_75]

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_75]

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_75]

                        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_75]

                        at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) [jboss-as-ee-7.5.0

                .Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-

                redhat-1]

                        at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) [jboss-as-ee-7.5.0.Final-

                redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Fi

                nal-redhat-1]

                        at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:86) [jboss-as-weld-7.5.0.Final-redhat-2

                1.jar:7.5.0.Final-redhat-21]

                        at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:97) [jboss-as-weld-7.5.0.Final-redhat-21.j

                ar:7.5.0.Final-redhat-21]

                        at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) [jboss-as-ee-7.5.0.Final-

                redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-

                redhat-1]

                        at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) [jboss-as-ee-7.5.0.Final-

                redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [jboss-as-ejb3-7

                .5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:93) [jboss-as-weld-7

                .5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Fina

                l-redhat-1]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Fina

                l-redhat-1]

                        at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-e

                e-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [jboss-as-ejb3-7.5.0.Final-

                redhat-21.jar:7.5.0.Final-redhat-21]

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-

                1]

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:280) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-

                21]

                        ... 30 more

                 

                 

                13:00:14,354 ERROR [org.jboss.as.ejb3.invocation] (EJB default - 2) JBAS014134: EJB Invocation failed on component AppOneCacheAccessBean for method pu

                blic abstract void org.jboss.as.quickstarts.datagrid.eap.app.AppOneCacheAccess.verifyApp1Cache(java.lang.String,java.lang.String): javax.ejb.EJBExcept

                ion: java.lang.IllegalStateException: The given key/value pair does not match the cache!

                 

                 

                MAVEN command

                ----------------------------

                 

                 

                 

                C:\java\jboss-eap-6.4_node1\jboss-jdg-quickstarts-JDG_6.6.0.CR3\eap-cluster-app>mvn -Dexec.mainClass=org.jboss.as.quickstarts.datagrid.eap.app.AdminCl

                ient exec:java

                [INFO] Scanning for projects...

                [INFO] ------------------------------------------------------------------------

                [INFO] Reactor Build Order:

                [INFO]

                [INFO] JBoss JDG Quickstart: jboss-eap-application - parent

                [INFO] JBoss JDG Quickstart: jboss-eap-application - AppTwo

                [INFO] JBoss JDG Quickstart: jboss-eap-application - AppTwo - ejb

                [INFO] JBoss JDG Quickstart: jboss-eap-application - AppOne

                [INFO] JBoss JDG Quickstart: jboss-eap-application - AppOne - ejb

                [INFO] JBoss JDG Quickstart: jboss-eap-application - AppOne - ear

                [INFO] JBoss JDG Quickstart: jboss-eap-application - AppTwo - ear

                [INFO] JBoss JDG Quickstart: jboss-eap-application - adminApp

                [INFO] JBoss JDG Quickstart: jboss-eap-application - adminApp ejb

                [INFO] JBoss JDG Quickstart: jboss-eap-application - adminApp ear

                [INFO] JBoss JDG Quickstart: jboss-eap-application - client

                [INFO]

                [INFO] ------------------------------------------------------------------------

                [INFO] Building JBoss JDG Quickstart: jboss-eap-application - parent 6.6.0.Final-redhat-4

                [INFO] ------------------------------------------------------------------------

                [INFO]

                [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @ jboss-eap-application >>>

                [INFO]

                [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @ jboss-eap-application <<<

                [INFO]

                [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ jboss-eap-application ---

                [INFO] skipping execute as per configuraion

                [INFO]

                [INFO] ------------------------------------------------------------------------

                [INFO] Building JBoss JDG Quickstart: jboss-eap-application - AppTwo 6.6.0.Final-redhat-4

                [INFO] ------------------------------------------------------------------------

                [INFO]

                [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @ jboss-eap-application-AppTwo >>>

                [INFO]

                [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @ jboss-eap-application-AppTwo <<<

                [INFO]

                [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ jboss-eap-application-AppTwo ---

                [INFO] skipping execute as per configuraion

                [INFO]

                [INFO] ------------------------------------------------------------------------

                [INFO] Building JBoss JDG Quickstart: jboss-eap-application - AppTwo - ejb 6.6.0.Final-redhat-4

                [INFO] ------------------------------------------------------------------------

                [INFO]

                [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @ jboss-eap-application-AppTwo-ejb >>>

                [INFO]

                [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @ jboss-eap-application-AppTwo-ejb <<<

                [INFO]

                [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ jboss-eap-application-AppTwo-ejb ---

                [INFO] skipping execute as per configuraion

                [INFO]

                [INFO] ------------------------------------------------------------------------

                [INFO] Building JBoss JDG Quickstart: jboss-eap-application - AppOne 6.6.0.Final-redhat-4

                [INFO] ------------------------------------------------------------------------

                [INFO]

                [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @ jboss-eap-application-AppOne >>>

                [INFO]

                [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @ jboss-eap-application-AppOne <<<

                [INFO]

                [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ jboss-eap-application-AppOne ---

                [INFO] skipping execute as per configuraion

                [INFO]

                [INFO] ------------------------------------------------------------------------

                [INFO] Building JBoss JDG Quickstart: jboss-eap-application - AppOne - ejb 6.6.0.Final-redhat-4

                [INFO] ------------------------------------------------------------------------

                [INFO]

                [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @ jboss-eap-application-AppOne-ejb >>>

                [INFO]

                [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @ jboss-eap-application-AppOne-ejb <<<

                [INFO]

                [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ jboss-eap-application-AppOne-ejb ---

                [INFO] skipping execute as per configuraion

                [INFO]

                [INFO] ------------------------------------------------------------------------

                [INFO] Building JBoss JDG Quickstart: jboss-eap-application - AppOne - ear 6.6.0.Final-redhat-4

                [INFO] ------------------------------------------------------------------------

                [INFO]

                [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @ jboss-eap-application-AppOne-ear >>>

                [INFO]

                [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @ jboss-eap-application-AppOne-ear <<<

                [INFO]

                [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ jboss-eap-application-AppOne-ear ---

                [INFO] skipping execute as per configuraion

                [INFO]

                [INFO] ------------------------------------------------------------------------

                [INFO] Building JBoss JDG Quickstart: jboss-eap-application - AppTwo - ear 6.6.0.Final-redhat-4

                [INFO] ------------------------------------------------------------------------

                [INFO]

                [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @ jboss-eap-application-AppTwo-ear >>>

                [INFO]

                [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @ jboss-eap-application-AppTwo-ear <<<

                [INFO]

                [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ jboss-eap-application-AppTwo-ear ---

                [INFO] skipping execute as per configuraion

                [INFO]

                [INFO] ------------------------------------------------------------------------

                [INFO] Building JBoss JDG Quickstart: jboss-eap-application - adminApp 6.6.0.Final-redhat-4

                [INFO] ------------------------------------------------------------------------

                [INFO]

                [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @ jboss-eap-application-adminApp >>>

                [INFO]

                [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @ jboss-eap-application-adminApp <<<

                [INFO]

                [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ jboss-eap-application-adminApp ---

                [INFO] skipping execute as per configuraion

                [INFO]

                [INFO] ------------------------------------------------------------------------

                [INFO] Building JBoss JDG Quickstart: jboss-eap-application - adminApp ejb 6.6.0.Final-redhat-4

                [INFO] ------------------------------------------------------------------------

                [INFO]

                [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @ jboss-eap-application-adminApp-ejb >>>

                [INFO]

                [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @ jboss-eap-application-adminApp-ejb <<<

                [INFO]

                [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ jboss-eap-application-adminApp-ejb ---

                [INFO] skipping execute as per configuraion

                [INFO]

                [INFO] ------------------------------------------------------------------------

                [INFO] Building JBoss JDG Quickstart: jboss-eap-application - adminApp ear 6.6.0.Final-redhat-4

                [INFO] ------------------------------------------------------------------------

                [INFO]

                [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @ jboss-eap-application-adminApp-ear >>>

                [INFO]

                [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @ jboss-eap-application-adminApp-ear <<<

                [INFO]

                [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ jboss-eap-application-adminApp-ear ---

                [INFO] skipping execute as per configuraion

                [INFO]

                [INFO] ------------------------------------------------------------------------

                [INFO] Building JBoss JDG Quickstart: jboss-eap-application - client 6.6.0.Final-redhat-4

                [INFO] ------------------------------------------------------------------------

                [INFO]

                [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @ jboss-eap-application-client >>>

                [INFO]

                [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @ jboss-eap-application-client <<<

                [INFO]

                [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ jboss-eap-application-client ---

                        Add a value to App1Cache with the AdminApp and check on the same instance that the value is correct added

                          success

                        Check the previous added value of App1Cache by accessing the AppOne Server

                [WARNING]

                java.lang.reflect.InvocationTargetException

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                        at java.lang.reflect.Method.invoke(Method.java:606)

                        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)

                        at java.lang.Thread.run(Thread.java:745)

                Caused by: javax.ejb.EJBException: java.lang.IllegalStateException: The given key/value pair does not match the cache!

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:191)

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:282)

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:345)

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:243)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:79)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

                 

                 

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                        at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)

                        at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.invokeMethod(MethodInvocationMessageHandler.java:332)

                        at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$100(MethodInvocationMessageHandler.java:69)

                        at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:202)

                        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

                        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

                        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)

                        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                        at ...asynchronous invocation...(Unknown Source)

                        at org.jboss.ejb.client.remoting.InvocationExceptionResponseHandler$MethodInvocationExceptionResultProducer.getResult(InvocationExceptionRespo

                nseHandler.java:99)

                        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:272)

                        at org.jboss.ejb.client.EJBObjectInterceptor.handleInvocationResult(EJBObjectInterceptor.java:64)

                        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:274)

                        at org.jboss.ejb.client.EJBHomeInterceptor.handleInvocationResult(EJBHomeInterceptor.java:88)

                        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:274)

                        at org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:46)

                        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:274)

                        at org.jboss.ejb.client.ReceiverInterceptor.handleInvocationResult(ReceiverInterceptor.java:129)

                        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:262)

                        at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:437)

                        at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:202)

                        at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:181)

                        at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:144)

                        at com.sun.proxy.$Proxy24.verifyApp1Cache(Unknown Source)

                        at org.jboss.as.quickstarts.datagrid.eap.app.AdminClient.main(AdminClient.java:115)

                        ... 6 more

                Caused by: java.lang.IllegalStateException: The given key/value pair does not match the cache!

                        at org.jboss.as.quickstarts.datagrid.eap.app.AppOneCacheAccessBean.verifyApp1Cache(AppOneCacheAccessBean.java:94)

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                        at java.lang.reflect.Method.invoke(Method.java:606)

                        at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

                        at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)

                        at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:86)

                        at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:97)

                        at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

                        at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:93)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                        at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:280)

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:345)

                        at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:243)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:79)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

                 

                 

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)

                        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                        at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                        at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)

                        at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.invokeMethod(MethodInvocationMessageHandler.java:332)

                        at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler.access$100(MethodInvocationMessageHandler.java:69)

                        at org.jboss.as.ejb3.remote.protocol.versionone.MethodInvocationMessageHandler$1.run(MethodInvocationMessageHandler.java:202)

                        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

                        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

                        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)

                        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

                [INFO] ------------------------------------------------------------------------

                [INFO] Reactor Summary:

                [INFO]

                [INFO] JBoss JDG Quickstart: jboss-eap-application - parent SUCCESS [  0.296 s]

                [INFO] JBoss JDG Quickstart: jboss-eap-application - AppTwo SUCCESS [  0.032 s]

                [INFO] JBoss JDG Quickstart: jboss-eap-application - AppTwo - ejb SUCCESS [  0.296 s]

                [INFO] JBoss JDG Quickstart: jboss-eap-application - AppOne SUCCESS [  0.030 s]

                [INFO] JBoss JDG Quickstart: jboss-eap-application - AppOne - ejb SUCCESS [  0.061 s]

                [INFO] JBoss JDG Quickstart: jboss-eap-application - AppOne - ear SUCCESS [  0.040 s]

                [INFO] JBoss JDG Quickstart: jboss-eap-application - AppTwo - ear SUCCESS [  0.043 s]

                [INFO] JBoss JDG Quickstart: jboss-eap-application - adminApp SUCCESS [  0.031 s]

                [INFO] JBoss JDG Quickstart: jboss-eap-application - adminApp ejb SUCCESS [  0.041 s]

                [INFO] JBoss JDG Quickstart: jboss-eap-application - adminApp ear SUCCESS [  0.039 s]

                [INFO] JBoss JDG Quickstart: jboss-eap-application - client FAILURE [  1.027 s]

                [INFO] ------------------------------------------------------------------------

                [INFO] BUILD FAILURE

                [INFO] ------------------------------------------------------------------------

                [INFO] Total time: 3.254 s

                [INFO] Finished at: 2016-07-08T13:00:14+02:00

                [INFO] Final Memory: 34M/620M

                [INFO] ------------------------------------------------------------------------

                [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project jboss-eap-application-client: An exception occu

                red while executing the Java class. null: InvocationTargetException: java.lang.IllegalStateException: The given key/value pair does not match the cach

                e! -> [Help 1]

                [ERROR]

                [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

                [ERROR] Re-run Maven using the -X switch to enable full debug logging.

                [ERROR]

                [ERROR] For more information about the errors and possible solutions, please read the following articles:

                [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

                [ERROR]

                [ERROR] After correcting the problems, you can resume the build with the command

                [ERROR]   mvn <goals> -rf :jboss-eap-application-client

                 

                 

                C:\java\jboss-eap-6.4_node1\jboss-jdg-quickstarts-JDG_6.6.0.CR3\eap-cluster-app>