티스토리 뷰
aws 인스턴스 생성 후 oracle를 설치하지 않아서 예외 발생하였음
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find class: oracle.jdbc.driver.OracleDriver
### The error may exist in com/bit/std_1st/db/CafeMapper.xml
### The error may involve cafe.listCafeAll
### The error occurred while executing a query
### Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find class: oracle.jdbc.driver.OracleDriver
아래글을 참고해서 oracle을 다운로드 해주었음
https://blog.naver.com/PostView.nhn?blogId=codingspecialist&logNo=221326952278&categoryNo=66&parentCategoryNo=0&viewDate=¤tPage=1&postListTopCurrentPage=1&from=postList
AWS 우분투 오라클 설치하기
micro 서버 50G 하드디스크 1G 메모리 여기에 오라클을 설치해보겠다. RDS에 설치해도 되지만 유료이...
blog.naver.com
(펌) Ubuntu에 Oracle XE 설치하기
http://blog.saltfactory.net/install-oracle-xe-on-ubuntu/ 설치가 잘되어서 위에 경로에서 가져옴. 서론 기존의 Redhat 계열의 리눅스 서버 운영체제를 Ubuntu 서버로 운영하기 위해서 여러가지 서비스를 새롭게..
dudaji.tistory.com
깔고나서 환경변수 설정하고 리스너로 확인할 것(아래참고)
https://ssppmm.tistory.com/1589
[Linux] 오라클 리눅스서버 > 연동 < 윈도우 클라이언트 테스트
오라클 연동 테스트도.. 오라클 설치만큼이나 짜증나고 힘든 작업이였습니다.. 오라클이 제대로 설치됐음에도.. 연동이 안되서.. 짜증나서 지운적이 한두번이 아니죠;.. 우분투, 페도라도 마찬가지지만.. 이렇게....
ssppmm.tistory.com
### Cause: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
이런 오류가 나와서 한참 구글링했음
처리한 내용은
1) aws 보안그룹에 1521 포트 추가하기
2) oracle 관련 프로세스 강제종료 후 다시 시작
- oracle 리스너 재시작(시작전에 환경변수 설정해주었는지 확인)
- 환경변수 설정
- vim ~/.bashrc
- export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
export ORACLE_SID=XE
export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`
export ORACLE_BASE=/u01/app/oracle export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH export PATH=$ORACLE_HOME/bin:$PATH
- export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
- source ~/.bashrc
- lsnrctl status 리스너 상태확인
- lsnrctl stop 리스너 중지
- lsnrctl start 리스너 시작
- vim ~/.bashrc
- netstat -tnlp 로 포트 1521와 오라클관련 프로세스 PID 검색
- 아래 두개와 톰캣을 계속 껐다켰다하였음(kill -9 PID)
- 환경변수 설정
몇번을 지웠다 깔았다 했다...
'aws' 카테고리의 다른 글
[AWS] EC2 Oracle 설치과정 (0) | 2020.07.01 |
---|---|
[aws] EC2 인스턴스 중지 (0) | 2020.04.25 |
AWS Webservice[EC2] 정리 (0) | 2020.03.08 |
cloud computing (0) | 2020.03.08 |
[AWS] EC2 no space left on device 해결과정 (0) | 2020.03.02 |
- Total
- Today
- Yesterday
- 동적프로그래밍
- 병행프로세스
- C
- 클래스
- 재귀함수
- stackframe
- Stack
- 알고리즘
- 최단경로
- BFS
- Java
- javascript
- 자료구조
- 구조체
- 세마포어
- 스텍
- client side rendering
- 배열
- 인접행렬
- C++
- 이진탐색
- 소프트웨어
- 운영체제
- react
- 인접리스트
- server side rendering
- 입출력장치
- dfs
- 퀵정렬
- 교착상태
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |