-
1. Re: EJBCLIENT-34 in AS7 nightly builds?
jaikiran Oct 27, 2012 2:37 AM (in response to fchaves)There's a pull request for it here https://github.com/jbossas/jboss-as/pull/3338. Once it gets merged, it will be available in the nightly builds which can be obtained from here https://community.jboss.org/thread/167590
-
2. Re: EJBCLIENT-34 in AS7 nightly builds?
fchaves Oct 28, 2012 4:08 PM (in response to jaikiran)Thanks Jaikiran,
I've downloaded EJBCLIENT-34 (1.1.0 Beta1) where EJBCLIENT-34 has been resolved. I compiled and generated jboss-ejb-client.jar from sources using maven. But I have two questions?
1- Can I use the new compiled jboss-ejb-client.jar with my JBoss AS 7.1.1. Final or I have to use JBoss AS 7.1.2 nigthly build instead?
2- Can you provide me an example about how I should configure context properties dinamically (from my source code of invoker method) to invoke a remote EJB from another EJB without static configuration like "outbound connections, outbound-socket-bindings, etc"?
Thanks a lot Jaikiran,
I've been waiting for EJBCLIENT-34 to solve my big problem!
Francisco.
-
3. Re: EJBCLIENT-34 in AS7 nightly builds?
jaikiran Oct 28, 2012 10:26 PM (in response to fchaves)Francisco Chaves wrote:
Thanks Jaikiran,
I've downloaded EJBCLIENT-34 (1.1.0 Beta1) where EJBCLIENT-34 has been resolved. I compiled and generated jboss-ejb-client.jar from sources using maven. But I have two questions?
1- Can I use the new compiled jboss-ejb-client.jar with my JBoss AS 7.1.1. Final or I have to use JBoss AS 7.1.2 nigthly build instead?
You can use the released 1.0.13.Final version which too contains this support.
Francisco Chaves wrote:
2- Can you provide me an example about how I should configure context properties dinamically (from my source code of invoker method) to invoke a remote EJB from another EJB without static configuration like "outbound connections, outbound-socket-bindings, etc"?
Here's an example from the testcase which will be merged upstream https://github.com/jaikiran/jboss-as/blob/87485ad582e317dd66149efb4fa19f9dafad7cb1/testsuite/integration/multinode/src/test/java/org/jboss/as/test/multinode/remotecall/scoped/context/StatefulBeanA.java#L130 once that pull request is processed
-
4. Re: EJBCLIENT-34 in AS7 nightly builds?
jaikiran Oct 28, 2012 10:28 PM (in response to jaikiran)Note that if your client itself is a AS7 server then for this feature to function properly you'll have to use the nightly build since that contains the necessary server side changes. However, if your client is something like a remote standalone application then you can just start using the 1.0.13.Final version of jboss-ejb-client on the client side.
-
5. Re: EJBCLIENT-34 in AS7 nightly builds?
fchaves Oct 29, 2012 8:14 PM (in response to jaikiran)Hi Jaikiran, first at all, thanks for your response..
I'm trying to use jboss-ejb-client following your test example, but i'm getting the following error:
[Server:server-one] 19:05:07,279 INFO [org.jboss.as.server] (host-controller-connection-threads - 2) JBAS018559: Deployed "remoteEJBClient.war"
[Server:server-one] 19:05:40,395 INFO [org.jboss.ejb.client.naming] (http-/192.168.1.239:8080-1) Cannot create a scoped EJB client context for JNDI naming context org.jboss.ejb.client.naming.ejb.EjbNamingContext@3e07bd since the current EJB client context selector can't handle scoped contexts
[Server:server-one] 19:05:40,401 INFO [org.jboss.ejb.client] (http-/192.168.1.239:8080-1) JBoss EJB Client version 1.1.0.Beta1-SNAPSHOT
I'm using jboss-as-7.2.0.Alpha1-SNAPSHOT.
Any help is welcome..
Thanks.
-
6. Re: EJBCLIENT-34 in AS7 nightly builds?
jaikiran Oct 29, 2012 9:12 PM (in response to fchaves)Like I said, the pull request hasn't yet been merged. Once that's done, the support will be available.
-
7. Re: EJBCLIENT-34 in AS7 nightly builds?
fchaves Oct 30, 2012 7:50 PM (in response to jaikiran)Thanks for the response,
How can I figure out about the merge you say, incluiding EBJCLIENT-34?
When do you think this will happen, a few days, months? I´m really wanted for that feature to continue.
Thanks Jaikiran,
-
8. Re: EJBCLIENT-34 in AS7 nightly builds?
jaikiran Oct 31, 2012 3:52 AM (in response to fchaves)This is now merged into upstream and should be available in next nightly build.
-
9. Re: EJBCLIENT-34 in AS7 nightly builds?
fchaves Nov 1, 2012 5:08 PM (in response to jaikiran)Hi Jaikiran, good news! Do you know when could you or the team, generate the next nightly build? Really I´m playing against the time.
Thanks a lot.
-
10. Re: EJBCLIENT-34 in AS7 nightly builds?
jaikiran Nov 2, 2012 12:12 AM (in response to fchaves)Francisco Chaves wrote:
Hi Jaikiran, good news! Do you know when could you or the team, generate the next nightly build?
It's automated and is "always" available. Here's where you can get it https://community.jboss.org/thread/167590