parsed.org

Tips by tag: tomcat

Change Oracle's HTTP/FTP Ports by xinu on Sep 17, 2007 02:03 PM

If you've got another service (e.g., tomcat) fighting for port 8080, you can change the port Oracle uses with the following calls:

-- change HTTP port from 8080 to 8083
call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(), '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()', 8083));

-- change FTP port from 2100 to 2111
call dbms_xdb.cfg_update(updateXML( dbms_xdb.cfg_get(), '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()' , 2111));

-- refresh settings
exec dbms_xdb.cfg_refresh;

Tip borrowed from an article by red-database-security.com.

configurationconflictftphttporacleportssqltomcat
RSS