Closed karesti closed 6 years ago
I'm getting this exception when running ./setup.sh --run:
[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
[WARNING]
java.lang.reflect.InvocationTargetException
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:497)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:jboss-eap-application-adminApp, moduleName:ejb, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@24148538
at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:798)
at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:128)
at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)
at org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:255)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:200)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:183)
at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:146)
at com.sun.proxy.$Proxy23.addToApp1Cache(Unknown Source)
at org.jboss.as.quickstarts.datagrid.eap.app.AdminClient.main(AdminClient.java:104)
... 6 more
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JBoss JDG Quickstart: jboss-eap-application - parent SUCCESS [ 0.282 s]
[INFO] JBoss JDG Quickstart: jboss-eap-application - AppTwo SUCCESS [ 0.012 s]
[INFO] JBoss JDG Quickstart: jboss-eap-application - AppTwo - ejb SUCCESS [ 0.304 s]
[INFO] JBoss JDG Quickstart: jboss-eap-application - AppOne SUCCESS [ 0.006 s]
[INFO] JBoss JDG Quickstart: jboss-eap-application - AppOne - ejb SUCCESS [ 0.038 s]
[INFO] JBoss JDG Quickstart: jboss-eap-application - AppOne - ear SUCCESS [ 0.028 s]
[INFO] JBoss JDG Quickstart: jboss-eap-application - AppTwo - ear SUCCESS [ 0.018 s]
[INFO] JBoss JDG Quickstart: jboss-eap-application - adminApp SUCCESS [ 0.016 s]
[INFO] JBoss JDG Quickstart: jboss-eap-application - adminApp ejb SUCCESS [ 0.017 s]
[INFO] JBoss JDG Quickstart: jboss-eap-application - adminApp ear SUCCESS [ 0.030 s]
[INFO] JBoss JDG Quickstart: jboss-eap-application - client FAILURE [ 10.913 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
Now it works. Thanks!
https://issues.jboss.org/browse/JDG-1250