Sha256: 305c536db7c1813d43c01e5fba5d978d6a9e89b8aed2d07ec543a71709739abc
Contents?: true
Size: 1.75 KB
Versions: 2
Compression:
Stored size: 1.75 KB
Contents
@echo off rem ------------------------------------------------------------------------- rem JBoss Diagnostic Report (JDR) Script for Windows rem ------------------------------------------------------------------------- rem rem This script creates a JDR report containing useful information for rem diagnosing problems with the application server. The report consists rem of a zip file containing log files, configuration, a list of all files rem in the distribution and, if available, runtime metrics. rem $Id$ @if not "%ECHO%" == "" echo %ECHO% @if "%OS%" == "Windows_NT" setlocal if "%OS%" == "Windows_NT" ( set "DIRNAME=%~dp0%" ) else ( set DIRNAME=.\ ) pushd %DIRNAME%..\.. if "x%JBOSS_HOME%" == "x" ( set "JBOSS_HOME=%CD%" ) popd set DIRNAME= if "%OS%" == "Windows_NT" ( set "PROGNAME=%~nx0%" ) else ( set "PROGNAME=jdr.bat" ) rem Setup JBoss specific properties if "x%JAVA_HOME%" == "x" ( set JAVA=java echo JAVA_HOME is not set. Unexpected results may occur. echo Set JAVA_HOME to the directory of your local JDK to avoid this message. ) else ( set "JAVA=%JAVA_HOME%\bin\java" ) rem Find jboss-modules.jar, or we can't continue if exist "%JBOSS_HOME%\jboss-modules.jar" ( set "RUNJAR=%JBOSS_HOME%\jboss-modules.jar" ) else ( echo Could not locate "%JBOSS_HOME%\jboss-modules.jar". echo Please check that you are in the bin directory when running this script. goto END ) rem Setup JBoss specific properties rem Setup the java endorsed dirs set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed rem Set default module root paths if "x%MODULEPATH%" == "x" ( set "MODULEPATH=%JBOSS_HOME%\modules" ) "%JAVA%" ^ -jar "%JBOSS_HOME%\jboss-modules.jar" ^ -mp "%MODULEPATH%" ^ org.jboss.as.jdr ^ -Djboss.home.dir="%JBOSS_HOME%" ^ %*
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
torquebox-server-2.0.0.beta2-java | jboss/bin/util/jdr.bat |
torquebox-server-2.0.0.beta1-java | jboss/bin/util/jdr.bat |