Hi,
I'm experiencing the same problems when attempting to access a Stateful bean (EJB 3) from a JSP test client. I'm able to access Stateless beans without any problems but always receive ClassCastExceptions when casting the result of the initialcontext lookup. Again I'm using JBoss 4.2. Did you manage to resolve this issue?
Many thanks
Alistair

TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations technology projects - with its network of technology-specific websites, events and online magazines.