Enable RMI connection to the AEM repository | Community
Skip to main content
Community_Admin
Adobe Employee
Adobe Employee
October 16, 2015
Solved

Enable RMI connection to the AEM repository

  • October 16, 2015
  • 1 reply
  • 814 views

Hello,

we are trying to enable RMI access to our CRX.

My understnding is that we need to need the following setup:

 

In order to set up RMI, you will need to change the configuration in the CRX instance. Here are the steps:

Go to : Your_CRX_Folder/server/runtime/0/_crx/WEB-INF/web.xml and uncomment following code, we will need to make sure that the port is 6600 or any other port you wish to have, but that port should be open.

 

    <!--

        RMI configuration

    -->

    <init-param>

      <param-name>rmi-port</param-name>

      <param-value>6600</param-value>

      <description>

        The RMI port for registering the repository in the RMI Registry.

        If equals 0, the default port is used. Omit this parameter to

        disable RMI server entirely.

      </description>

    </init-param>

 

 

We need to mofidy this parameter but not by updates to the  the runtime folder. We would like to have these change scripted as part of the installation of the CQ jar. That will allow us to avoid manual configurations of CQ on each of our environments.

I assume I should extract the jar and make the change and bundle it again but I could not found the a web.xml in the quick start jar.

 

We are using CQ5.4

 

Thanks,

Lior

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Community_Admin

Just to summerize the discussion

 

  1. For setting up a new instance with RMI enabling the procedure would be [0]
  2. For existing instance it is advised to modify directly at Your_CRX_Folder/server/runtime/0/_crx/WEB-INF/web.xml
  3. Enhancement request has been placed to configure rmi port from system properties

 

[0]   

  • Unpack the cq quickstart jar
  • In the extracted path go to the folder /etc/server/webapps/
  • Extract the war file crx-explorer_crx.war
  • Modify The web.xml at /WEB-INF/ folder
  • Repackage the crx-explorer_crx.war and the quickstart
  • Use the new quickstart jar

1 reply

Community_Admin
Adobe Employee
Community_AdminAdobe EmployeeAuthorAccepted solution
Adobe Employee
October 16, 2015

Just to summerize the discussion

 

  1. For setting up a new instance with RMI enabling the procedure would be [0]
  2. For existing instance it is advised to modify directly at Your_CRX_Folder/server/runtime/0/_crx/WEB-INF/web.xml
  3. Enhancement request has been placed to configure rmi port from system properties

 

[0]   

  • Unpack the cq quickstart jar
  • In the extracted path go to the folder /etc/server/webapps/
  • Extract the war file crx-explorer_crx.war
  • Modify The web.xml at /WEB-INF/ folder
  • Repackage the crx-explorer_crx.war and the quickstart
  • Use the new quickstart jar