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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
