jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Richardson (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCRRMI-13) Enhancement to get RMI through firewalls
Date Thu, 02 Apr 2009 13:26:12 GMT
Enhancement to get RMI through firewalls

                 Key: JCRRMI-13
                 URL: https://issues.apache.org/jira/browse/JCRRMI-13
             Project: Jackrabbit JCR-RMI
          Issue Type: Improvement
         Environment: RHEL Linux 5.0
            Reporter: Tony Richardson

It is difficult to get RMI through a firewall with the current implementation of org.apache.jackrabbit.rmi.server.ServerObject.
As it selects a random port for RMI execution. This issue can be resolved by adding a system
property and modifying the default constructor as shown below.

  private static Integer bindPort = Integer.getInteger("org.apache.jackrabbit.rmi.port", new

     * Creates a basic server adapter that uses the given factory
     * to create new adapters.
     * @param factory remote adapter factory
     * @throws RemoteException on RMI errors
    protected ServerObject(RemoteAdapterFactory factory)
            throws RemoteException {
        this.factory = factory;

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message