Are you by any chance using "service" through a remote interface?
Why do you need to cast the result to User btw? Does that method return other objects than
Users?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000887#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...