将listener.ora和tnsnames.ora从源数据库复制到目标数据库对应位置并修改。源数据库路径:D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN。修改listener.ora:

(ORACLE_HOME = E:\\oracle\\product\\10.2.0\\db_1)

在tnsnames.ora中添加:

LI2 = 
 (DESCRIPTION = 
  (ADDRESS = (PROTOCOL = TCP)(HOST = WM-20120218SOAV)(PORT = 1521)) 
  (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = li2))
 )