I'd suspect some class loaders issue.
First you can check where are the classes loaded from and what class loaders were used in
your onMessage method:
System.out.println(CustomMessageBean.class.getClassLoader().toString() + " " +
CustomMessageBean.class.getProtectionDomain().getCodeSource().getLocation().toString());
| System.out.println(message.class.getClassLoader().toString() + " " +
message.class.getProtectionDomain().getCodeSource().getLocation().toString());
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206444#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...