¾Æ·¡»çÇ×À» È®ÀÎÇϼ¼¿ä.


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]

±Û¾´ÀÌ :ÀÌ¿ø¿µ 1998³â 12¿ù 02ÀÏ 10:04:25

In Reply to: JDBC ORACLE ¿¬°áÀÌ Àß ¾ÈµË´Ï´Ù. µµ¿ÍÁÖ¼¼¿ä posted by ¾ÈÀç¹Î on 1998³â 11¿ù 25ÀÏ 22:14:29:


[È®ÀλçÇ×]
1. ¾Æ·¡Ã³·³ »ç¿ëÇϼ¼¿ä.
Connection conn = DriverManager.getConnection
("jdbc:oracle:thin:@www.your.host:1521:ORA7", "id", "passwd");
DNS¿¡ µî·ÏµÇÁö ¾ÊÀº ¼­¹öÀ̸é ip address¸¦ ÀÌ¿ëÇؾß
ÇÕ´Ï´Ù.


2. Oracle Listener¸¦ Á¦´ë·Î ¶ç¿ü½À´Ï±î?
2-1. Oracle ÀÌ Á¤¸» starting µÇ¾î ÀÖ½À´Ï±î?
power:/home1/oracle73/app/oracle/product/7.3.2/network/admin# ps -ef|grep ORA
oracle73 3214 1 0 Oct 13 ? 0:07 oracleORA73 (LOCAL=NO)
oracle73 455 1 0 Oct 09 ? 0:03 ora_pmon_ORA7
oracle73 457 1 0 Oct 09 ? 0:07 ora_dbwr_ORA7
oracle73 459 1 0 Oct 09 ? 0:04 ora_lgwr_ORA7
oracle73 461 1 0 Oct 09 ? 8:06 ora_smon_ORA7
oracle73 463 1 0 Oct 09 ? 0:00 ora_reco_ORA7
oracle73 8705 8662 0 17:52:05 pts/5 0:00 grep ORA



¸¸¾à ¾ø´Ù¸é OracleÀ» ¶ç¿ì¼¼¿ä.
$ svrmgrl
ORA> connect internal;
ORA> startup



2-2. $ORACLE_HOME/network/admin/listener.ora ÆÄÀÏ¿¡
¾Æ·¡¿Í °°Àº ¼³Á¤ÀÌ µÇ¾î ÀÖ½À´Ï±î?
LISTENER=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=165.244.227.233) <== www.your.hostÀÇ IP address
(PORT=1521)
)
)
....
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=ORA7)
(ORACLE_HOME=/home1/oracle73/app/oracle/product/7.3.2)
)
.....
)



...



2-3. lsnrctl status ·Î È®ÀÎ ÇßÀ» ½Ã ¾Æ·¡Ã³·³ ORA7À̶ó´Â
SID¿¡ ´ëÇÏ¿© listener°¡ ¶° ÀÖÀ½ÀÌ È®ÀÎ µË´Ï±î?
power:/home1/oracle73/app/oracle/product/7.3.2/network/admin# lsnrctl status
LSNRCTL for Solaris: Version 2.3.2.1.0 - Production on 19-OCT-98 17:48:56
Copyright (c) Oracle Corporation 1994. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=TCP)(HOST=165.244.227.233)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Solaris: Version 2.3.2.1.0 - Production
Start Date 09-OCT-98 13:12:48
Uptime 10 days 4 hr. 32 min. 31 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /home1/oracle73/app/oracle/product/7.3.2/network/admin/listener.ora
Listener Log File /home1/oracle73/app/oracle/product/7.3.2/network/log/listener.log
Services Summary...
BMT has 1 service handler(s)
ORA7 has 1 service handler(s) <--ÀÌ·¸°Ô ¶° ÀÖ³ª¿ä?
The command completed successfully



¸¸¾à ¾ø´Ù¸é $ lsnrctl start ·Î ¶ç¿ì¼¼¿ä.



3. listener port°¡ 1521ÀÌ ¸Â½À´Ï±î?
Ȥ½Ã 1721¾Æ´Õ´Ï±î? ´ëºÎºÐ 1521 À̳ª 1721 ¹øÀ» »ç¿ëÇÕ´Ï´Ù.
8005¹øÀ¸·Î »ç¿ëÇϳªº¸ÁÒ? (¼ö»óÇѵ¥...)


4. id/passwd°¡ Á¤È®Çմϱî?(ÀÌ°Ç ¸Â°ÚÁö...)



À§ »çÇ×À» Á¤È®ÇÏ°Ô¸¸ È®ÀÎÇÏ½Ã¸é µÉ °Ì´Ï´Ù.



´ÙÀ½ ±Ûµé:



À̾ ±Û¿Ã¸®±â(´äÇϱâ)

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
HTML ÅÂ±× Æ÷ÇÔ ¿©ºÎ: HTML ¹®¼­ÀÏ °æ¿ì üũ
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]