如题所述
ä¸ï¼å¯å¨BEA
ããæå¼æ§å¶å°ï¼éè¿æµè§å¨ï¼æå¼ç½åå¯å¨ç®¡çæ§å¶å°ãè¾å ¥ç®¡çå
ç¨æ·ååå¯ç (é»è®¤ï¼weblogic/weblogic)ã
ããå建JDBCæ°æ®æºï¼
ããå¨âåç»æâæ ä¸ï¼å±å¼âæå¡â>âJDBCâï¼ç¶åéæ©âæ°æ®æºâã
ããå¨âæ°æ®æºæ¦è¦â页ä¸ï¼åå»âæ°å»ºâã
ããå¨âJDBC æ°æ®æºå±æ§â页ä¸ï¼è¾å ¥æéæ©ä¸åä¿¡æ¯ï¼
ããå称ï¼jdbc/Oracle
ããJNDIå称ï¼jdbc/oracle
ããæ°æ®åºç±»åï¼Oracle
ããæ°æ®åºé©±å¨ç¨åºï¼BEA Oracle Driver Type 4 Version ......
ããç¹å»âä¸ä¸æ¥âã
ããæ éæ¹åé»è®¤å¼ï¼åç¹å»âä¸ä¸æ¥âã
ããè¾å ¥ä»¥ä¸å¼ï¼
ããæ°æ®åºå称ï¼o9i (åºè¯¥å¡«åOracleæ°æ®åºå®ä¾çæ è¯ï¼å³SID)
ãã主æºåï¼127.0.0.1 (æ°æ®åºæå¡å¨IPæè HostName)
ãã端å£ï¼1521
ããæ°æ®åºç¨æ·åï¼** å¯ç ï¼tiger
ãã确认å¯ç ï¼tiger
ããç¹å»âä¸ä¸æ¥âã
ããç¹å»âæµè¯é ç½®âæé®ãè¥æ¾ç¤ºâè¿æ¥æµè¯æåâï¼å说æ以ä¸åæ°é ç½®æ£ç¡®ãç¹å»âä¸ä¸æ¥âæé®ã
ããå¨âéæ©ç®æ âæä½ä¸ï¼éæ©éè¦å°æ¬æ°æ®æºé¨ç½²å°åªäºæå¡å¨ä¸ï¼éæ©âAdminServerâï¼ç¶åç¹å»âå®æ
âæé®ã
ããç¹å»âæ¿æ´»æ´æ¹âæé®ï¼æ¯é 置信æ¯æä¹ ä¿å并çæã
ããJNDIæ°æ®æºå·²ç»æåå建ä¸é¨ç½²æåã
ããéå¯ BEAã
ããæå¼æ§å¶å°ï¼éè¿æµè§å¨ï¼æå¼ç½åå¯å¨ç®¡çæ§å¶å°ãè¾å ¥ç®¡çå
ç¨æ·ååå¯ç (é»è®¤ï¼weblogic/weblogic)ã
ããå建JDBCæ°æ®æºï¼
ããå¨âåç»æâæ ä¸ï¼å±å¼âæå¡â>âJDBCâï¼ç¶åéæ©âæ°æ®æºâã
ããå¨âæ°æ®æºæ¦è¦â页ä¸ï¼åå»âæ°å»ºâã
ããå¨âJDBC æ°æ®æºå±æ§â页ä¸ï¼è¾å ¥æéæ©ä¸åä¿¡æ¯ï¼
ããå称ï¼jdbc/Oracle
ããJNDIå称ï¼jdbc/oracle
ããæ°æ®åºç±»åï¼Oracle
ããæ°æ®åºé©±å¨ç¨åºï¼BEA Oracle Driver Type 4 Version ......
ããç¹å»âä¸ä¸æ¥âã
ããæ éæ¹åé»è®¤å¼ï¼åç¹å»âä¸ä¸æ¥âã
ããè¾å ¥ä»¥ä¸å¼ï¼
ããæ°æ®åºå称ï¼o9i (åºè¯¥å¡«åOracleæ°æ®åºå®ä¾çæ è¯ï¼å³SID)
ãã主æºåï¼127.0.0.1 (æ°æ®åºæå¡å¨IPæè HostName)
ãã端å£ï¼1521
ããæ°æ®åºç¨æ·åï¼** å¯ç ï¼tiger
ãã确认å¯ç ï¼tiger
ããç¹å»âä¸ä¸æ¥âã
ããç¹å»âæµè¯é ç½®âæé®ãè¥æ¾ç¤ºâè¿æ¥æµè¯æåâï¼å说æ以ä¸åæ°é ç½®æ£ç¡®ãç¹å»âä¸ä¸æ¥âæé®ã
ããå¨âéæ©ç®æ âæä½ä¸ï¼éæ©éè¦å°æ¬æ°æ®æºé¨ç½²å°åªäºæå¡å¨ä¸ï¼éæ©âAdminServerâï¼ç¶åç¹å»âå®æ
âæé®ã
ããç¹å»âæ¿æ´»æ´æ¹âæé®ï¼æ¯é 置信æ¯æä¹ ä¿å并çæã
ããJNDIæ°æ®æºå·²ç»æåå建ä¸é¨ç½²æåã
ããéå¯ BEAã
温馨提示:答案为网友推荐,仅供参考