A similar symptom occurs, when you are using different version of jboss server and tomcat
client.
With server=jboss4.2.1 and client=jboss-client-all.jar (4.0.3) I got a
Caused by: java.lang.ClassCastException: javax.naming.Reference
for SFSBs (SLSBs worked fine).
After fixing this, all works as expected.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080564#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...