解决Oracle 9i和Tomcat端口冲突

解决Oracle 9i和Tomcat端口冲突

-- Change the HTTP/WEBDAV port from 8080 to 8081

SQL> call dbms_xdb.cfg_update(updateXML( dbms_xdb.cfg_get() ,
          '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()'
           8081))
          /

-- Change the FTP port from 2100 to 2111

SQL> call dbms_xdb.cfg_update(updateXML( dbms_xdb.cfg_get() ,
          '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()' , 2111))

  
 SQL> COMMIT;

 SQL> EXEC dbms_xdb.cfg_refresh

你可能感兴趣的:(解决Oracle 9i和Tomcat端口冲突)