I've an application running JBoss EAP 6 that needs to communicate with another application on JBoss 5 via RMI.
I followed the instructions posted here:
and I'm getting the same issue described here:
However, I'm trying to apply the proposed solution, adding the exclusion for module "org.picketbox" in the jboss-deployment-structure.xml but i'm always getting the same error:
Caused by: java.lang.ClassCastException: org.jboss.security.plugins.JBossSecurityContext cannot be cast to org.jboss.security.SecurityContext