개발 환경 및 오류72 AWS RDS DB인스턴스에 JDBC 연결 1. JDBC 다운로드 -> 웹 어플리케이션 WEB-INF/lib 파일로 복사2. DB 인스턴스의 Security Group의 DB 포트 열기 (Sourse의 IP와 포트번호 중요)3. sample code for a JDBC connector for mysql:String url = "jdbc:mysql://EndPoint/"; String userName = "your_user_name"; String password = "your_password"; String dbName = "your_db_name"; Connection connection = DriverManager.getConnection(url + dbName, userName, password); 2017. 1. 9. tomcat startup.sh 혹은 shutdown.sh: command not found 오류 ./shutdown.sh: command not found ./startup.sh: command not found 해결sudo chmod +x /톰캣위치/bin/*.sh 2017. 1. 9. 이클립스 톰캣 오류 the tomcat server configuration at servers... 오류the tomcat server configuration at servers tomcat v9.0 server at localhost-config is missing .. 해결1. 이클립스 실행 후 아래 server창에서 Tomcat v9.0 Server at localhost 오른쪽 클릭 -> 삭제 ->이클립스 재실행2. Window -> Preferences -> server에서 Tomcat v9.0 삭제 후 다시 추가 2017. 1. 9. SFTP로 AWS EC2 접속 1. FileSilla 설치 (로컬 PC-클라이언트)다운로드 링크 2. VPC 콘솔에서 해당 EC2 보안 그룹의 22번 포트 오픈 ▷SSH , SFTP = 22번 포트▷FTP = 21번 포트 3. FileZilla 실행 -> 편집 -> 설정 4. 연결 -> STFP -> EC2의 .pem 파일 추가 -> 확인( .pem 파일을 .ppk 포맷으로 변환했다면 .ppk 파일 추가 ) 5. 연결 정보 입력 6. .ppk key pair의 비밀번호 입력 후 연결 완료 2017. 1. 8. 이전 1 ··· 9 10 11 12 13 14 15 ··· 18 다음 반응형