The $ProxyX classes are probably JDK1.3 dynamic proxy classes. Can you post the code and stacktrace?
Paul > -----Original Message----- > From: Sternagel Annegret (PN-SYS/PE) > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 17, 2002 8:26 AM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Weird Hashtable contens after bean passivation / > activation > > > Hello, > > I want to store references to stateful sessionbeans in a > Hashtable of a > stateful sessionbean. > I tried to store the beanhandle and got a weird behavior: > The classname of the stored objects has been > 'org.jboss.ejb.plugins.jrmp.interfaces.StatefulHandleImpl'. > When I get the object from the Hashtable normally the > classname is correct, > but when the bean has been passivated and activated the > classname has been > something like '$Proxy3' > and I get a ClassCastException on the cast to a Handle. > > I know the classname of the bean references in jboss is > somthing like $Proxy > (to see sometimes in Exception printStackTrace ...). It looks > like that > through passivation / activation the handles have been restored to the > remoteinterfaces of the beans .... > > What's going on here ? > How should I store bean references: as remoteinterface or handle ? > > Annegret > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
