ClassCast exception when looking up remote EJB on JBoss EAP 6
Issue
We are trying to do some remote EJB calls from one JBoss EAP 6.0.0 instance to another. When we run the following, we get a ClassCastException
context.lookup("ejb:SomeEjbJar/SomeBean!" + SomeRemote.class.getName())
Environment
- JBoss Enterprise Application Platform (EAP) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.