-
1. Re: Calling EJB in cluster jndi:1100 from action
beve Sep 18, 2008 6:05 AM (in response to wlabuschagne)Hi,
are you able to invoke the EJB with a standalone client using those same jndi settings?
Regards,
/Daniel -
2. Re: Calling EJB in cluster jndi:1100 from action
wlabuschagne Sep 18, 2008 8:53 AM (in response to wlabuschagne)Hi Yes. When I change it to 1099 then it works to.
Cheers
Willem -
3. Re: Calling EJB in cluster jndi:1100 from action
beve Sep 18, 2008 9:24 AM (in response to wlabuschagne)Sorry, I meant are you able to use "jnp://127.0.0.1:1100" as the provider url when running from a standalone client. Do you get the same error?
Regards,
/Daniel -
4. Re: Calling EJB in cluster jndi:1100 from action
wlabuschagne Sep 18, 2008 10:42 AM (in response to wlabuschagne)Sorry, I don't get a error. It works fine remotely with 1099 or 1100.
Its only when I use it within a action deployed as .esb archive that it does not work with port 1100. If I use port 1099 inside my esb archive it works.
Thanks
Willem -
5. Re: Calling EJB in cluster jndi:1100 from action
beve Sep 18, 2008 10:47 AM (in response to wlabuschagne)Thanks.
Are you sharing classes/interfaces between the ejb client and the ejb. Passed in as arguments or as return values?
Regards,
/Daniel -
6. Re: Calling EJB in cluster jndi:1100 from action
wlabuschagne Sep 18, 2008 2:36 PM (in response to wlabuschagne)I have isolation on the ejb. So I created a client.jar that I use in my esb archive. I have also created a loader for the esb with isolation.
The esb does have the right client jars avail.
The only jars that was included with the esb archive was the client.jar.
Hope this help. -
7. Re: Calling EJB in cluster jndi:1100 from action
beve Sep 19, 2008 4:15 AM (in response to wlabuschagne)I would guess that this is a classloading issue but it's difficult to say for sure without actually seeing code and your packaged ejb and .esb archives.
There is an example of calling an EJB3 using the ejbprocessor. This can be found in this following branch:
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/ejbprocessor/
I've tried this with jboss-4.2.2.GA and using the "all" configuration.
Regards,
/Daniel