The interface org.jboss.ejb.plugins.InstanceCache
mandates NoSuchObjectException for bean not found.

This is incorrect for local invocations and leads
to an EJBException wrapping the exception.

Since the cache knows nothing about local/remote
the obvious fix is to "unwrap" the NoSuchObjectException
and recreate it as a NoSuchObjectLocalException
wherever get() is used.

Anybody see another way of doing this?

Regards,
Adrian
-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to