본문 바로가기

Cloud Platform/Google Cloud Platform

[google app engine] java.lang.management.ManagementFactory is a restricted class google app engine 에서 다음 오류 발생java.lang.management.ManagementFactory is a restricted class 아래주소에서 해결책 참고https://stackoverflow.com/questions/16979283/problems-with-using-log4j-2-in-gae appengine-web.xml 에 다음을 추가
.gitignore 파일 자동완성 사이트 https://www.gitignore.io/ 해당 검색어를 검색해서 조합하면 자동완성된 .gitignore 파일이 나온다. google app engine 프로젝트 진행중일 경우java,maven,eclipse,appengine 으로 검색해서 진행했음.
google app engine + jrebel 여러가지 방법이 있다고 하지만 대부분 잘 안됨.. STS(Eclipse) 가 먹통이 된다던지.. 컨테이너가 제대로 종료 되지 않는다던지..현재까지는(2017.11) Run Configurations.. 에는 제대로 적용이 않됨. 컨테이너 종료하면 정상 종료가 안되고 좀비 프로세스가 남아있다hot deploy 도 정상적으로 안되고.. 그런데 Debug Configurations.. 설정하고 Debug As -> App Engine 하면hot deploy 도 정상적으로 되고, 컨테이너 종료도 잘된다 ^^ 아래 설정을 Run 과 Debug 모두 동일하게 하고 사용해 보시길... 설정1.1. 아래 주소에서 말하는 내용은 jrebel 버전이 7이상이면 -agentpath:C:/JRebel/lib/jrebel64...
App Engine + Cloud SQL 설정 https://cloud.google.com/appengine/docs/standard/java/cloud-sql/#Java_Connect_to_your_database App Engine 과 같은 계정의 Cloud SQL 및 상호 다른 계정의 연결에 대한 설정
Google App Engine vs Google Compute Engine Google App Engine 과 Google Compute Engine 의 차이점은 무엇인가? Google App Engine 은 PaaS (Platform as a Service) - 정해진 개발환경에 따라서 개발을 해라Google Compute Engine 은 IaaS (Infrastructure as a Service) - 개발환경 세팅 도 하고 개발도 해라 http://stackoverflow.com/questions/22697049/what-is-the-difference-between-google-app-engine-and-google-compute-engine 더 필요한 내용은 진행중...
app.yml vs appengine-web.xml vs web.xml https://www.clear.rice.edu/comp405/s14/lectures/gae/gae_project.html app.yml 은 appengine-web.xml 과 web.xml 을 변환해서 자동 생성된 파일 이란다.이클립스에서는 자동으로 변환이 안된다고 한다.더 자세한 사항은 다음에... ㅡㅡ;
Google App Engine + Cron (Spring Scheduler) Google App Engine 에서는 Spring Scheduler 를 지원하지 않았다. 에러 내용을 남기지 못했는데스레드를 생성할 권한이 없다는 취지의 에러 였다.Google App Engine 은 파일 시스템 액세스나 스레드 관련해서는 허용 하지 않는다.대신에 대처할 수 있는 여러 서비스가 존재 한다.Google Cloud Platform 의 하위 서비스로 Google App Engine 과 Cloud SQL 이 존재 하듯이Google Cloud Platform 문서 나 구글 검색을 해보면 답을 얻을 수 있다.따라서, Spring Scheduler 를 대신 하기 위해서는 아래의 문서를 참조 할것. https://cloud.google.com/appengine/docs/flexible/java/sch..
Maven + App Engine Plugin 사용하기 앱엔진 을 이용해서 개발서버 올리기 및 실서비스 배포 를 하다보면 Maven 명령이 상이한 경우 있다이는 Maven 명령시 어느 플러그인을 사용하느냐에 따라 다른것이다. http://stackoverflow.com/questions/41511432/could-not-find-goal-run-in-plugin-com-google-appengineappengine-maven-plugin 위 URL 의 답변에 보면 잘 나와 있다. 답변 중에 링크 걸려 있는 스레드도 읽어 보면 많은 도움이 된다. Google App Engine 문서에 따르면 App Engine Maven 명령어는 두가지 플러그인으로 다룰 수 있다고 나온다. 1. appcfg2. Cloud SDK 1. appcfg 플러그인 을 사용할때https..