I found the reason for the
CastClassException in my webapp.
I'm using JAAS in my webapp, and I
must deploy (with ant) it for using
in my webapp, and is in there that a call to a webservice is done. It
seems that the call by this way generate a ClassCastException :(
Instead, If I call a webservice
outside of that JAAS deploy, there is