티스토리 뷰

반응형

 

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

 

반응형
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
글 보관함