[3]. WEB/WAS Server 구성 - 5. eclipse 개발 환경 구축
(1). Preferences > Server > Runtime Environments
(2). Preferences > Server > Runtime Environments > Default Classpath Entries
(3). Edit Server Runtime Environment
(4). Eclipse Jboss Tool 환경 설정
1. jboss 설정 Open
2. Open launch configuration
3. Program arguments
-mp "D:\MyWork\MyProgram\jboss-EAP-7.1.0\modules" -jaxpmodule javax.xml.jaxp-provider -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -b 0.0.0.0 --server-config=standalone.xml -Djboss.server.base.dir=D:\MyWork\MyProgram\jboss-EAP-7.1.0\standalone -Djboss.bind.address.management=0.0.0.0 -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.IterableTimedVFSCache -Djboss.vfs.cache.TimedPolicyCaching.lifetime=1440
- jboss Home(vfs) : D:\MyWork\MyProgram\jboss-EAP-7.1.0\standalone\tmp\vfs
- vfs caching 옵션 조정 : jboss build deploy를 하게 되면 /tmp/vfs에 build데이터가 쌓이고 디스크 용량이 계속 증가한다(임시 파일을 제거 하는 정책 옵션이다.)
-Djboss.vfs.cache
=org.jboss.virtual.plugins.cache.IterableTimedVFSCache
-Djboss.vfs.cache.TimedPolicyCaching.lifetime
=1440
- jboss 설정
-jaxpmodule javax.xml.jaxp-provider
-jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone
-b 0.0.0.0 --server-config=standalone.xml
-Djboss.server.base.dir=D:\MyWork\MyProgram\jboss-EAP-7.1.0\standalone
-Djboss.bind.address.management=0.0.0.0
-> 0.0.0.0 은 모든 IP에 접속을 허용 하는 의미
4. VM arguments
"-Dprogram.name=JBossTools: JBoss AS 7.1-[EAP 7.1]" -server -Xms1024m -Xmx2048m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman,scouter -Djava.awt.headless=true "-Dorg.jboss.boot.log.file=D:\MyWork\MyProgram\jboss-EAP-7.1.0\standalone\log\boot.log" "-Dlogging.configuration=file:D:\MyWork\MyProgram\jboss-EAP-7.1.0\standalone\configuration\logging.properties" "-Djboss.home.dir=D:\MyWork\MyProgram\jboss-EAP-7.1.0" -Djboss.bind.address.management=0.0.0.0 -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.IterableTimedVFSCache -Djboss.vfs.cache.TimedPolicyCaching.lifetime=1440 -javaagent:"D:\MyWork\MyProgram\scouter\agent.java\scouter.agent.jar" -Dscouter.config="D:\MyWork\MyProgram\scouter\agent.java\conf\scouter-NodeDeve.conf"
- 모메리 설정
-server -Xms1024m -Xmx2048m -XX:MaxPermSize=256m
- Jboss 설정
-Djava.awt.headless=true
"-Dorg.jboss.boot.log.file=D:\MyWork\MyProgram\jboss-EAP-7.1.0\standalone\log\boot.log"
"-Dlogging.configuration=file:D:\MyWork\MyProgram\jboss-EAP-7.1.0\standalone\configuration\logging.properties"
"-Djboss.home.dir=D:\MyWork\MyProgram\jboss-EAP-7.1.0"
-Djboss.bind.address.management=0.0.0.0
- Scouter 설정 (필요시)
-Djboss.modules.system.pkgs=org.jboss.byteman,scouter
-javaagent:"D:\MyWork\MyProgram\scouter\agent.java\scouter.agent.jar"
-Dscouter.config="D:\MyWork\MyProgram\scouter\agent.java\conf\scouter-NodeDeve.conf"