-
1. Re: Unable to invoke remote EJB on JBoss EAP 6.1
wdfink Jun 20, 2013 10:56 AM (in response to simas_ch)Do you use the correct jboss-client.jar from the EAP6.1 server you connected to?
-
2. Re: Unable to invoke remote EJB on JBoss EAP 6.1
simas_ch Jun 20, 2013 11:11 AM (in response to wdfink)I'm using the one form JBOSS_HOME/bin/client/jboss-client.jar
I think this should be the correct one.
-
3. Re: Unable to invoke remote EJB on JBoss EAP 6.1
wdfink Jun 20, 2013 11:51 AM (in response to simas_ch)Could you attach the relevant code and the full client log (maybe with DEBUG/TRACE for org.jboss)
-
4. Re: Unable to invoke remote EJB on JBoss EAP 6.1
simas_ch Jun 20, 2013 1:43 PM (in response to wdfink)How do I turn on client logging?
-
5. Re: Unable to invoke remote EJB on JBoss EAP 6.1
wdfink Jun 20, 2013 3:31 PM (in response to simas_ch)you can simple use the java.util.Logger.getLogger("org.jboss").setLevel(Level.ALL)
-
6. Re: Unable to invoke remote EJB on JBoss EAP 6.1
simas_ch Jun 21, 2013 2:53 AM (in response to wdfink)Strange but now I have a differnt problem:
2013-06-21 08:50:27,701 [main] INFO org.jboss.ejb.client - JBoss EJB Client version 1.0.21.Final-redhat-1
2013-06-21 08:50:46,824 [main] ERROR com.prodega.touchscreen.dialogs.ColorButtonMessageDialog - @PZ40401
java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:, moduleName:ProShopEar, distinctName:ProShopEjb] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@15a94f
at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:727)
at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:116)
at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:183)
at org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:253)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:198)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:181)
at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:144)
at $Proxy2.getVersion(Unknown Source)
-
7. Re: Unable to invoke remote EJB on JBoss EAP 6.1
jason.greene Aug 13, 2013 7:07 PM (in response to simas_ch)The first stack trace you have looks like a bad classpath (using an older version of xnio than remoting expects). The second stack trace looks like you are missing a client configuration file (jboss-ejb-client.properties).
Here are some helpful URLs:
https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+client+using+JNDI
https://access.redhat.com/site/solutions/396853
An example is available here:
https://github.com/jboss-jdf/jboss-as-quickstart/tree/master/ejb-remote