JBoss 7.2 Final (from Git) ... client jar issues ?
millsp Mar 1, 2013 9:46 AMHi
We've just got the latest 7.2 code from Git, the 7.2 client jar is throwing errors when used without a -Djboss.ejb.client.properties.file.path reference (the test code is setting properties programmatically) :
CPModelClient : main() : ENTER
01-Mar-2013 14:32:53 org.xnio.Xnio <clinit>
INFO: XNIO Version 3.0.7.GA
01-Mar-2013 14:32:53 org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.0.7.GA
01-Mar-2013 14:32:53 org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 3.2.14.GA
01-Mar-2013 14:32:53 org.jboss.ejb.client.EJBClient <clinit>
INFO: JBoss EJB Client version 1.0.16.Final
CPModelClient : main() : ERROR : EJBCLIENT000025: No EJB receiver available for handling [appName:cp-model, moduleName:cp-model.jar, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@106caf16
java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:cp-model, moduleName:cp-model.jar, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@106caf16
at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:693)
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.doInvoke(EJBInvocationHandler.java:177)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:161)
at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:124)
at $Proxy0.create(Unknown Source)
at com.cedar.cp.model.client.CPModelClientLoop.main(CPModelClientLoop.java:105)
CPModelClient : main() : EXIT
It works fine when we specify -Djboss.ejb.client.properties.file.path with an appropriate file. We use EJB client calls extensively in our application, but using a properties file isn't feasible for all our use cases.
Would it be possible to raise this as a bug please, if it isn't already ? I can supply test code and recreation details on request.
Thanks -
Phil
(See earlier correspondence on https://community.jboss.org/thread/220992)