Cannot get exception as pass-by-reference, despite of pass-by-value="false"
Issue
- Servlet received
java.io.NotSerializableException: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl, instead ofjavax.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 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.
