1.查询已经使用的emde端口

    1. SELECT dbms_xdb_config.gethttpsport FROM dual; --https
    2. SELECT dbms_xdb_config.gethttpport FROM dual; --http

    2.添加emde
    注意如果是要给pdb添加emde 需要先切换到要添加的pdb回话执行

    1. exec DBMS_XDB_CONFIG.SETHTTPSPORT(5500); ---https
    2. exec DBMS_XDB_CONFIG.SETHTTPSPORT(5500); ---http

    3.切换emde

    1. @?/rdbms/admin/execemx emx -----老版emde
    2. @?/rdbms/admin/execemx omx -----新版emde