Basic guide with steps to fix the issue:
- Stop OE 11.7 OpenEdge Explorer/Management (OEE/OEM)
- Stop OE 11.7 AdminServer
- Stop OE 12 OpenEdge Explorer/Management (OEE/OEM)
- Stop OE 12 AdminServer
- Follow the article: How To Configure Multiple Versions of AdminServer To Be Run Concurrently since OpenEdge 10.1B
- Then fix all the port conflicts. It is recommended to change the OE 12 ports and leave the OE 11.7 ports as it is easier in OE 12 to change them all. The list is:
- RMI port for AdminServer (default is 20931)
- Remote management port for AdminServer (this is the primary issue, default is 6835))
- HTTP port for OEE/OEM (default is 9090)
- HTTPS port for OEE/OEM (default is 9443)
- In OE 12 delete the configuration database (delete <OEMGMT_install_dir>/work/configdb) (optionally delete the graph cache database <OEMGMT_install_dir>/work/cachedb as well). The reason is that OE 12 OEE/OEM will try to bind to the AdminServer through port 6835 as default, it's hard-coded in the configdb. Even when we use a new -mgmtport from the cmd line or new port in management.properties, it makes no difference to the port 6835 we see in the OE Console under Options > Remote AdminServers.
- Start OE 12 AdminServer
- Start OE 12 OpenEdge Management
- Login to OE 12. OEE/OEM, under Options, select Remote AdminServers
- Click on edit and correct the port number to point to the 12 AdminServer remote management port
- To manage OE 11.7 resources in OE 12 OEE/OEM, under 12 OEE/OEM:
- Start OE 11.7 AdminServer
- Under OE 12 OEE/OEM options menu select remote AdminServer
- Click on new
- Use “localhost” and the OE 11.7 remote management port (default is 6835)
- To run OE 11.7 and 12 simultaneously
- Stop 11.7 Adminserver
- Make sure all ports are unique like -adminport, -port while starting 11.7 and 12.x
- In $DLC/properties/management.properties file add containerName=<other than hostname>
containerName=117adminserver - Start 11.7 AdminServer using the following command from proenv: proadsv -start
- Under OE 12 OEE/OEM options menu select remote AdminServer
- Click on new
- Use “localhost” and the OE 11.7 remote management port (default is 6835)
- Enter the system username and password and you will see the OE 11.7 Adminderver under the "Remote AdminServer Configuration"
Note: In OpenEdge 12, it's possible to change the default AdminServer port that OEE/OEM uses to connect to the local default AdminServer. It is not possible to change the host it connects to. In prior versions of OEE / OEM, it was not possible to change the default AdminServer port or the host.