jboss連線rhel5 oracle10g 10.2.0.4提示TNS-12514

wisdomone1發表於2010-06-13
  
 
我手工修改後的listener.ora檔案如下:
 
-bash-3.2$ more listener.ora
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.19.155)(PORT = 1521))
    )
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    )
  )
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = orcl)
      (ORACLE_HOME =/oracle/product/10.2.0/db_1)
      (GLOBAL_DBNAME=orcl)
    )
  )

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-665137/,如需轉載,請註明出處,否則將追究法律責任。

相關文章