The problem does have to do with the class loaders. From what you
are trying, I guess that you have a copy of the Principal in the
lib/container jar and in lib/apps or WEB-INF. The problem is that classes
loaded by two different class loaders are not equal and the same class from
two
Thanks for all,
I make an interface for MyPrincipal and put all classes in /common/lib
And now it works fine.
Nicolas
-Message d'origine-
De : Randy Layman [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 4 février 2002 12:56
À : 'Tomcat Users List'
Objet : RE: Principal Cast Exception