-
1. Re: Class Cast Exception-Weblogic to Jboss
dhansen1969 Jul 7, 2005 2:17 PM (in response to svdath)Just a thought but do you have the TaskInstanceDoc class in your JBoss classpath?
Also, I'm going through a similar migration (WLS to JBoss) and was wondering if you had any documentation or resources that you could share?
Anything to smooth the migration path would/will be greatly appreciated. Thanks in advance,
dh -
2. Re: Class Cast Exception-Weblogic to Jboss
stevenpeh Jul 7, 2005 8:54 PM (in response to svdath)Heh, just for your info, the class loading architecture is *different* from JBoss and Weblogic. I'd suggest you read the wiki in JBoss regarding their class loader design.
One cause for ClassCastException is when your app is loading the class from another application (i.e. a jar file from another independantly deployed ear/war). Although the class is the same, it is not from the same class loader as your app, hence Java will not allow you to cast it.
Good luck in your porting.