igor is right these are just 2 classloaders
if you know the place where it does goes wrong now and then
output/log the 2 classloaders: log.debug(usersession.getClass
().getClassLoader())
johan
On 5/10/07, V. Jenks <[EMAIL PROTECTED]> wrote:
Thanks for the insight Igor, very interesting, and it makes sense.
However, it doesn't make sense. :P This has never happened to this
application running on JBoss 4.0.x in over a year....and never happened
when
I tested it against Glassfish V1.
Any idea what might be causing this?
Both the source code and version of Wicket I'm using remains unchanged in
the entire time it has been in production...so I'm very skeptical that
this
is anything *other* than an issue w/ Glassfish.
I've actually been unable to reproduce the error in the last hour,
vigorously testing by restarting the app server AND undeploying,
redeploying, etc. the application. This makes me even more nervous. :S
igor.vaynberg wrote:
>
> On 5/10/07, V. Jenks <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> "com.myapp.abcommerce.ui.admin.UserSession cannot be cast to
>> com.myapp.abcommerce.ui.admin.UserSession"
>>
>> ...oh REALLY now?
>>
>>
> this is a classloader problem. UserSession loaded by classloader A
cannot
> be
> cast to UserSession loaded by classloader B
>
> -igor
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
--
View this message in context:
http://www.nabble.com/Serious-problem-w--Glassfish-V2-Beta-2---Wicket-tf3723270.html#a10419545
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user