This content has been marked as final.
Show 1 reply
-
1. Re: Problems with an application under jboss-4.0.3SP1
peterj Jun 1, 2006 12:21 PM (in response to knutschik)Is OnlineShopHome a remote home? If so, line 34 should read:
OnlineShopHome onlineShopHome = (OnlineShopHome)javax.rmi.PortableRemoteObject.narrow(ic.lookup("OnlineShop"), OnlineShopHome.class);
At least, that is what works for me. (If I look up a local home I can cast that directly without problems, but the rmeote homes always return proxies, hence the need to use the PortableRemoteObject.)