---
title: "修改oracle端口解决与tomcat端口冲突问题"
author: "331855843"
date: "2011-03-19T15:29:08Z"
tags: ["Oracle", "Tomcat"]
categories: ["数据库"]
slug: "oracle-tomcat"
draft: false
lastmod: "2011-03-19T15:29:08Z"
id: 967599
url: "https://331855843.iteye.com/blog/967599"
---

打开命令窗口：

Change  the  HTTP/WEBDAV  port  from  8080  to  8081 
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 
call  dbms_xdb.cfg_update(updateXML( 
       dbms_xdb.cfg_get() 
   ,  '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()' 
   ,  2111)) 
/ 
COMMIT; 
EXEC  dbms_xdb.cfg_refresh;