Hi all, I've written a custom Realm that I'm attempting to use for authentication under Tomcat 4.0. Within that class I'm using JavaSpaces to do the messaging to the authentication service that I wrote. Each piece works independantly, but together they are failing. What happens is this:
1. Realm: Posts authentication Message to Space. 2. Auth Service: Retrieves Message, performs authentication 3. Auth Service: Posts auth response Message to Space 4. Realm: Retrieves Message The trouble is that at the point when the Realm retrieves the Entry from the Space (4), I get a ClassCastException when I attempt to cast it to a Message. I know it is a Message, though, as I can print it out and verify it. Thus, it seems like it is a ClassLoader issue...? BTW: I put all Jini jars in the server/lib and my classes in the server/classes directory so that my Realm has access to the appropriate classes. Would this be related? Is there a better way? Thanks for any suggestions, Scott -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>