SolarisデでJava(Seasar2)を動かすと10倍くらい時間がかかるとの
ことで、その調査。
#!/bin/bash
export JAVA_HOME=/usr/jdk/instances/jdk1.6.0/jre
export ORACLE_BASE=/opt/oracle/database
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0
export LANG=ja_JP.UTF-8
export NLS_LANG=japanese_japan.AL32UTF8
export PATH=/bin:/usr/bin:/usr/ccs/bin:.:/usr/sbin:${ORACLE_HOME}/bin:${JAVA_HOME}/bin
#${HOME}/appserver/bin
export ORACLE_TERM= vt100
export LD_LIBRARY_PATH=/usr/lib
export CONNECTION_FACTORY_PROPERTIES=QueueManager=PlaceAgent01,HostName=*.*.*.*,Port=1616,TransportType=1,CCSID=943
export COMET_HOME=/sbclocal/comet/services
export BAT_HOME=/sbclocal/comet/services/batch
export ORACLE_COMET_USER=UBSCMT02
export ORACLE_COMET_PASSWORD=UBSCMT02
export ORACLE_URL=jdbc:oracle:thin:@*.*.*.*:1521:COMET3
export ORACLE_UBS_USER=UBSCFIF02
export ORACLE_UBS_PASSWORD=******
#java -client -jar Batch-Deb.jar
#$JAVA_HOME/bin/java -client -Xms512m -Xmn256m -Xmx512m -XX:ThreadStackSize=128 -XX:PermSize=64m -XX:MaxPermSize=128m -XX:+UseCompilerSafepoints -XX:+UseOnStackReplacement -Xprof -Xbatch -verbose:gc -jar Batch-Deb.jar
#$JAVA_HOME/bin/java -client -Xms256m -Xmx512m -Xprof -jar Batch-Deb.jar
0 件のコメント:
コメントを投稿