I've created a fork of the https://github.com/jbossas/jboss-ejb-client project tin an effort to resolve a thread-synchronization issue which arises when setting EJB invocation properties at runtime rather than by jboss-ejb-client.properties. Some discussion of the issue I'm trying to resolve is here:
(The github fork is here: https://github.com/sumitsu/jboss-ejb-client, but I've not yet checked in any new code.)
To test my modifications, I'm trying to integrate the EJB-client JAR produced by Maven into the client jar supplied with AS7 (jboss/bin/client/jboss-client.jar) by replacing the latter's contents under org/jboss/ejb/client with the classes packaged by the jboss-ejb-client POM. When I try to invoke an EJB, however, I'm getting the following Exception:
Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
Caused by: java.lang.IllegalArgumentException: Invalid logger interface org.jboss.ejb.client.Logs (implementation not found)
... 7 more
Thinking that it was some version discrepancy with between the version of jboss-logging supplied with the AS 7.1.1 client and the version required by the most recent jboss-ejb-client revision, I also tried replacing the classes in the JBoss client under org/jboss/logging directory with those in the 3.1.0 JAR specified by the jboss-ejb-client POM, to no effect.
Could someone guide me as to how to update the JBoss AS 7.1.1.Final client with the most recent version of jboss-ejb-client, so that I can test my modifications? Please bear with me (and let me know) if I'm doing something wrong procedurally; this is my first attempt to modify/fork any JBoss code. If there's some other way in which I should be rebuilding the JBoss AS client or testing my modifications, please advise.