Simplify app to certificate recognition and MfApi restart only.
Remove XApi, WinRM, LocalCmd, HTTP API, TLS probe, SQL deploy model, and deploy UI. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
@echo off
|
||||
REM Prueft ob JMSConnectorAddress mit den Sonic-Client-JARs ladbar ist.
|
||||
set LIB=C:\DEV\MQ10.0\lib
|
||||
set JAVA=C:\Program Files (x86)\Java\jre1.8.0_501\bin\java.exe
|
||||
|
||||
if not exist "%JAVA%" (
|
||||
echo Java nicht gefunden: %JAVA%
|
||||
exit /b 1
|
||||
)
|
||||
if not exist "%LIB%\mfcontext.jar" (
|
||||
echo mfcontext.jar fehlt unter %LIB%
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
set CP=%LIB%\mgmt_client.jar;%LIB%\mgmt_config.jar;%LIB%\sonic_mgmt_client.jar;%LIB%\mfcontext.jar;%LIB%\sonic_Client.jar;%LIB%\sonic_Client_ext.jar
|
||||
|
||||
echo Java: %JAVA%
|
||||
echo CP: %CP%
|
||||
echo.
|
||||
|
||||
"%JAVA%" -cp "%CP%" -version
|
||||
echo.
|
||||
|
||||
"%JAVA%" -cp "%CP%" com.sonicsw.mf.jmx.client.JMSConnectorAddress 2>&1
|
||||
echo ExitCode=%ERRORLEVEL%
|
||||
echo.
|
||||
echo Erwartet: oft "main method" / NoSuchMethodError ODER Usage - Hauptsache KEIN ClassNotFoundException.
|
||||
exit /b 0
|
||||
Reference in New Issue
Block a user