Cannot get exception as pass-by-reference, despite of pass-by-value="false"

Solution Verified - Updated -

Issue

  • Servlet received java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl, instead of javax.xml.ws.soap.SOAPFaultException: SOAPFault method failed Test
  • We set <in-vm-remote-interface-invocation pass-by-value="false"/> in ejb3 subsystem. So EJB works as pass-by-reference but exception is still pass-by-value.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.0.x
    • 6.1.x
    • 6.2 GA, CP01, CP02

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