Hi! Kevin Lewis wrote: > > In August, Werner Ramaekers reported a problem exactly like I'm having > now. > > When I do a PortableRemoteObject.narrow from Tomcat (using the > TomcatService), I get a class cast. > > The object I'm casting is the result of a JNDI lookup. It reports to be > of type "$Proxy7", but implements the interface to which I am casting (I > printed them out), so I'm thinking the lookup is correct. > > Does anyone know what I am doing wrong to get this problem? Most likely a classloader problem: the interface to the bean is available in two places, and the proxy uses one and your client code the other. This will give you these types of problems. /Rickard -- Rickard �berg Email: [EMAIL PROTECTED] http://www.telkel.com http://www.jboss.org http://www.dreambean.com -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
