This message which I obtained when trying to use an SSB (stateless session bean) to access a backend CMP EJB was disceptive. In my case it meant that jboss.jar was not in the class path!
As I was in the middle of an ugly JAAS implementation it really threw me.
FWIW, HTH someone not spend 4 hours finding it.
Stu