With this project it is possible to reproduce a ClassCastException
while concurrent calls to a ejb deployed on a different JBoss-Instance.

REQUIREMENTS 

1. Java SDK 1.5
2. 2 JBoss instances to deploy ejbs on
  (Tested with JBoss AS versions 4.0.5 and 4.2.1).
3. Eclipe IDE 3.x or(and) ant 1.7

HOW TO RUN

Before compile and build all components of this project, you have to edit
conf/classcastexceptiontest.properties file and replace the values with
right IP and JNDI Ports for your JBoss instances.

The folder lib/ct/ contains for compilation and test execution needed
jar from JBoss AS 4.2.1 GA. If you are trying to run the project 
components on another JBoss version, then please replace the jars with 
corresponding files from your JBoss.  

Project components can be build with ant
	ant build.all
	
The EARs processinvoker1.ear and processinvoker2.ear have to be deployed
on the one JBoss instance and process.ear on the second.

With "ant test.concurrentprocessinvoke" can the ClassCastException be 
reproduce.