I get an XNIO ClassCastException when making a remote EJB Call

Solution Verified - Updated -

Issue

I am trying to do a remote EJB call from a Spring based war file deployed on JBOSS EAP 6.1.1 . The targetted EJB is on another instance of JBOSS EAP 6.1.1.

I get the following error:

javax.naming.NamingException: org.xnio.SingleOption cannot be cast to org.xnio.Option [Root exception is java.lang.ClassCastException: org.xnio.SingleOption cannot be cast to org.xnio.Option]

Environment

  • Red Hat JBoss Enterprise Application Platform 6.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content