I am using JBoss 3.2.5 with a EAR defining the business functionality and a WAR for the website. When I started out, hot deployment of the WAR worked fine. Then for no apparent reason it stopped with a class cast exception when casting the value returned from the <ejb.create> method. I fixed this by calling new InitialContext() rather than new InitialContext(null). That worked for a while, then stopped! Just last week, it started working again. The only thing I changed was to shift another server on our network from "all' to "default", thus shutting down clustering attempts. My development machine has always been on "default".
I am highly confused as to what is going on. Ideas anyone?