2010. 9. 29. 18:09
install_service.bat
@set TARGET_APP=batch.weather.Launcher
@set JVM_PATH="C:\Program Files\Java\jdk1.6.0_21\jre\bin\client\jvm.dll"
@set DIST_HOME="D:\star_map\dist"
@set OUT_LOG="D:\star_map\log\stdout.log"
@set ERR_LOG="D:\star_map\log\stderr.log"
@set JSEXE="D:\star_map\JavaService-2.0.10\JavaService.exe"
@set CLASSPATH="D:\star_map\dist\lib\Altibase.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\aspectjweaver.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\commons-collections.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\commons-configuration-1.2.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\commons-dbcp.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\commons-lang-2.1.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\commons-logging.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\commons-pool.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\hoon.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\hsqldb.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\ibatis-2.3.4.726-hoon.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\log4j-1.2.13.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\msbase.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\mssqlserver.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\msutil.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\mysql-connector-java-3.1.13-bin.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\ojdbc14.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\quartz-1.5.2.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\spring.jar";%CLASSPATH%
@%JSEXE% -install WEATHER_SERVICE %JVM_PATH% -Djava.class.path=%CLASSPATH% -Xms64M -Xmx512M -start %TARGET_APP% -out %OUT_LOG% -err %ERR_LOG% -current %DIST_HOME% -description "Weather batch service"
@set JVM_PATH="C:\Program Files\Java\jdk1.6.0_21\jre\bin\client\jvm.dll"
@set DIST_HOME="D:\star_map\dist"
@set OUT_LOG="D:\star_map\log\stdout.log"
@set ERR_LOG="D:\star_map\log\stderr.log"
@set JSEXE="D:\star_map\JavaService-2.0.10\JavaService.exe"
@set CLASSPATH="D:\star_map\dist\lib\Altibase.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\aspectjweaver.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\commons-collections.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\commons-configuration-1.2.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\commons-dbcp.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\commons-lang-2.1.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\commons-logging.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\commons-pool.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\hoon.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\hsqldb.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\ibatis-2.3.4.726-hoon.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\log4j-1.2.13.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\msbase.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\mssqlserver.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\msutil.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\mysql-connector-java-3.1.13-bin.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\ojdbc14.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\quartz-1.5.2.jar";%CLASSPATH%
@set CLASSPATH="D:\star_map\dist\lib\spring.jar";%CLASSPATH%
@%JSEXE% -install WEATHER_SERVICE %JVM_PATH% -Djava.class.path=%CLASSPATH% -Xms64M -Xmx512M -start %TARGET_APP% -out %OUT_LOG% -err %ERR_LOG% -current %DIST_HOME% -description "Weather batch service"
'java > etc' 카테고리의 다른 글
[AES] - 256bit 키를 인식하지 못할 때 사용하는 방법 (0) | 2011.11.30 |
---|---|
[etc] - 테스트 유형 (0) | 2010.12.21 |
[jar] - JAR에 대해 모르고 있던 5가지 사항(??) (0) | 2010.08.31 |
[etc] - java 64bit 에서 개발?? (0) | 2010.08.04 |
[java] - 예제 코드 많은 사이트 (0) | 2010.06.30 |