To manually configure the HTTPS port for EM Express:
1. Configure and start the Oracle Net Listener (the listener). You can use Isnrctl to start, stop, and view the status of the listener.
2. If the listener is running on a nonstandard port (for example, not 1521), then the init .orafile for the databasc you want to managc using EM Exprcss must contain a local_listenerentry so that the HTTPS port can register with the correct listener. The local_listenercntry rcferences a TNSNAMES entry that points to the correct listener. For example:
local_listener=instl
where instl is a TNSNAMES entry defined in tnsnames .orathat points to the listener. For example: instl=
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host_name) (PORT=1234) )
(CONNECT_DATA= (SERVICE_N AME=service_name) (SERVER=DEDICATED)) )
In this example. 1234 is the nonstandard port on which the listener has been configured to listen.
3. Enablc the TCPdispatchcr by adding the following entry to the init .oraFile for the database you want to manage using EM Express:
dispatchers="(PROTOCOL=TCP)(SERVICE=<sid>XDB)"
For examplc. if the database SID is ORCL, then the entry would be: dispatchers="(PROTOCOL=TCP)(SERVICE=ORCLXDB)"
4. Restart the database so that the changes madę in the init. orafile take effect.
5. Use the PL/SQL procedurę DBMS_XDB_CONFIG. SETHTTPSPORT to set the HTTPS
port for EM Express. This will update the HTTPS port in the xdbconf ig . xml file
in the Oracle XML DB Repository. You must conncct as SYS / AS SYS DBA to run
the procedurę. For example:
SQL> exec DBMS_XDB_CONFIG.SETHTTPSPORT(5500);