C:\Documents and Settings\hesai>sqlplus
SQL*Plus: Release 10.1.0.2.0 - Production on 星期六 10月 20 15:16:37 2012
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
-- Change the HTTP/WEBDAV port from 8080 to 8090
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),'/xdbconfig/sysconfig
/protocolconfig/httpconfig/http-port/text()',8090));
Call completed.-- 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));
Call completed.
SQL> commit;
Commit complete.
SQL> exec dbms_xdb.cfg_refresh;
PL/SQL procedure successfully completed.