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,
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.