This content has been marked as final.
Show 2 replies
-
1. Re: JBoss and client on different hosts -> ClassCastExceptio
lafr Feb 11, 2005 4:08 PM (in response to akrobaten)The object returned by lookup method seems not to be of type LoginHome.
Print out ref.getClass().getName() to see what's the class name.
Is LoginHome a remote home interface ?
With a client app outside of the server app's jboss jvm you can only use the RemoteHome interfaces. -
2. Re: JBoss and client on different hosts -> ClassCastExceptio
akrobaten Feb 15, 2005 3:34 AM (in response to akrobaten)Thanks for your reply and suggestions.
Yes, LoginHome is RemoteHome interface.
I got it to work now.
Problem was that I used the wrong packagename :)