conf/application.conf 파일의 jpda.port 를 지정해야 특정 포트에서 jpda.port에서 실행할 수 있다. command line에서 properties 등록으로는 jpda.port 변경이 되지 않는다.
jpda.port=8010
디폴트 혹은 설정된 jpda port값을 지정했다 하더라도.. play run 이용하면서 비어있는 포트로 변경될 수 있다.
Listening for transport dt_socket at address: 54489
play 실행시 python 데몬과 java 데몬 두개가 뜨는데. shutdown, startup 하면서 port 이슈를 최대한 적게 하려는 시도(??) 가 아니었을까 하는 생각이 들었다.
$ ps -ef | grep play
501 72458 9133 0 12:00PM ttys002 0:00.10 python /mydev/util/story-play-1.2.5.3/play run
501 72459 72458 0 12:00PM ttys002 0:02.00 /usr/bin/java -javaagent:/mydev/util/story-play-1.2.5.3/
자세한 정보는 document에 있다.
~ If the application is in DEV mode, a JPDA session is automatically opened on the port specified by the
~ conf/application.conf file's jpda.port property (defaulting to 8000). If the JPDA port is already in use,
~ another available port is automatically chosen.
~
~ Options:
~ ~~~~~~~~~
~ -f:
~ Disable the JPDA port checking and force the jpda.port value.
'scribbling' 카테고리의 다른 글
Facebook 의 share feed 묶음 (aggregate) - 링크 (0) | 2014.09.26 |
---|---|
Legacy 테스트 환경 구축 (부제 - ansible을 공부하게 된 배경) (1) | 2014.09.21 |
[play] 예제(샘플) 이용하기 (0) | 2014.09.15 |
arcus 를 mac에 설치하기 (테스트 환경) (0) | 2014.09.11 |
[docker] mac os에서 vagrant 이미지 없이 docker 사용하기 - boot2docker (0) | 2014.09.03 |