티스토리 뷰
JNDI(Java Naming and Directory Interface) 연동 관련
공통
WEB-INF/web.xml에 Resource 설정
app/rbt3/prod/rps-plus/cfg 권한 설정
jetty
WEB-INF/jetty-env.xml 추가
실행시 옵션
java -jar start.jar -Xmx2900m -Drbt3-rps.rbtType=audio -Dlog4j.configuration=/app/rbt3/prod/rps-plus/cfg/rps-log4j.properties -Dlogbase=/app/rbt3/prod/rps-plus/logs
tomee
META-INF/context.xml 추가
WEB-INF/web.xml
sun관련 servlet 삭제
JAX-WS관련 라이브러리 삭제
persistence.xml 삭제
ds = (javax.sql.DataSource) ctx.lookup("java:/comp/env/jdbc/rpsPlus"); lookup 변경
bin/startup.sh -Xmx2900m -Drbt3-rps.rbtType=audio -Dlog4j.configuration=/app/rbt3/prod/rps-plus/cfg/rps-log4j.properties -Dlogbase=/app/rbt3/prod/rps-plus/logs
wildfly
bin/standalone.sh
jboss-cli.sh --connect command=:shutdown
JNDI postgre jar 모듈 추가
persistence.xml 삭제
ds = (javax.sql.DataSource) ctx.lookup("java:/rpsPlus"); lookup 변경
standalone/configuration/standalone.xml JAVA_OPTS 추가
-Xmx2900m -Drbt3-rps.rbtType=audio -Dlog4j.configuration=/app/rbt3/prod/rps-plus/cfg/rps-log4j.properties -Dlogbase=/app/rbt3/prod/rps-plus/logs
glassfish jvm opt
create-jvm-options -Xmx2900m:-Drbt3-rps.rbtType=audio:-Dlog4j.configuration=/app/rbt3/prod/rps-plus/cfg/rps-log4j.properties:-Dlogbase=/app/rbt3/prod/rps-plus/logs
'Study' 카테고리의 다른 글
Linux(리눅스) WAS(Web Application Server) 실행시 에러 관련 (0) | 2023.01.03 |
---|---|
Wildfly(와일드플라이) 관련 (0) | 2023.01.03 |
Glassfish(글래스피시) 관련 (0) | 2023.01.01 |
Glassfish(글래스피시) domain(도메인) 추가 (0) | 2023.01.01 |
Java(자바) JSP Oracle(오라클) Date 연동 (0) | 2022.12.30 |