-
1. Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface
jaikiran Oct 17, 2009 1:08 AM (in response to magicroomy)Are those the exact configurations? If not, can you please post the exact ones? Also, please post the JNDIView output http://www.jboss.org/community/wiki/DisplayTheJDNITreeWithTheJMXConsole and the exact code which is doing the lookup.
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. -
2. Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface
magicroomy Oct 19, 2009 4:09 AM (in response to magicroomy)Hi,
yes i think the data i posted is correct.
The JNDI Tree for the EJB2 accessing the EJB3 looks as follows:
java:comp namespace of the EJB2 bean:
+- TransactionSynchronizationRegistry[link -> java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)
+- env (class: org.jnp.interfaces.NamingContext)
| +- EJB3Remote[link -> EJB3] (class: javax.naming.LinkRef)
Greetings,
Volker -
3. Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface
magicroomy Oct 19, 2009 4:12 AM (in response to magicroomy)Damn... checked again and i posted the wrong Lookup. It must be lookup("EJB3Remote") instead of EJB2Remote.
My code is like that but it does not work that way. -
4. Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface
jaikiran Oct 19, 2009 4:56 AM (in response to magicroomy)<ejb-ref> <ejb-ref-name>EJB2Remote</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <home>EJB3Home</home> <remote>EJB3Remote</remote> <ejb-link>EJB3</ejb-link> </ejb-ref>
Try removing the ejb-link from that configuration. -
5. Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface
magicroomy Oct 19, 2009 9:20 AM (in response to magicroomy)I tried... doesn't work either.
Can i send you a little eclipse demo project somehow?
Greetings
Volker -
6. Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface
jaikiran Oct 19, 2009 11:00 AM (in response to magicroomy)Sure. Drop me a mail to the address available in my profile.
If this turns out to be a bug, we can track it through JIRA. -
7. Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface
magicroomy Oct 20, 2009 2:08 AM (in response to magicroomy)Hi,
i sent you my eclipse sample project. I hope it reaches you.
Thank you for your help.
Greetings
Volker -
8. Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface
jaikiran Oct 20, 2009 2:29 AM (in response to magicroomy)"magicroomy" wrote:
I hope it reaches you.
Received. -
9. Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface
magicroomy Nov 1, 2009 12:20 PM (in response to magicroomy)Hi,
any news on the subject?
Greetings,
Volker -
10. Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface
jaikiran Nov 2, 2009 1:27 AM (in response to magicroomy)Looks like a bug to me. Please create a JIRA here https://jira.jboss.org/jira/browse/JBAS
-
11. Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface
danydyn Feb 7, 2010 8:34 AM (in response to jaikiran)I encounter the same issue.
Any update on this?
Daniel
-
12. Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface
wolfc Mar 30, 2010 7:17 AM (in response to jaikiran)I moved the bug over from JBNAME-40 to JBAS-7879.