Oracle 10g安裝之後,TNSLSNR 佔用了8080端口。可是機器上還要安裝Tomcat啊,因此咱們要修改TNSLSNR的端口號。web
sqlplus sys as sysdba
call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',9081)); commit; exec dbms_xdb.cfg_refresh;
修改後查看一下,吼吼!sql
lsof -i:8080spa