"JBAS014154: Failed to marshal EJB parameters" for entity find in EAP 6

Solution Verified - Updated -

Issue

  • Application throws EJB marshalling error when calling an entity find method that returns an enumeration
e = (Enumeration) narrow(home.findById(id), Enumeration.class)
java.lang.RuntimeException: JBAS014154: Failed to marshal EJB parameters
    at org.jboss.as.ejb3.remote.LocalEjbReceiver.clone(LocalEjbReceiver.java:297)
...
Caused by: java.io.NotSerializableException: org.jboss.as.ejb3.component.entity.interceptors.EntityBeanHomeFinderInterceptorFactory$2

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

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