Hey

Short version:
I have fixed the problem with beans in different apps calling each other
using optimized calls, i.e. getting classcast's all over the place.
Calls that can't be optimized (i.e. calls between beans in different
apps) are now marshalled properly.

Long version:
The "optimized call between bean in different apps" problem has been
solved. The fix was to change JRMPContainerInvoker to check in local
versions of invoke and invokeHome whether the callers
contextclassloaders *parent* classloader was the same as the containers
parent classloader, i.e. if they belonged to the same application. If
they were the same the call was sent along to the container for
invocation, but otherwise the marshalled versions of invoke and
invokeHome are called.

Fix is in CVS.

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to