geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianny Damour <>
Subject remote class loading for deployment
Date Tue, 22 Mar 2005 10:33:08 GMT

Just a quick memo to summarize how to enable remote class loading during 

In a standard geronimo package:
1. update the policy file var/security/deployer.policy in order to 
reflect your execution environment. Basically, have a look to the lines 
following the "configure the reflect your execution environment" message 
and configure the relevant values;

2. start the org/apache/geronimo/RemoteClassLoadingDeployer 
configuration. This configuration exports the ClassLoader of the 
org/apache/geronimo/Server and org/apache/geronimo/RuntimeDeployer 
configurations.  Basically, the classes of these two configurations are 
now available from the[org.apache.geronimo.Server] 

For instance, this URL:[org.apache.geronimo.Server]/org/tranql/ql/QueryException.class
download the byte code of org.tranql.ql.QueryException.

3. use the deployer with a security manager installed and provide the 
previous policy file;

java  -jar 
bin/deployer.jar <standard switches and parameters>

I think that the same approach can be leveraged for integration with the 
OpenEJB protocol.


View raw message