I just saw the following comment in the 2.4 release notes.
If I have 5 application servers and I obtain a handle from
a bean in one of these does this mean that Handle is smart
enough to get me to the right application server?
***************************
420628 Handles "remember" their container.
The JRMP proxy and handle implementation has been updated to "remember"
which container they came from. This allows clients to pass handles to VMs
that do not have an explicit configuration for the initial context factory
and provider url (as well as other environment properties) from which the
bean originated. This should provide a better migration path from other EJB
containers which provide this behavior. The issuing container reads the
environment properties which are required to construct a new InitialContext
object from a properties files specified by the system property:
org.jboss.ejb.plugins.jrmp.interfaces.InitialContextHandle.environment The
value of this property is currently assumed to be a URL or omitted to
disable the feature. The default value for this property is currently being
set to: file:../conf/default/handle-jndi.properties Which contains
properties suitable for connecting to the default JNDI server configured to
start with JBoss. If the port number which the Naming service is changed
from the default, then this file should be updated to reflect the new value.
If this property is omitted, then the old behavior will be used, which
simply constructed a new InitialContext with no environment properties. This
will assume that they are suitable system properties set to setup the
context.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user