Hi all, The solution to my problem with the classcastexception was due to the fact that I was trying to create an initial context from the same values as a client would, using the same method I had used in the client, when all I had to do was call Context ctx = new InitialContext(); Thanks to everyone for their help,I'll do my best to respond to some requests when I am experienced enough to! Best Regards, Oisin On Thursday 16 August 2001 13:33, Oisin Kim wrote: > Hello all, > > I'm still having great difficulties trying to get ejb to ejb communication. > To recap, I have Entity and Session EJBs that are deployed fine, I know > this since they work from regular java clients, I can contact all the ejbs > from a single client using their JNDI namespaces. The problem comes when I > try to reference an ejb from another ejb it gives me the following > exception, when I try to cast the object returned by a jndi lookup to the > type that I need: -- Best Regards, Oisin =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
