I just have got the same problem using JBossIDE 1.4  
Tried to use remote or local interfaces, the problem looks the same.
The context.lookup call returns me a valid (<>null) object,
but later I can't cast it to my ejb's home interface.

// this is running well
Object oRef = context.lookup("ejb/StockExchange");

// can't cast
m_oHome = (StockExchangeHome) PortableRemoteObject.narrow(oRef, 
StockExchangeHome.class);


Any ideas?

Thank you,
Gen


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897181#3897181

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897181


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to