echo off

call %~dp0\init.bat

call %CATALINA_HOME%\bin\shutdown.bat

set REALM_DRIVER=com.mysql.jdbc.Driver
rem set REALM_URL=jdbc:mysql://localhost/DBGF?useUnicode=true&characterEncoding=utf8
set REALM_URL=jdbc:mysql://localhost/DBGF?useUnicode=true&characterEncoding=utf8&socketFactory=com.mysql.jdbc.NamedPipeSocketFactory
set REALM_NAME=GF
set REALM_PASSWORD=GF

call %~dp0\const.bat

call %CATALINA_HOME%\bin\startup.bat
