반응형
JBoss에서 Spring Boot로 프로젝트를 할 경우
서버의 운영 환경 (개발, 테스트, 운영,.._) 에 맞게 설정 파일이 바뀌어야 할 경우가 있는데
WAS의 System proerties에 application.properties 파일의 경로를 지정하면
문제가 해결이 된다.
JBoss Standalone 환경에서는
WAS 설치 경로 >> standalone >> configuration >> standalone.xml 파일의
<extension>
</extension>
tag 바로 아래에
<system-properites>
<property name="spring.config.location" value="/your_path/application.properties" />
</system-properites>
를 추가하면 된다.
반응형
'개발하면서' 카테고리의 다른 글
eclipse lombok 설치 (0) | 2021.04.30 |
---|---|
eclipse spring starter project not found (0) | 2021.04.28 |
ActiveMQ Origin null is not allowed to call this agent status 403 (0) | 2020.08.07 |
Redmine Excel을 이용한 일감 대량 등록 방법 (0) | 2020.08.07 |
Can't find common super class of [com/google/android/gms/internal/zzko] (with 1 known super classes) and [android/os/RemoteException] (with 5 known super classes) (0) | 2019.04.02 |