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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.