[jboss-user] [EJB 3.0] - Re: ClassCastException on Stateless Remote Bean

holmes.j do-not-reply at jboss.com
Mon Sep 25 19:25:04 EDT 2006


This one was stupid.  I was originally casting back to the bean.  That won't work, so I changed it to the interface.  Except I only changed the declared local variable, I missed the cast.


  | 			GeoFeatureManager geoFeatureManager = (GeoFeatureManagerBean) object;

should have been 

			GeoFeatureManager geoFeatureManager = (GeoFeatureManager) object;
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974052#3974052

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974052



More information about the jboss-user mailing list