Glassfish Java App Class cast exception -


getting following exception when casting

fqe.datahandler.liveupdatemessage cannot cast fqe.datahandler.liveupdatemessage

sometimes happens, doesn't. object can never other class.

if helps when getting object grizzly-comet's cometevent.message() function on glassfish 3.

thanks in advance help.

this due in servlet engine when have 2 instances of jar file being loaded different classloaders. maybe 1 in war , in classpath of engine ?


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

java - where to store the user credentials in an enterprise application(EAI)? -

openxml - Programmatically format a date in an excel sheet using Office Open Xml SDK -