move branch adempire311 to trunk

This commit is contained in:
vpj-cd 2006-11-17 03:10:18 +00:00
parent 314c468aa0
commit 36ed08f4ec
188 changed files with 18190 additions and 0 deletions

12
jboss/.classpath Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry exported="true" kind="lib" path="client/jboss-client.jar"/>
<classpathentry exported="true" kind="lib" path="client/jboss-common-client.jar"/>
<classpathentry exported="true" kind="lib" path="client/jboss-j2ee.jar"/>
<classpathentry exported="true" kind="lib" path="client/jbosssx-client.jar"/>
<classpathentry exported="true" kind="lib" path="client/jboss-transaction-client.jar"/>
<classpathentry exported="true" sourcepath="C:/Sources/jboss-4.0.2-src/naming/src/main" kind="lib" path="client/jnp-client.jar"/>
<classpathentry exported="true" kind="lib" path="client/jmx-invoker-adaptor-client.jar"/>
<classpathentry kind="output" path="lib"/>
</classpath>

17
jboss/.project Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>jboss</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

193
jboss/bin/classpath.sh Normal file
View File

@ -0,0 +1,193 @@
#!/bin/sh
### ====================================================================== ###
## ##
## A tool to determine JBoss classpaths. ##
## ##
### ====================================================================== ###
### $Id: classpath.sh,v 1.3 2005/09/04 17:52:33 jjanke Exp $ ###
DIRNAME=`dirname $0`
PROGNAME=`basename $0`
CAT="cat"
#
# Helper to complain.
#
warn() {
echo "${PROGNAME}: $*"
}
#
# Helper to puke.
#
die() {
warn $*
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false;
darwin=false;
case "`uname`" in
CYGWIN*)
cygwin=true
;;
Darwin*)
darwin=true
;;
esac
#
# Print the command line help message.
#
printHelpMessage() {
$CAT <<EOF
usage: $PROGNAME [options] <classpath>
options:
-h, --help Print this help message.
-- Stop processing options.
-r, --relative Use relative paths.
classpath:
-c, --client Client classpath (client/*).
-s, --server Server classpath (lib/*).
-b, --both Both the client and server classpaths.
EOF
}
RELATIVE=false
#
# Process command line options.
#
processCommandLine() {
while [ "x$1" != "x" ]; do
case "$1" in
--help|-h)
printHelpMessage
exit 1
;;
--relative|-r)
RELATIVE=true
;;
--)
shift
if [ "x$argv" = "x" ]; then
argv="$1"
else
argv="$argv $1"
fi
break
;;
*)
if [ "x$argv" = "x" ]; then
argv="$1"
else
argv="$argv $1"
fi
;;
esac
shift
done
}
if [ -n "$CLASSPATH" ] ; then
LOCALCLASSPATH=$CLASSPATH
fi
#
# Print the class path for the given type.
#
printClassPath() {
#
# jason: should be fixed to only include proper classpath bits
#
case "$1" in
-c|--client)
DIRLIBS="`ls $JBOSS_HOME/client/*`:$JBOSS_HOME/client"
;;
-s|--server)
DIRLIBS=`ls $JBOSS_HOME/lib/*`
;;
-b|--both)
DIRLIBS="`ls $JBOSS_HOME/client/*`:$JBOSS_HOME/client"
DIRLIBS="${DIRLIBS}:`ls $JBOSS_HOME/lib/*`"
;;
*)
printHelpMessage
exit 0
;;
esac
for i in ${DIRLIBS}; do
if [ "$i" != "${DIRLIBS}" ] ; then
if [ -z "$LOCALCLASSPATH" ] ; then
LOCALCLASSPATH=$i
else
LOCALCLASSPATH="$i":$LOCALCLASSPATH
fi
fi
done
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"`
fi
echo $LOCALCLASSPATH
}
#
# Main entry-point.
#
main() {
argv=""
# process the command line
processCommandLine "$@"
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$JBOSS_HOME" ] &&
JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$JAVAC_JAR" ] &&
JAVAC_JAR=`cygpath --unix "$JAVAC_JAR"`
fi
# Setup JBOSS_HOME
if [ "x$JBOSS_HOME" = "x" ]; then
if $RELATIVE ; then
JBOSS_HOME="$DIRNAME/.."
else
# get the full path (without any relative bits)
JBOSS_HOME=`cd $DIRNAME/..; pwd`
fi
fi
if [ "x$argv" = "x" ]; then
printHelpMessage
exit 0
fi
printClassPath $argv
}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# Boot-strap
#
main "$@"

60
jboss/bin/deployer.bat Normal file
View File

@ -0,0 +1,60 @@
@echo off
rem -------------------------------------------------------------------------
rem JBoss Bootstrap Script for Win32
rem -------------------------------------------------------------------------
rem $Id: deployer.bat,v 1.3 2005/09/04 17:52:33 jjanke Exp $
@if not "%ECHO%" == "" echo %ECHO%
@if "%OS%" == "Windows_NT" setlocal
set DIRNAME=.\
if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
set PROGNAME=run.bat
if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
rem Read all command line arguments
set ARGS=
:loop
if [%1] == [] goto endloop
set ARGS=%ARGS% %1
shift
goto loop
:endloop
rem Find run.jar, or we can't continue
set RUNJAR=%DIRNAME%\deployer.jar
if exist "%RUNJAR%" goto FOUND_RUN_JAR
echo Could not locate %RUNJAR%. Please check that you are in the
echo bin directory when running this script.
goto END
:FOUND_RUN_JAR
if not "%JAVA_HOME%" == "" goto ADD_TOOLS
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.
goto SKIP_TOOLS
:ADD_TOOLS
set JAVA=%JAVA_HOME%\bin\java
rem Setup JBoss sepecific properties
set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%
set JBOSS_HOME=%DIRNAME%\..
rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.
rem set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
"%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" org.jboss.jmx.service.RemoteDeployer %ARGS%
:END
if "%NOPAUSE%" == "" pause
:END_NO_PAUSE

105
jboss/bin/deployer.sh Normal file
View File

@ -0,0 +1,105 @@
#!/bin/sh
### ====================================================================== ###
## ##
## JBoss Bootstrap Script ##
## ##
### ====================================================================== ###
### $Id: deployer.sh,v 1.3 2005/09/04 17:52:33 jjanke Exp $ ###
DIRNAME=`dirname $0`
PROGNAME=`basename $0`
GREP="grep"
#
# Helper to complain.
#
warn() {
echo "${PROGNAME}: $*"
}
#
# Helper to puke.
#
die() {
warn $*
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false;
darwin=false;
case "`uname`" in
CYGWIN*)
cygwin=true
;;
Darwin*)
darwin=true
;;
esac
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$JBOSS_HOME" ] &&
JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$JAVAC_JAR" ] &&
JAVAC_JAR=`cygpath --unix "$JAVAC_JAR"`
fi
# Setup JBOSS_HOME
if [ "x$JBOSS_HOME" = "x" ]; then
# get the full path (without any relative bits)
JBOSS_HOME=`cd $DIRNAME/..; pwd`
fi
export JBOSS_HOME
# Setup the JVM
if [ "x$JAVA_HOME" != "x" ]; then
JAVA="$JAVA_HOME/bin/java"
else
JAVA="java"
fi
# Setup the classpath
programjar="$JBOSS_HOME/bin/deployer.jar"
if [ ! -f $programjar ]; then
die "Missing required file: $programjar"
fi
JBOSS_BOOT_CLASSPATH="$programjar"
if [ "x$JBOSS_CLASSPATH" = "x" ]; then
JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR"
else
JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR"
fi
# Check for SUN(tm) JVM w/ HotSpot support
if [ "x$HAS_HOTSPOT" = "x" ]; then
HAS_HOTSPOT=`$JAVA -version 2>&1 | $GREP HotSpot`
fi
# If JAVA_OPTS is not set and the JVM is HOTSPOT enabled, then the server mode
if [ "x$JAVA_OPTS" = "x" -a "x$HAS_HOTSPOT" != "x" ]; then
# MacOS does not support -server flag
if [ "$darwin" != "true" ]; then
JAVA_OPTS="-server"
fi
fi
# Setup JBoss sepecific properties
JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME"
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"`
fi
# Execute the JVM
exec $JAVA $JAVA_OPTS \
-classpath "$JBOSS_CLASSPATH" \
org.jboss.jmx.service.RemoteDeployer "$@"

View File

@ -0,0 +1,100 @@
#!/bin/sh
#
# JBoss Control Script
#
# chkconfig: 3 80 20
# description: JBoss EJB Container
#
# To use this script
# run it as root - it will switch to the specified user
# It loses all console output - use the log.
#
# Here is a little (and extremely primitive)
# startup/shutdown script for RedHat systems. It assumes
# that JBoss lives in /usr/local/jboss, it's run by user
# 'jboss' and JDK binaries are in /usr/local/jdk/bin. All
# this can be changed in the script itself.
# Bojan
#
# Either amend this script for your requirements
# or just ensure that the following variables are set correctly
# before calling the script
# [ #420297 ] JBoss startup/shutdown for RedHat
#define where jboss is - this is the directory containing directories log, bin, conf etc
JBOSS_HOME=${JBOSS_HOME:-"/usr/local/jboss"}
#make java is on your path
JAVAPTH=${JAVAPTH:-"/usr/local/jdk/bin"}
#define the classpath for the shutdown class
JBOSSCP=${JBOSSCP:-"$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"}
#define the script to use to start jboss
JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c all"}
if [ -n "$JBOSS_CONSOLE" -a ! -d "$JBOSS_CONSOLE" ]; then
# ensure the file exists
touch $JBOSS_CONSOLE
fi
if [ -n "$JBOSS_CONSOLE" -a ! -f "$JBOSS_CONSOLE" ]; then
echo "WARNING: location for saving console log invalid: $JBOSS_CONSOLE"
echo "WARNING: ignoring it and using /dev/null"
JBOSS_CONSOLE="/dev/null"
fi
#define what will be done with the console log
JBOSS_CONSOLE=${JBOSS_CONSOLE:-"/dev/null"}
#define the user under which jboss will run, or use RUNASIS to run as the current user
JBOSSUS=${JBOSSUS:-"jboss"}
CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH"
CMD_STOP="java -classpath $JBOSSCP org.jboss.Shutdown --shutdown"
if [ "$JBOSSUS" = "RUNASIS" ]; then
SUBIT=""
else
SUBIT="su - $JBOSSUS -c "
fi
if [ -z "`echo $PATH | grep $JAVAPTH`" ]; then
export PATH=$PATH:$JAVAPTH
fi
if [ ! -d "$JBOSS_HOME" ]; then
echo JBOSS_HOME does not exist as a valid directory : $JBOSS_HOME
exit 1
fi
echo CMD_START = $CMD_START
case "$1" in
start)
cd $JBOSS_HOME/bin
if [ -z "$SUBIT" ]; then
eval $CMD_START >${JBOSS_CONSOLE} 2>&1 &
else
$SUBIT "$CMD_START >${JBOSS_CONSOLE} 2>&1 &"
fi
;;
stop)
if [ -z "$SUBIT" ]; then
$CMD_STOP
else
$SUBIT "$CMD_STOP"
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 (start|stop|restart|help)"
esac

View File

@ -0,0 +1,133 @@
#!/bin/sh
#
# JBoss Control Script
#
# To use this script
# run it as root - it will switch to the specified user
# It loses all console output - use the log.
#
# Here is a little (and extremely primitive)
# startup/shutdown script for SuSE systems. It assumes
# that JBoss lives in /usr/local/jboss, it's run by user
# 'jboss' and JDK binaries are in /usr/local/jdk/bin. All
# this can be changed in the script itself.
#
# Either amend this script for your requirements
# or just ensure that the following variables are set correctly
# before calling the script.
#
### BEGIN INIT INFO
# Provides: jboss
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: Start the JBoss application server.
### END INIT INFO
#define where jboss is - this is the directory containing directories log, bin, conf etc
JBOSS_HOME=${JBOSS_HOME:-"/opt/jboss"}
#make java is on your path
JAVAPTH=${JAVAPTH:-"/usr/java/j2sdk1.4.1/bin"}
#define the classpath for the shutdown class
JBOSSCP=${JBOSSCP:-"$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"}
#define the script to use to start jboss
JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c all"}
# Shell functions sourced from /etc/rc.status:
# rc_check check and set local and overall rc status
# rc_status check and set local and overall rc status
# rc_status -v ditto but be verbose in local rc status
# rc_status -v -r ditto and clear the local rc status
# rc_failed set local and overall rc status to failed
# rc_reset clear local rc status (overall remains)
# rc_exit exit appropriate to overall rc status
. /etc/rc.status
# First reset status of this service
rc_reset
# Return values acc. to LSB for all commands but status:
# 0 - success
# 1 - misc error
# 2 - invalid or excess args
# 3 - unimplemented feature (e.g. reload)
# 4 - insufficient privilege
# 5 - program not installed
# 6 - program not configured
#
# Note that starting an already running service, stopping
# or restarting a not-running service as well as the restart
# with force-reload (in case signalling is not supported) are
# considered a success.
if [ -n "$JBOSS_CONSOLE" -a ! -d "$JBOSS_CONSOLE" ]; then
# ensure the file exists
touch $JBOSS_CONSOLE
fi
if [ -n "$JBOSS_CONSOLE" -a ! -f "$JBOSS_CONSOLE" ]; then
echo "WARNING: location for saving console log invalid: $JBOSS_CONSOLE"
echo "WARNING: ignoring it and using /dev/null"
JBOSS_CONSOLE="/dev/null"
fi
#define what will be done with the console log
JBOSS_CONSOLE=${JBOSS_CONSOLE:-"/opt/jboss/log/jboss.log"}
#define the user under which jboss will run, or use RUNASIS to run as the current user
JBOSSUS=${JBOSSUS:-"jboss"}
CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH"
CMD_STOP="java -classpath $JBOSSCP org.jboss.Shutdown --shutdown"
if [ "$JBOSSUS" = "RUNASIS" ]; then
SUBIT=""
else
SUBIT="su - $JBOSSUS -c "
fi
if [ -z "`echo $PATH | grep $JAVAPTH`" ]; then
export PATH=$PATH:$JAVAPTH
fi
if [ ! -d "$JBOSS_HOME" ]; then
echo JBOSS_HOME does not exist as a valid directory : $JBOSS_HOME
exit 1
fi
case "$1" in
start)
echo -n "Starting JBoss application server: "
cd $JBOSS_HOME/bin
if [ -z "$SUBIT" ]; then
eval $CMD_START >${JBOSS_CONSOLE} 2>&1 &
else
$SUBIT "$CMD_START >${JBOSS_CONSOLE} 2>&1 &"
fi
# Remember status and be verbose
rc_status -v
;;
stop)
echo -n "Shutting down JBoss application server: "
if [ -z "$SUBIT" ]; then
$CMD_STOP
else
$SUBIT "$CMD_STOP"
fi
# Remember status and be verbose
rc_status -v
;;
restart)
$0 stop
$0 start
# Remember status and be quiet
rc_status
;;
*)
echo "usage: $0 (start|stop|restart|help)"
esac

107
jboss/bin/run.bat Normal file
View File

@ -0,0 +1,107 @@
@echo off
rem -------------------------------------------------------------------------
rem JBoss Bootstrap Script for Win32
rem -------------------------------------------------------------------------
rem $Id: run.bat,v 1.7 2005/09/04 17:52:33 jjanke Exp $
@if not "%ECHO%" == "" echo %ECHO%
@if "%OS%" == "Windows_NT" setlocal
set DIRNAME=.\
if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
set PROGNAME=run.bat
if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
rem Read all command line arguments
REM
REM The %ARGS% env variable commented out in favor of using %* to include
REM all args in java command line. See bug #840239. [jpl]
REM
REM set ARGS=
REM :loop
REM if [%1] == [] goto endloop
REM set ARGS=%ARGS% %1
REM shift
REM goto loop
REM :endloop
rem Find run.jar, or we can't continue
set RUNJAR=%DIRNAME%\run.jar
if exist "%RUNJAR%" goto FOUND_RUN_JAR
echo Could not locate %RUNJAR%. Please check that you are in the
echo bin directory when running this script.
goto END
:FOUND_RUN_JAR
if not "%JAVA_HOME%" == "" goto ADD_TOOLS
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.
goto SKIP_TOOLS
:ADD_TOOLS
set JAVA=%JAVA_HOME%\bin\java
if exist "%JAVA_HOME%\lib\tools.jar" goto SKIP_TOOLS
echo Could not locate %JAVA_HOME%\lib\tools.jar. Unexpected results may occur.
echo Make sure that JAVA_HOME points to a JDK and not a JRE.
:SKIP_TOOLS
rem Include the JDK javac compiler for JSP pages. The default is for a Sun JDK
rem compatible distribution to which JAVA_HOME points
set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar
rem If JBOSS_CLASSPATH is empty, don't include it, as this will
rem result in including the local directory, which makes error tracking
rem harder.
if "%JBOSS_CLASSPATH%" == "" (
set JBOSS_CLASSPATH=%JAVAC_JAR%;%RUNJAR%
) ELSE (
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%JAVAC_JAR%;%RUNJAR%
)
rem Setup JBoss specific properties
set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%
set JBOSS_HOME=%DIRNAME%\..
rem Sun JVM memory allocation pool parameters. Modify as appropriate.
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.
rem set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
rem Setup the java endorsed dirs
set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed
echo ===============================================================================
echo .
echo JBoss Bootstrap Environment
echo .
echo JBOSS_HOME: %JBOSS_HOME%
echo .
echo JAVA: %JAVA%
echo .
echo JAVA_OPTS: %JAVA_OPTS%
echo .
echo CLASSPATH: %JBOSS_CLASSPATH%
echo .
echo ===============================================================================
echo .
:RESTART
"%JAVA%" %JAVA_OPTS% "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%" -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %*
IF ERRORLEVEL 10 GOTO RESTART
:END
if "%NOPAUSE%" == "" pause
:END_NO_PAUSE

51
jboss/bin/run.conf Normal file
View File

@ -0,0 +1,51 @@
## -*- shell-script -*- ######################################################
## ##
## JBoss Bootstrap Script Configuration ##
## ##
##############################################################################
### $Id: run.conf,v 1.3 2005/09/04 17:52:33 jjanke Exp $
#
# This file is optional; it may be removed if not needed.
#
#
# Specify the maximum file descriptor limit, use "max" or "maximum" to use
# the default, as queried by the system.
#
# Defaults to "maximum"
#
#MAX_FD="maximum"
#
# Specify the profiler configuration file to load.
#
# Default is to not load profiler configuration file.
#
#PROFILER=""
#
# Specify the location of the Java home directory. If set then $JAVA will
# be defined to $JAVA_HOME/bin/java, else $JAVA will be "java".
#
#JAVA_HOME="/opt/java/jdk"
#
# Specify the exact Java VM executable to use.
#
#JAVA=""
#
# Specify options to pass to the Java VM.
#
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-server -Xms128m -Xmx128m"
fi
# Sample JPDA settings for remote socket debuging
#JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"
# Sample JPDA settings for shared memory debugging
#JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"

182
jboss/bin/run.sh Normal file
View File

@ -0,0 +1,182 @@
#!/bin/sh
### ====================================================================== ###
## ##
## JBoss Bootstrap Script ##
## ##
### ====================================================================== ###
### $Id: run.sh,v 1.6 2005/09/04 17:52:33 jjanke Exp $ ###
DIRNAME=`dirname $0`
PROGNAME=`basename $0`
GREP="grep"
# Use the maximum available, or set MAX_FD != -1 to use that
MAX_FD="maximum"
#
# Helper to complain.
#
warn() {
echo "${PROGNAME}: $*"
}
#
# Helper to puke.
#
die() {
warn $*
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false;
darwin=false;
case "`uname`" in
CYGWIN*)
cygwin=true
;;
Darwin*)
darwin=true
;;
esac
# Read an optional running configuration file
if [ "x$RUN_CONF" = "x" ]; then
RUN_CONF="$DIRNAME/run.conf"
fi
if [ -r "$RUN_CONF" ]; then
. "$RUN_CONF"
fi
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$JBOSS_HOME" ] &&
JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$JAVAC_JAR" ] &&
JAVAC_JAR=`cygpath --unix "$JAVAC_JAR"`
fi
# Setup JBOSS_HOME
if [ "x$JBOSS_HOME" = "x" ]; then
# get the full path (without any relative bits)
JBOSS_HOME=`cd $DIRNAME/..; pwd`
fi
export JBOSS_HOME
# Increase the maximum file descriptors if we can
if [ "$cygwin" = "false" ]; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ]; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
# use the system max
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ]; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# Setup the JVM
if [ "x$JAVA" = "x" ]; then
if [ "x$JAVA_HOME" != "x" ]; then
JAVA="$JAVA_HOME/bin/java"
else
JAVA="java"
fi
fi
# Setup the classpath
runjar="$JBOSS_HOME/bin/run.jar"
if [ ! -f "$runjar" ]; then
die "Missing required file: $runjar"
fi
JBOSS_BOOT_CLASSPATH="$runjar"
# Include the JDK javac compiler for JSP pages. The default is for a Sun JDK
# compatible distribution which JAVA_HOME points to
if [ "x$JAVAC_JAR" = "x" ]; then
JAVAC_JAR="$JAVA_HOME/lib/tools.jar"
fi
if [ ! -f "$JAVAC_JAR" ]; then
# MacOSX does not have a seperate tools.jar
if [ "$darwin" != "true" ]; then
warn "Missing file: $JAVAC_JAR"
warn "Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE."
fi
fi
if [ "x$JBOSS_CLASSPATH" = "x" ]; then
JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR"
else
JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR"
fi
# If JAVA_OPTS is not set try check for Hotspot
if [ "x$JAVA_OPTS" = "x" ]; then
# Check for SUN(tm) JVM w/ HotSpot support
if [ "x$HAS_HOTSPOT" = "x" ]; then
HAS_HOTSPOT=`$JAVA -version 2>&1 | $GREP -i HotSpot`
fi
# Enable -server if we have Hotspot, unless we can't
if [ "x$HAS_HOTSPOT" != "x" ]; then
# MacOS does not support -server flag
if [ "$darwin" != "true" ]; then
JAVA_OPTS="-server"
fi
fi
fi
# Setup JBoss sepecific properties
JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME"
# Setup the java endorsed dirs
JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed"
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"`
JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"`
fi
# Display our environment
echo "========================================================================="
echo ""
echo " JBoss Bootstrap Environment"
echo ""
echo " JBOSS_HOME: $JBOSS_HOME"
echo ""
echo " JAVA: $JAVA"
echo ""
echo " JAVA_OPTS: $JAVA_OPTS"
echo ""
echo " CLASSPATH: $JBOSS_CLASSPATH"
echo ""
echo "========================================================================="
echo ""
STATUS=10
while [ $STATUS -eq 10 ]
do
# Execute the JVM
"$JAVA" $JAVA_OPTS \
-Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
-classpath "$JBOSS_CLASSPATH" \
org.jboss.Main "$@"
STATUS=$?
# if it doesn't work, you may want to take a look at this:
# http://developer.java.sun.com/developer/bugParade/bugs/4465334.html
done

66
jboss/bin/shutdown.bat Normal file
View File

@ -0,0 +1,66 @@
@echo off
rem -------------------------------------------------------------------------
rem JBoss JVM Launcher
rem -------------------------------------------------------------------------
rem $Id: shutdown.bat,v 1.6 2005/09/04 17:52:33 jjanke Exp $
if not "%ECHO%" == "" echo %ECHO%
if "%OS%" == "Windows_NT" setlocal
set MAIN_JAR_NAME=shutdown.jar
set MAIN_CLASS=org.jboss.Shutdown
set DIRNAME=.\
if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
set PROGNAME=run.bat
if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
rem Read all command line arguments
set ARGS=
:loop
if [%1] == [] goto end
set ARGS=%ARGS% %1
shift
goto loop
:end
rem Find MAIN_JAR, or we can't continue
set MAIN_JAR=%DIRNAME%\%MAIN_JAR_NAME%
if exist "%MAIN_JAR%" goto FOUND_MAIN_JAR
echo Could not locate %MAIN_JAR%. Please check that you are in the
echo bin directory when running this script.
goto END
:FOUND_MAIN_JAR
if not "%JAVA_HOME%" == "" goto HAVE_JAVA_HOME
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.
goto SKIP_SET_JAVA_HOME
:HAVE_JAVA_HOME
set JAVA=%JAVA_HOME%\bin\java
:SKIP_SET_JAVA_HOME
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%MAIN_JAR%;%DIRNAME%/../client/jbossall-client.jar
rem Setup JBoss sepecific properties
set JAVA_OPTS=%JAVA_OPTS% -Djboss.boot.loader.name=%PROGNAME%
rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.
rem set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
"%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" %MAIN_CLASS% %ARGS%
:END
if "%NOPAUSE%" == "" pause
:END_NO_PAUSE

79
jboss/bin/shutdown.sh Normal file
View File

@ -0,0 +1,79 @@
#!/bin/sh
### ====================================================================== ###
## ##
## JBoss Shutdown Script ##
## ##
### ====================================================================== ###
### $Id: shutdown.sh,v 1.6 2005/09/04 17:52:33 jjanke Exp $ ###
DIRNAME=`dirname $0`
PROGNAME=`basename $0`
GREP="grep"
#
# Helper to complain.
#
die() {
echo "${PROGNAME}: $*"
exit 1
}
# Read an optional running configuration file
if [ "x$RUN_CONF" = "x" ]; then
RUN_CONF="$DIRNAME/run.conf"
fi
if [ -r $RUN_CONF ]; then
. $RUN_CONF
fi
# OS specific support (must be 'true' or 'false').
cygwin=false;
case "`uname`" in
CYGWIN*)
cygwin=true
;;
esac
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$JBOSS_HOME" ] &&
JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
fi
# Setup JBOSS_HOME
if [ "x$JBOSS_HOME" = "x" ]; then
JBOSS_HOME=`cd $DIRNAME/..; pwd`
fi
export JBOSS_HOME
# Setup the JVM
if [ "x$JAVA_HOME" != "x" ]; then
JAVA=$JAVA_HOME/bin/java
else
JAVA="java"
fi
# Setup the classpath
JBOSS_BOOT_CLASSPATH="$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jbossall-client.jar"
if [ "x$JBOSS_CLASSPATH" = "x" ]; then
JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH"
else
JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH"
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"`
fi
# Execute the JVM
exec $JAVA \
$JAVA_OPTS \
-classpath $JBOSS_CLASSPATH \
org.jboss.Shutdown "$@"

72
jboss/bin/twiddle.bat Normal file
View File

@ -0,0 +1,72 @@
@echo off
rem -------------------------------------------------------------------------
rem JBoss JVM Launcher
rem -------------------------------------------------------------------------
rem $Id: twiddle.bat,v 1.3 2005/09/04 17:52:33 jjanke Exp $
if not "%ECHO%" == "" echo %ECHO%
if "%OS%" == "Windows_NT" setlocal
set MAIN_JAR_NAME=twiddle.jar
set MAIN_CLASS=org.jboss.console.twiddle.Twiddle
set DIRNAME=.\
if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
set PROGNAME=run.bat
if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
rem Read all command line arguments
set ARGS=
:loop
if [%1] == [] goto end
set ARGS=%ARGS% %1
shift
goto loop
:end
rem Find MAIN_JAR, or we can't continue
set MAIN_JAR=%DIRNAME%\%MAIN_JAR_NAME%
if exist "%MAIN_JAR%" goto FOUND_MAIN_JAR
echo Could not locate %MAIN_JAR%. Please check that you are in the
echo bin directory when running this script.
goto END
:FOUND_MAIN_JAR
if not "%JAVA_HOME%" == "" goto HAVE_JAVA_HOME
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.
goto SKIP_SET_JAVA_HOME
:HAVE_JAVA_HOME
set JAVA=%JAVA_HOME%\bin\java
:SKIP_SET_JAVA_HOME
rem only include jbossall-client.jar in classpath, if
rem JBOSS_CLASSPATH was not yet set
if not "%JBOSS_CLASSPATH%" == "" GOTO HAVE_JB_CP
set JBOSS_CLASSPATH=%DIRNAME%\..\client\jbossall-client.jar
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\client\getopt.jar
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\client\log4j.jar
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\jboss-jmx.jar
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\xml-apis.jar
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\xercesImpl.jar
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\dom4j.jar
:HAVE_JB_CP
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%MAIN_JAR%
rem Setup JBoss sepecific properties
set JAVA_OPTS=%JAVA_OPTS% -Djboss.boot.loader.name=%PROGNAME%
%JAVA% %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" %MAIN_CLASS% %ARGS%
:END

79
jboss/bin/twiddle.sh Normal file
View File

@ -0,0 +1,79 @@
#!/bin/sh
### ====================================================================== ###
## ##
## JBoss Shutdown Script ##
## ##
### ====================================================================== ###
### $Id: twiddle.sh,v 1.3 2005/09/04 17:52:33 jjanke Exp $ ###
DIRNAME=`dirname $0`
PROGNAME=`basename $0`
GREP="grep"
#
# Helper to complain.
#
die() {
echo "${PROGNAME}: $*"
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false;
case "`uname`" in
CYGWIN*)
cygwin=true
;;
esac
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$JBOSS_HOME" ] &&
JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
fi
# Setup JBOSS_HOME
if [ "x$JBOSS_HOME" = "x" ]; then
JBOSS_HOME=`cd $DIRNAME/..; pwd`
fi
export JBOSS_HOME
# Setup the JVM
if [ "x$JAVA_HOME" != "x" ]; then
JAVA=$JAVA_HOME/bin/java
else
JAVA="java"
fi
# Setup the classpath
JBOSS_BOOT_CLASSPATH="$JBOSS_HOME/bin/twiddle.jar"
if [ "x$JBOSS_CLASSPATH" = "x" ]; then
JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH"
JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/client/jbossall-client.jar"
JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/client/getopt.jar"
JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/client/log4j.jar"
JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/lib/jboss-jmx.jar"
JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/lib/xml-apis.jar"
JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/lib/xercesImpl.jar"
JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/lib/dom4j.jar"
else
JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH"
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"`
fi
# Execute the JVM
exec $JAVA \
$JAVA_OPTS \
-Dprogram.name="$PROGNAME" \
-classpath $JBOSS_CLASSPATH \
org.jboss.console.twiddle.Twiddle "$@"

141
jboss/jar-versions.xml Normal file
View File

@ -0,0 +1,141 @@
<jar-versions>
<jar name='activation.jar' specVersion='1.0' specVendor='Sun Microsystems, Inc.' specTitle='JavaBeans(TM) Activation Framework Specification' implVersion='1.0.2' implVendor='Sun Microsystems, Inc.' implTitle='JBoss [Zion]' implVendorID='com.sun' implURL='http://www.jboss.org/' sealed='false' md5Digest='40a2fe70753b749804b929fb954fa7a6' />
<jar name='antlr-2.7.5H3.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='55e0c24fb925451407fce753688591bb' />
<jar name='applet.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='b7ca78411510e3e1676a5c92aa2e9b32' />
<jar name='asm-attrs.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='1.5.3' implVendor='France Telecom R&D' implTitle='ASM Attribute classes' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='d4bb63906ac69c7bf3b5d63c504b7e1e' />
<jar name='asm.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='1.5.3' implVendor='France Telecom R&D' implTitle='ASM' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='ccee2ade16dff81586fc28435126e10a' />
<jar name='autonumber-plugin.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='f48705d210b4c094768ed4b5725baea5' />
<jar name='avalon-framework.jar' specVersion='1.0' specVendor='Apache Software Foundation' specTitle='Avalon Framework API' implVersion='4.1.5' implVendor='Apache Software Foundation' implTitle='JBoss [Zion]' implVendorID='ASF' implURL='http://www.jboss.org/' sealed='false' md5Digest='7c5801a1c7262840895c477eb993a8d3' />
<jar name='axis-ws4ee.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='2ce49aa3d35f13a4d46f7464732aca65' />
<jar name='bcel.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='a131091014d9950dfc28435f47429ac9' />
<jar name='bindingservice-plugin.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='2969d6a5e591ef7b31c5a3ea062925d' />
<jar name='bsh-1.3.0.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='31d809c862e38172e6889e9c90aed095' />
<jar name='bsh-deployer.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='dc5f427a82a74979fb107b8e784a89a9' />
<jar name='catalina-manager.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='3b06c6899951eddbedc824d26be9c3d8' />
<jar name='catalina-optional.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='aa8d56fd3a10a2624358e0d40d82cbf4' />
<jar name='catalina.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='7ee704ccaaf0c2a3eaf11d538cbd6d73' />
<jar name='cglib-2.1.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='5da62b3322d07650b8da50898d6061c0' />
<jar name='commons-discovery.jar' specVersion='1.0' specVendor='Apache Software Foundation' specTitle='JBoss' implVersion='0.2' implVendor='Apache Software Foundation' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='43d7c02f5aec865df4912b31f54bbe18' />
<jar name='commons-el.jar' specVersion='2.0' specVendor='Apache Software Foundation' specTitle='Jakarta Commons EL' implVersion='1.0' implVendor='Apache Software Foundation' implTitle='org.apache.commons.el' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='3f9854dfa4e34dfc6d6979b02e2feb91' />
<jar name='commons-httpclient.jar' specVersion='' specVendor='Apache Software Foundation' specTitle='Jakarta Commons HttpClient' implVersion='2.0' implVendor='Apache Software Foundation' implTitle='JBoss [Zion]' implVendorID='' implURL='http://www.jboss.org/' sealed='false' md5Digest='5ac46f043a686bbf84621d95b7bfb553' />
<jar name='commons-logging.jar' specVersion='1.0' specVendor='Apache Software Foundation' specTitle='JBoss' implVersion='1.0.3' implVendor='Apache Software Foundation' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='15061d9370de3bc0338a2c01eea96804' />
<jar name='commons-modeler.jar' specVersion='1.1' specVendor='Apache Software Foundation' specTitle='JBoss' implVersion='1.1.0' implVendor='Apache Software Foundation' implTitle='JBoss [Zion]' implVendorID='org.apache' implURL='http://www.jboss.org/' sealed='false' md5Digest='293a6e4fa8aa8414d2cdbcf9a2e51bb1' />
<jar name='concurrent.jar' specVersion='1.3.4' specVendor='oswego.edu' specTitle='util.concurrent' implVersion='1.3.4 compiled: February 17 2005' implVendor='http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html' implTitle='util.concurrent' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='f63691604e2910df4a3b44894dcfb534' />
<jar name='console-mgr-classes.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='6c353c4477aab65db8f2e47eba2de2e3' />
<jar name='deployment-service.sar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='f79601f61b34e62df937f9c6a6b83a9' />
<jar name='dom4j.jar' specVersion='4.0.2' specVendor='MetaStuff Ltd.' specTitle='dom4j : XML framework for Java' implVersion='1.5' implVendor='MetaStuff Ltd.' implTitle='org.dom4j' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='8f4d40bd1f363faa09e837e4e333213' />
<jar name='ejb-management.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='a33a7ea6054da7fa32d77291e5ffcbc9' />
<jar name='getopt.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='d0d2526163693ccf62686143f697952e' />
<jar name='gnu-regexp.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='d3ca1330e7dea884b4d85e9066e35ef7' />
<jar name='hibernate-metadata.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='30b617254007675651bdf24082ed89d1' />
<jar name='hibernate3.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='1f3cbfcb1757ddc07da32cdfaa873189' />
<jar name='hsqldb-plugin.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='ddc621b2ba913f024ff72c0b0e09165e' />
<jar name='hsqldb.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='b9a9d00a164180d3669543be53599925' />
<jar name='jacorb.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='d647f9f715e37661e2fd2e9b60de75c4' />
<jar name='jasper-compiler-jdt.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='635b104856628fb3ee5e0e6c5834aa76' />
<jar name='jasper-compiler.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='abb1ee172347c7a0f043e1a2dbba3371' />
<jar name='jasper-runtime.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='d383e9d1969a686db1070420936e6e85' />
<jar name='javassist.jar' specVersion='3.0' specVendor='Shigeru Chiba, Tokyo Institute of Technology' specTitle='Javassist' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='19d57c6ef2603eb870f36a832afe1633' />
<jar name='javax.servlet.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='eba6df67157079d45fa9a1db30212062' />
<jar name='javax.servlet.jsp.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='e495514d06f6bad01401fc6fb6d1da40' />
<jar name='jaxen.jar' specVersion='' specVendor='Codehaus' specTitle='Universal Java XPath Engine' implVersion='1.1-beta-4' implVendor='Codehaus' implTitle='JBoss [Zion]' implVendorID='' implURL='http://www.jboss.org/' sealed='false' md5Digest='c153c4ab878f6f05961bd140f306e414' />
<jar name='jboss-aop.jar' specVersion='jboss-aop-1.1.1' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss AOP Framework' implVersion='jboss-aop-1.1.1' implVendor='JBoss.org' implTitle='JBoss AOP Framework' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='e5baabe4f31fccc921f404117539cb1c' />
<jar name='jboss-aspect-library.jar' specVersion='jboss-aspect-library-1.1' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss AOP Aspect Library' implVersion='jboss-aspect-library-1.1' implVendor='JBoss.org' implTitle='JBoss AOP Aspect Library' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='fac52993845a4c9c48061c5a29e34bba' />
<jar name='jboss-cache.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBossCache' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='e2b74874f77296cd0b064b6d8ec08e5c' />
<jar name='jboss-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='34502c228030d5a428ad08866fd8740f' />
<jar name='jboss-common-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='b1f7bb8462f17532f41fa1c84673cfcf' />
<jar name='jboss-common-jdbc-wrapper.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='ba889a410a9aad1f41fbfbc3eb249f70' />
<jar name='jboss-common.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='542243edb86694f2b70e4c735433d71a' />
<jar name='jboss-deployment.jar' specVersion='1.1' specVendor='Sun Microsystems, Inc.' specTitle='J2EE Deployment API' implVersion='1.1-DEV' implVendor='JBoss Inc.' implTitle='JBoss JSR-88 Deployment API' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='a0a13c2d217f16296cd73c5daee91db2' />
<jar name='jboss-ha-local-jdbc.rar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='3778ddcf940ca498f922efd6f1d64abb' />
<jar name='jboss-ha-xa-jdbc.rar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='c51b67e875a177b3b2b73352fbb30b65' />
<jar name='jboss-hibernate.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='b54a282dfc19fd3c937c650cb0445d9f' />
<jar name='jboss-iiop-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='961795ca0ef2234535869acd37925e22' />
<jar name='jboss-iiop.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='993a11cd119e3be2b6f74b550d9bd2d8' />
<jar name='jboss-j2ee.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='d34bd222539f79a5ea3e5755ba457c0' />
<jar name='jboss-jaxrpc.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='c2b34e5c7d79490a67ea637153e4e896' />
<jar name='jboss-jca.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='5b32f35acbf04fe26cc0a0967ca5e360' />
<jar name='jboss-jmx.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='4d0afd5d56bd38ff0f52cd4df6b216f1' />
<jar name='jboss-jsr77-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='10121f417c887f656ad2a62e62880693' />
<jar name='jboss-jsr77.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='324b7bab850dbe7a497992ee8b8050e3' />
<jar name='jboss-juddiaxis.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='4c0c7eb87d539b0e762171f8e4872ba1' />
<jar name='jboss-local-jdbc.rar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='d6d972fd8622ee03448922e497f6839d' />
<jar name='jboss-management.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='c639678e205f808203105fa6ae7c7a2b' />
<jar name='jboss-media-entity-ejb.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='9dfc735c5435f9c8a8c564cbc1bebbe7' />
<jar name='jboss-minimal.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='50d569a6682ea7b16f949ad68102c1cd' />
<jar name='jboss-monitoring.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='8a0f922e9dc47e39906b2e408d9df447' />
<jar name='jboss-net-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='73e0181a896fab2bb310fc674f5e8b06' />
<jar name='jboss-net-taglib.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='22a3e5dcd8bc75dafec624312edcca55' />
<jar name='jboss-net.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='eb3c59f5df0310bb4e9c31438899889' />
<jar name='jboss-remoting.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='70a6d073a9b518b86843b2c81990b7b6' />
<jar name='jboss-saaj.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='679a7a62610af1d2f3eb49e7d2274d15' />
<jar name='jboss-system-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='39c740479411443f1e6d6b35a10d358b' />
<jar name='jboss-system.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='661caa18ea115cd79a0dcb9f56fedbc4' />
<jar name='jboss-transaction-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='3271857247abfa306e9296e693e1c985' />
<jar name='jboss-transaction.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='687766c84955968239413300d0498c15' />
<jar name='jboss-ws4ee-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='ce3022cc72add5d9e97c3714641fc75f' />
<jar name='jboss-ws4ee.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='1c0173d31a5911e27fed854657b081df' />
<jar name='jboss-ws4ee.war' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='bb9a52d81ba6ff977e37b27e00cec76a' />
<jar name='jboss-xa-jdbc.rar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='13e958f75983117a8c5e7e32bbd5c68d' />
<jar name='jboss.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='b41835540e9827815cb8699a07f52b68' />
<jar name='jbossall-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='d1cde129293a28eda361fa998fec53c5' />
<jar name='jbosscx-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='555d6479105801ca67a2870d728df965' />
<jar name='jbossha-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='f0ee13706b596a3afe831ec83840d3e1' />
<jar name='jbossha.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='bec0454867d321b72a5884a9bb5165e1' />
<jar name='jbossjmx-ant.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='3cd4c5063c6a8ce10315a933d810f1d2' />
<jar name='jbossmq-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='8a55b75d3271d5be6e106a502f2d5241' />
<jar name='jbossmq.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='ea6cfe77b5790700919ae9a79564c86e' />
<jar name='jbosssx-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='4265aed72f08a745d595abe085d09678' />
<jar name='jbosssx.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='691f698ef94701b62262eaa127e3141d' />
<jar name='jcommon.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='459d2ef87cd489c0df4811ec37fad1c4' />
<jar name='jfreechart.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='1ecda5552acd4352ba0ae5b996a673af' />
<jar name='jgroups.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='59daa562b23f5873fd9155930e3b3934' />
<jar name='jms-ra.rar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='a5cb4ec1408758c646df6db53958497f' />
<jar name='jmx-adaptor-plugin.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='a8d33d9c96d00958f31e4c61c2f8d66e' />
<jar name='jmx-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='4fa21d032151a2f78e6f3690e0c30b91' />
<jar name='jmx-invoker-adaptor-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='f681ccdb30ee3cb6ff18eb9e9ae95c0f' />
<jar name='jnp-client.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='e66f5a21bc6aab4a6b8a3eba0070255a' />
<jar name='jnpserver.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='e1d5c21747e254ab4cbcd4c1898257c8' />
<jar name='jpl-pattern.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='a235c3ce40aeb34cfe223fa0db72937d' />
<jar name='jpl-util.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='39b4242a3d338459c90336e2ec5599f0' />
<jar name='juddi-service.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='904d98bf120d0f4129d247d32b42379d' />
<jar name='juddi.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='49e0f513e3d2f74eda4383e7ce7b1195' />
<jar name='log4j-boot.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='68b9b9784dd02fa7ad3ae57516d6667a' />
<jar name='log4j.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='b2b2b60e9cf0e359a1c22b3441fe3a91' />
<jar name='logkit.jar' specVersion='1.0' specVendor='Apache Software Foundation' specTitle='JBoss' implVersion='1.2' implVendor='Apache Software Foundation' implTitle='JBoss [Zion]' implVendorID='ASF' implURL='http://www.jboss.org/' sealed='false' md5Digest='671b514bdefaeb7316f22f1465d4738d' />
<jar name='mail-plugin.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='575c7c961eb9cff25002e44c4f6f8a8e' />
<jar name='mail-ra.rar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='5663125b7814b37c4cd83ccbeaf09c31' />
<jar name='mail.jar' specVersion='1.3' specVendor='Sun Microsystems, Inc.' specTitle='JavaMail(TM) API Design Specification' implVersion='1.3.1' implVendor='Sun Microsystems, Inc.' implTitle='JBoss [Zion]' implVendorID='com.sun' implURL='http://www.jboss.org/' sealed='false' md5Digest='cf55d2fee8b22dd258664f262565a99c' />
<jar name='namespace.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='9c0a68ef643ea36c8b74fae00b1f0344' />
<jar name='naming-resources.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='a8e63b52ad75b23f0336220f060c909' />
<jar name='netboot.war' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='67cb9f986d1ae16d17f6c2d8c4f79a90' />
<jar name='odmg-3.0.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='5e6270b90c3e5c4f30dc683bc811253b' />
<jar name='otherimages.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='eeb06ea6b151ad6bcd9f51b78f731ffb' />
<jar name='properties-plugin.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='480f12cea7356036271bd21b43a897f3' />
<jar name='resolver.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='c4d07f8369d29e96f90c322d5c193bc4' />
<jar name='run.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='45a2e2af441a4cfba8502d61728d2027' />
<jar name='scheduler-plugin-example.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='6eee6a56647948d4e10a74a666282f' />
<jar name='scheduler-plugin.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='73bd26f565ad02c04a43e3a7456a2f9' />
<jar name='scout.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='822d55c9a573d101ede8a4d85228f614' />
<jar name='servlets-default.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='294cea90d542d3e5b9f5b6ddee9e55a4' />
<jar name='servlets-invoker.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='44b31e384a841be5ca893118126ed8be' />
<jar name='servlets-webdav.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='80f4c9c4cae3be48c4ed877c045257ca' />
<jar name='shutdown.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='a219a00818a4004fc5777f717966e379' />
<jar name='snmp-adaptor.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='fc7ae7d7f1364fbe50a12910aa11b887' />
<jar name='snmp-support.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='Contains both JoeSNMP (LGPL Version) and SnmpTrapAppender (Apache License)' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='48532eb91d43f873500559f1e9989f97' />
<jar name='tomcat-ajp.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='f7a6b8a8b877159fb8bd6a578e15702d' />
<jar name='tomcat-coyote.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='c8ccdca300c48041ea14fc55a00afdcd' />
<jar name='tomcat-http.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='d4d9d0360e2c97fffd6245628f796391' />
<jar name='tomcat-util.jar' specVersion='3.0' specVendor='Apache Software Foundation' specTitle='JBoss' implVersion='5.1' implVendor='Apache Software Foundation' implTitle='JBoss [Zion]' implVendorID='org.apache' implURL='http://www.jboss.org/' sealed='false' md5Digest='4bdfb5ead452fe1bc4cd0c6da468689b' />
<jar name='tomcat55-service.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='72c552b15d525f7de3a5fa859f321a71' />
<jar name='trove.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='1.0.2' implVendor='JBoss Inc.' implTitle='GNU Trove for Java' implVendorID='http://www.jboss.org/' implURL='http://trove4j.sourceforge.net/' sealed='false' md5Digest='ee7d491c156b782b11d2633a966523cd' />
<jar name='twiddle.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='e29f6cce4c04f114272b0804ec897d71' />
<jar name='uuid-key-generator.sar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='f7510d0cc02dee0663e9224f5ede1317' />
<jar name='webcallbackhandler.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='2fc826032c0fea7420ea20eaf351bd06' />
<jar name='webdavlib.jar' specVersion='2.0' specVendor='Apache Software Foundation' specTitle='Slide' implVersion='2.0' implVendor='Apache Software Foundation' implTitle='Slide' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='78b80ace4861eb1841bf10ca36298e2e' />
<jar name='wsdl4j.jar' specVersion='1.0' specVendor='IBM (Java Community Process)' specTitle='JWSDL' implVersion='1.4' implVendor='IBM' implTitle='WSDL4J' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='6e268249b8797f265ccc10717893e2ea' />
<jar name='xalan.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='c8c6175a27348fce65f1c52a3eac51b1' />
<jar name='xdoclet-module-jboss-net.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='4b5010b477442724115ec5e382da2cd6' />
<jar name='xercesImpl.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='ba9b000c60bd4c0b82a10b946f04e3d5' />
<jar name='xml-apis.jar' specVersion='4.0.2' specVendor='JBoss (http://www.jboss.org/)' specTitle='JBoss' implVersion='4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)' implVendor='JBoss Inc.' implTitle='JBoss [Zion]' implVendorID='http://www.jboss.org/' implURL='http://www.jboss.org/' sealed='false' md5Digest='1501128dc7c574adac7e1c2839358f56' />
</jar-versions>

60
jboss/mod_jk.conf Normal file
View File

@ -0,0 +1,60 @@
# Example Apache Link via mod_jk
# ------------------------------
# $Id: mod_jk.conf,v 1.1 2005/09/04 18:20:16 jjanke Exp $
# This applies to mod_jk (not mod_jk2)
# http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/quickhowto.html
# Download http://apache.tarchive.com/jakarta/tomcat-connectors/jk/binaries/
# Update http.conf with something like:
# Include $ADEMPIERE_HOME/jboss/mod.jk .. or directly:
LoadModule jk_module modules/mod_jk.so
AddModule mod_jk.c
# Worker File Link
JkWorkersFile /etc/httpd/conf/workers.properties
#JkWorkersFile $ADEMPIERE_HOME/jboss/workers.properties
# Log
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# General mapping - send *.jsp to mod_jk
JkMount /*.jsp ajp13
JkMount /*/servlet/ ajp13
# Example host
<VirtualHost 68.166.230.146:80>
DocumentRoot /var/www/html
ServerName www.adempiere.com
ErrorLog /var/log/httpd/com_error_log
CustomLog /var/log/httpd/com_access_log combined
JkMount *.jsp ajp13
JkMount /wstore/* ajp13
JkMount /adempiere/* ajp13
JkMount /invoker/* ajp13
</VirtualHost>
# Prevent External Access to RMI_HTTP tunnel
<Location /invoker>
order deny,allow
deny from all
allow from localhost 192.168.168
</Location>
# Prevent External Access to Management Console
<Location /jmx-console>
order deny,allow
deny from all
allow from localhost 192.168.168
</Location>
# Prevent Access
<Location "/*/WEB-INF/">
AllowOverride None
deny from all
<Location>

260
jboss/readme.html Normal file
View File

@ -0,0 +1,260 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html" http-equiv="content-type">
<title>JBoss 4.0.2 Readme</title>
<meta content="JBoss Inc." name="author">
</head>
<body>
<a href="http://www.jboss.com"><img src='http://www.jboss.org/jbosscorp/images/logobar_left.jpg' alt="JBoss Inc."></a>
<h1>JBoss 4.0.2</h1>
<p>The jboss-4.0.2 release for the J2EE&#153; 1.4 codebase. For information on the APIs
that make up J2EE 1.4, see <a href='http://java.sun.com/j2ee/1.4/docs/index.html'>J2EE v1.4 Documentation</a>.
For a comprehensive tutorial on J2EE 1.4, see <a href='http://java.sun.com/j2ee/1.4/docs/tutorial-update2/doc/index.html'>The J2EE&#153; 1.4 Tutorial</a>.
A jboss-4.0.x getting started guide that is based on contents from the tutorial can be found on the JBoss web site
documentation section, <a href='http://www.jboss.org/docs/index#free-40x'>4.0 Getting Started Guide</a>.
</p>
<h1>Release Notes</h1>
<h2>Highlights</h2>
<ul>
<li>The default class loading model in the web container has been changed to
use the standard servlet model that isolates the wars from other deployments,
and loads classes/resources preferentially from the war. In addition the,
classes from packages that cannot be overriden due to their use in the web
container are simply ignored. An example is the commons logging packages.
Prior to 4.0.2 a removal of such packages had to be removed from the war.
The changes are detailed in <a href='http://jira.jboss.com/jira/browse/JBAS-1691'>JBAS-1691</a>
</li>
<li>Several improvements to the JACC support to work better with thirdparty
providers has been made.
</li>
<li>The embedded tomcat version has been upgraded to 5.5.9
</li>
<li>The Hibernate deployer version has been upgraded to use the hibernate
3.0.3 release (tagged jboss_4_0_2 in the hibernate cvs tree as its not
quite 3.0.3). For info on switching back to the 2.1.x based deployer, see:
<a href='http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHibernate'>JBossHibernate</a>.
</li>
<li>Numerous bug fixes and feature enhancements as listed below
</li>
</ul>
<h2>Feature Request</h2>
<ul>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1365'>JBAS-1365</a>] - Allow arbitrary creation of filters in ListenerServiceMBeanSupport</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1391'>JBAS-1391</a>] - Add support for datasource failover</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1401'>JBAS-1401</a>] - Tomcat 5.5.9 integration</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1448'>JBAS-1448</a>] - Update the ServerInfo listThreadDump to use the jdk 5 stack traces</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1449'>JBAS-1449</a>] - Update the ServerInfo memory ops to use the jdk 5 mbeans</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1460'>JBAS-1460</a>] - Add an option to relax the JaasSecurityDomain certificate validation</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1468'>JBAS-1468</a>] - Add support for IP address reporting inside a Login Module</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1473'>JBAS-1473</a>] - Add support for customization of the login module password hash mechanism</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1508'>JBAS-1508</a>] - JBoss AS needs JSF</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1509'>JBAS-1509</a>] - CMT EJB should throw an exception if transaction marked rollback</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1562'>JBAS-1562</a>] - Expose getEntityLockMonitor in the MBean EntityLockMonitorMBean</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1604'>JBAS-1604</a>] - Add detailed logging to the jms resource adapter</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1610'>JBAS-1610</a>] - Integrate jdk5 MXBeans (platform MBeans) to JBoss</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1645'>JBAS-1645</a>] - The MDB should not automatically create JBossMQ destinations</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1680'>JBAS-1680</a>] - Add a descriptors list attribute to the JarDeployer</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1722'>JBAS-1722</a>] - Allow for a Principal instance as the Context.SECURITY_PRINCIPAL in LoginInitialContextFactory</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1736'>JBAS-1736</a>] - twiddle should support username and password options</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1739'>JBAS-1739</a>] - Add default users/roles properties to the UsersRolesLoginModule</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1758'>JBAS-1758</a>] - A BarrierController service to allow start/stop dependecies triggered by notifications</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1764'>JBAS-1764</a>] - Add MySQLConnectionValidator</li>
</ul>
<h2>Bug</h2>
<ul>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-20'>JBAS-20</a>] - Multiple ports wsdl service element</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-21'>JBAS-21</a>] - Cannot find wsdl in client deployment</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-897'>JBAS-897</a>] - invalid ejb-link</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1021'>JBAS-1021</a>] - Virtual host problem</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1065'>JBAS-1065</a>] - No redeployment possible after unsuccessful first deployment</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1070'>JBAS-1070</a>] - Warning message not found when deploying WS4EE Web Service</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1099'>JBAS-1099</a>] - Missing EJB verifier message</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1115'>JBAS-1115</a>] - bad path to included xsd gets built in WSDLFilePublisher</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1183'>JBAS-1183</a>] - Verifier warning message not found</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1235'>JBAS-1235</a>] - TimedObject id persistence fails on restart</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1270'>JBAS-1270</a>] - UserTransaction with non default ProviderURL</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1358'>JBAS-1358</a>] - Tomcat session replication breaks if there is already an active transaction</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1363'>JBAS-1363</a>] - JACC DelegatingPolicy will not work with a SecurityManager installed</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1377'>JBAS-1377</a>] - bad path to included xsd gets built in WSDLFilePublisher</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1378'>JBAS-1378</a>] - Need tcp configuration variation of the cluster unit tests</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1480'>JBAS-1480</a>] - Web Console: Monitors: Errors in the log</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1495'>JBAS-1495</a>] - Looking up a session bean on one server from within another in JBoss 3.2.7</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1512'>JBAS-1512</a>] - misspelling of UserPrinicpalRequest and UserPrinicipalServletRequest</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1516'>JBAS-1516</a>] - Tomcat5: StandardContext getConfigBase tries to create a directory</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1517'>JBAS-1517</a>] - SAR detection broken</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1544'>JBAS-1544</a>] - Wrong MBean attribute name in jboss:service=Mail (POP3SererHost )</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1545'>JBAS-1545</a>] - FileURLConnection breaks if path has spaces</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1551'>JBAS-1551</a>] - Classloader bug (version > 3.2.3)</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1552'>JBAS-1552</a>] - JBoss use wrong version of javax.resource.ResourceException class file</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1555'>JBAS-1555</a>] - HTTP Status 403 on using org.jboss.web.tomcat.security.JaccAuthorizationRealm</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1560'>JBAS-1560</a>] - Clustered stateful session bean removal of expired passivated instances causes deadlock</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1561'>JBAS-1561</a>] - Fix for Hibernate/JBossCache integration</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1564'>JBAS-1564</a>] - Prepared Statement Cache does not take into account autocommit semantics</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1574'>JBAS-1574</a>] - SerializableResultSetMetaData.getColumnCount is off by one</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1576'>JBAS-1576</a>] - Hibernate TransactionSynch should rollback transaction on session.flush exception</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1577'>JBAS-1577</a>] - white-space in ServiceMBean EVENT types</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1578'>JBAS-1578</a>] - Duplicate Messages</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1579'>JBAS-1579</a>] - Need to cleanup the serialVersionUIDs for Serializable/Externalizable classes</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1580'>JBAS-1580</a>] - Problem when Submitting Massive Load into HttpSession</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1581'>JBAS-1581</a>] - JDBC StateManager - CREATE_TABLES_ON_STARTUP is wrong</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1582'>JBAS-1582</a>] - NullPersistenceManager, DelegateName is wrong</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1583'>JBAS-1583</a>] - Primary key violation on JMS_TRANSACTIONS</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1588'>JBAS-1588</a>] - Collection synchronization into cmp2</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1589'>JBAS-1589</a>] - Typo in JBossMQ's TxManager</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1590'>JBAS-1590</a>] - Container does not call commit or refresh for the JACC provider</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1592'>JBAS-1592</a>] - JaccAuthorizationRealm always returns false on subsequent requests</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1599'>JBAS-1599</a>] - EJB Pools Strict Maximum Pool Permits Leak</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1600'>JBAS-1600</a>] - Stateless sesion ejbCreate CreateException are not propagated correctly</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1602'>JBAS-1602</a>] - Can't use container level taglibs</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1619'>JBAS-1619</a>] - LoadLibrary should be done through the deployment classloader</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1622'>JBAS-1622</a>] - findSessions doesn't find all sessions in http session replication</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1632'>JBAS-1632</a>] - clustering unit test failure</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1633'>JBAS-1633</a>] - Random IllegalStateException when session id is recycled</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1636'>JBAS-1636</a>] - Don't try to delist a track-connection-by-tx connection that is already broken and has been closed.</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1639'>JBAS-1639</a>] - Integrate Critical JBWS bug fixes</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1640'>JBAS-1640</a>] - JACC web application validation fails when Tomcat Connector is secure</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1669'>JBAS-1669</a>] - NullPointerException in DLQHandler</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1673'>JBAS-1673</a>] - ClassCastException in JmsActivation in setupQueueConnection</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1674'>JBAS-1674</a>] - web-console depends on UseJBossWebLoader=true</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1675'>JBAS-1675</a>] - Integrate Critical CTS bug fixes</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1677'>JBAS-1677</a>] - createConsumer and temporaries</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1679'>JBAS-1679</a>] - http session timeout is not implemented when distributed</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1682'>JBAS-1682</a>] - LDAP support: Roles in root context (empty searchBase) not supported</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1683'>JBAS-1683</a>] - The JACC subject policy context handler always returns null</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1684'>JBAS-1684</a>] - JaccAuthorizationRealm incorrectly returns false when unauthenticated caller attempts to access an unprotected resource</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1685'>JBAS-1685</a>] - JACC Web*Permission do not handle an empty</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1686'>JBAS-1686</a>] - AbstractWebDeployer adds more unchecked permissions to the JACC policy provider than it should</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1688'>JBAS-1688</a>] - Incorrect war parent class loader used when UseJBossWebLoader=false</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1695'>JBAS-1695</a>] - JACC: incorrect <role-name>*</role-name> mapping of web.xml</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1718'>JBAS-1718</a>] - JACC javax.servlet.http.HttpServletRequest PolicyContext data is null</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1723'>JBAS-1723</a>] - The JACC policy should be consulted for an 'unauthenticated caller'</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1737'>JBAS-1737</a>] - jmx-console fails to pass java.lang.Object values to op invocations</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1738'>JBAS-1738</a>] - JndiLoginInitialContextFactory is missing from jbossall-client.jar</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1741'>JBAS-1741</a>] - Deadlock can occur when acting on startup notification from jboss.system:type=Server and trying to access the web server.</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1749'>JBAS-1749</a>] - JMX invoker authentication interceptor example doesn't make sense</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1756'>JBAS-1756</a>] - Questionable management of the security association in StatefulSessionInstanceInterceptor</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1765'>JBAS-1765</a>] - Check the SQLStatus for MySQLExceptionSorter == 8</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1771'>JBAS-1771</a>] - MainDeployer.parseManifestLibraries does not log underlying exceptions</li>
</ul>
<h2>Task</h2>
<ul>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-58'>JBAS-58</a>] - Complete testing of JMS Message Inflow</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1271'>JBAS-1271</a>] - Scout/jUDDI based JAXR Implementation</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1359'>JBAS-1359</a>] - Remove the castor dependency for the snmp adapter, use jbossxb</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1446'>JBAS-1446</a>] - org.jboss.resource.deployment.RARDeployment needs TRACE logging</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1478'>JBAS-1478</a>] - Move axis-ws4ee to package org.jboss.org.apache.axis</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1559'>JBAS-1559</a>] - Check all serverSocket accept threads</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1597'>JBAS-1597</a>] - Update docs for the 4.0.2 release</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1609'>JBAS-1609</a>] - Backport latest JBossCache (1.2.2)</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1617'>JBAS-1617</a>] - Merge fixes for JacORB bugs #562 and #568 into the JacORB lib shipped w/ JBoss</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1618'>JBAS-1618</a>] - Update 4.0.2 to use the latest hsql release</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1631'>JBAS-1631</a>] - Cleanup System.out from console servlets and mbeans</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1637'>JBAS-1637</a>] - Add the j2ee dtd/schema redistribution terms to the release</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1644'>JBAS-1644</a>] - Cleanup the license headers in the source code</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1691'>JBAS-1691</a>] - Switch to UseJBossWebLoader=false as the default web container configuration</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1696'>JBAS-1696</a>] - OIL and RMI ILs are still present in the distribution</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1730'>JBAS-1730</a>] - Cleanup the commons jar usage</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1757'>JBAS-1757</a>] - Cleanup the error reporting output about faulty deployments</li>
</ul>
<h2>Patch</h2>
<ul>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-64'>JBAS-64</a>] - javax.naming.StateFactory/ObjectFactory support</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1506'>JBAS-1506</a>] - CDROutputStream.create_input_stream is wrong when there are deferred writes</li>
<li>[<a href='http://jira.jboss.com/jira/browse/JBAS-1556'>JBAS-1556</a>] - SingletonStatelessSessionInstancePool doesn't work properly now</li>
</ul>
<h2>Configuration Issues<h2>
<p>Note that as of the 4.0.1 release, the distributed configurations have
switched back to the 3.2.x types of distribution configurations:</p>
<ul>
<li>minimal: a minimal microkernel with logging, JNDI and hot deployment
support</li>
<li>default: a base level J2EE 1.4 application server configuration</li>
<li>all: a full J2EE 1.4 server configuration with clustering and all
optional services</li>
</ul>
<p>The standard configuration from the 4.0.0-4.0.1RC1 releases has been dropped
and the default flat class loading model from 3.0.x-3.2.x has been restored for
the default configuration. This change in behavior was done to restore
consistency with the 3.2.x class loading model. The 4.0.0 scoped class loading
behavior and call by value JNDI lookup behavior can be restored by:
</p>
<ol>
<li> Editing conf/jboss-service.xml and setting the NamingService CallByValue to true:
<pre>
&lt;mbean code="org.jboss.naming.NamingService"
name="jboss:service=Naming"&gt;
&lt;!-- The call by value mode. true if all lookups are unmarshalled using
the caller's TCL, false if in VM lookups return the value by reference.
--&gt;
<b>&lt;attribute name="CallByValue"&gt;true&lt;/attribute&gt;</b>
&lt;!-- The listening port for the bootstrap JNP service. Set this to -1
to run the NamingService without the JNP invoker listening port.
--&gt;
...
&lt;/mbean&gt;
</pre>
</li>
<li>Editing the deploy/ear-deployer.xml and setting the Isolated and CallByValue attribute to true:
<pre>
&lt;server&gt;
&lt;!-- EAR deployer, remove if you are not using ear deployments --&gt;
&lt;mbean code="org.jboss.deployment.EARDeployer"
name="jboss.j2ee:service=EARDeployer"&gt;
&lt;!-- A flag indicating if ear deployments should have their own scoped
class loader to isolate their classes from other deployments.
--&gt;
&lt;attribute name="Isolated"&gt;true&lt;/attribute&gt;
&lt;!-- A flag indicating if the ear components should have in VM call
optimization disabled.
--&gt;
&lt;attribute name="CallByValue"&gt;true&lt;/attribute&gt;
&lt;/mbean&gt;
&lt;/server&gt;
</pre>
</ol>
<h1>Documentation and Help</h1>
Documentation and help may be obtained from the JBoss site.
<ul>
<li><a href='http://www.jboss.org/docs/index#as'>4.0 Getting Started Guide</a></li>
<li><a href='http://www.jboss.org/wiki/Wiki.jsp'>JBoss Wikis</a></li>
<li><a href='http://www.jboss.org/index.html?module=bb'>JBoss Forums</a></li>
</ul>
<h1>Licenses</h1>
<p>JBoss is licensed under the LGPL. The licence texts for JBoss and the thirdparty components
it uses may be found in the docs/licenses directory of the distribution.
<a href="docs/licenses">Browse Licences</a>
</p>
<h1>About JBoss Inc.</h1>
<p>JBoss Inc. is in the business of providing superior technical support
to our customers. Our goal is to make Professional Open Source&#153; the <b>SAFE
CHOICE</b>
for you. We accomplish this by backing up our open source Java products
with technical support services that are delivered by the core
developers themselves. We can help you to train your staff and provide
you with support at every stage of the application lifecycle - from
development and integration through deployment and maintenance. Visit
the <a href="http://www.jboss.org/services/index">JBoss Services</a>
page for more information.
</p>
</body>
</html>

51
jboss/readme.txt Normal file
View File

@ -0,0 +1,51 @@
$Id: readme.txt,v 1.1 2006/04/21 17:58:42 jjanke Exp $
-----------------
Base: JBoss 3.2.3
-----------------
jboss-service.xml
=================
1099 -> @ADEMPIERE_JNP_PORT@ = JNDI JNP invoker listening port
1098 = RmiPort
-
8083 = WebService Class Loading
-
4444 = JMX RMI/JRMP invoker
4445 = Pooled invoker
login-config.xml
================
- no changes
http-invoker.sar/META-INF/jboss-service.xml
===========================================
8080 -> @ADEMPIERE_WEB_PORT@ = HTTP Invoker
jbossweb-tomcat41.sar/META-INF/jboss-service.xml
================================================
8080 -> @ADEMPIERE_WEB_PORT@ = HTTP/1.1 CoyoteConnector
8443 -> @ADEMPIERE_SSL_PORT@ = SSL HTTP/1.1 CoyoteConnector
-> @ADEMPIERE_KEYSTORE@ = keystoreFile
-> @ADEMPIERE_KEYSTOREPASS@ = keystorePass
--
8009 = AJP 1.3
8443 = AJP 1.3 redirect port
Server Libraries used:
----------------------
jboss-jmx.jar
jboss-system.jar
Client Librarties used:
-----------------------
jboss-client.jar
jboss-common-client.jar
jboss-j2ee.jar
jboss.client.jar
jboss-transactions-client.jar
jmx-rmi-connector-client.jar
jnp-client.jar

71
jboss/readme_j2ee.html Normal file
View File

@ -0,0 +1,71 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>JBoss J2EE Certification Readme</title>
<meta content="JBoss Inc." name="author">
<meta content="Info about the J2EE certification" name="description">
</head>
<body>
To help assure the compatibility of J2EE implementations, Sun
Microsystems has developed a Technology Compatibility Kit (TCK). In
addition, Sun offers a branding license to J2EE implementations that
wish to claim compatibility to the J2EE standards. In November, 2003
Sun released J2EE 1.4, and with that release for the first time allowed
open source implementations to license the TCK on a stand alone basis.
At that time, JBoss, Inc. became a TCK licensee and committed to pass
the test.<br>
<br>
The TCK is an extensive set of over 23,000 tests. The testing takes a
very large commitment due to the size, lack of automation, and errors
in a testing package of this size. JBoss enlisted the assistance of our
J2EE Certification Founding Partners Atos Origin, Borland, Hewlett
Packard, Iona, Intel, Sonic, Unisys, and webMethods. JBoss began work
on this effort in January, 2004 and completed the full testing on JBoss
4.0 by the end of June, 2004, which is a very aggressive timeline. Much
of the time went into setting up and configuring the tests and
understanding the nuances of the tests. Not surprisingly, there were
only relatively minor changes made to the JBoss code base JBoss has
been used by many customers as a defacto reference implementation for
several years. The primary areas where new functionality was needed
were in CSIV2 security for IIOP, a JAXR implementation, and the
addition of a new web services implementation.<br>
<br>
JBoss, Inc. and our J2EE Certification Founding Partners are pleased
that we have passed this significant milestone becoming the first Open
Source implementation in the market to pass the J2EE 1.4 TCK. This
brings our customers and partners and development community the
assurance that Professional Open Source is a safe choice for deployment
of your applications. <br>
<br>
NOTICE FROM SUN MICROSYSTEMS:
Any redistributed derivative work of the software licensed hereunder
must be compatible and branded with the appropriate compatibility logo
specified by Sun and licensed by Sun pursuant to a separate Trademark
License required to be executed by you with Sun. Redistribution of the
software licensed hereunder must retain this notice.<br>
<br>
NOTICE FROM JBOSS, INC.
The notice from Sun Microsystems does not in any way affect the LGPL
license or impose additional conditions on the LGPL license.<i><font
face="Arial" size="2"><span
style="font-size: 10pt; font-style: italic; font-family: Arial;"></span></font></i><br>
<br>
ADDITIONAL NOTICE FROM SUN MICROSYSTEMS: This version of the JBoss
Application Server source code is made available in support of the open
source development process. Some numbered or tagged revisions of this
source have been tested and found to pass the Java&#153; 2 Platform,
Enterprise Edition (J2EE&#153;) Compatibility Test Suite, and you can find
information on which revisions or tags at <a
href="http://www.jboss.com">www.jboss.com</a>. Please note that since
only binaries can be tested, source code cannot be described as a
compatible implementation of the J2EE Specification. The different
build environment on your machine and any changes you may make to this
code could render your resulting build incompatible. Because of this,
writing or deploying applications to builds based on this code can lead
to lack of portability. You should instead consider deploying
production applications on the pre-built binaries of the JBoss
Application Server that are available at <a href="http://www.jboss.com">www.jboss.com</a>
that have been tested and certified to meet the J2EE compatibility
requirements.
</body>
</html>

View File

@ -0,0 +1,454 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: jboss-serviceTemplate.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
<!-- ===================================================================== -->
<!-- JBoss Server Configuration -->
<!-- ===================================================================== -->
<server>
<!-- Load all jars from the JBOSS_DIST/server/<config>/lib directory. This
can be restricted to specific jars by specifying them in the archives
attribute.
-->
<classpath codebase="lib" archives="*"/>
<!-- ==================================================================== -->
<!-- JSR-77 Single JBoss Server Management Domain -->
<!-- ==================================================================== -->
<mbean code="org.jboss.management.j2ee.LocalJBossServerDomain"
name="jboss.management.local:j2eeType=J2EEDomain,name=Manager">
<attribute name="MainDeployer">jboss.system:service=MainDeployer</attribute>
<attribute name="SARDeployer">jboss.system:service=ServiceDeployer</attribute>
<attribute name="EARDeployer">jboss.j2ee:service=EARDeployer</attribute>
<attribute name="EJBDeployer">jboss.ejb:service=EJBDeployer</attribute>
<attribute name="RARDeployer">jboss.jca:service=RARDeployer</attribute>
<attribute name="CMDeployer">jboss.jca:service=ConnectionFactoryDeployer</attribute>
<attribute name="WARDeployer">jboss.web:service=WebServer</attribute>
<attribute name="JNDIService">jboss:service=Naming</attribute>
<attribute name="UserTransactionService">jboss:service=ClientUserTransaction</attribute>
<attribute name="RMI_IIOPService">jboss:service=CorbaORB</attribute>
</mbean>
<!-- ==================================================================== -->
<!-- XMBean Persistence -->
<!-- ==================================================================== -->
<mbean code="org.jboss.system.pm.AttributePersistenceService"
name="jboss:service=AttributePersistenceService"
xmbean-dd="resource:xmdesc/AttributePersistenceService-xmbean.xml">
<!-- the AttributePersistenceService is persistent, itself -->
<!--
<attribute name="AttributePersistenceManagerClass">org.jboss.system.pm.XMLAttributePersistenceManager</attribute>
<attribute name="AttributePersistenceManagerConfig">
<data-directory>data/xmbean-attrs</data-directory>
</attribute>
<attribute name="ApmDestroyOnServiceStop">false</attribute>
<attribute name="VersionTag"></attribute>
-->
</mbean>
<!-- A Thread pool service -->
<mbean code="org.jboss.util.threadpool.BasicThreadPool"
name="jboss.system:service=ThreadPool">
<attribute name="Name">JBoss System Threads</attribute>
<attribute name="ThreadGroupName">System Threads</attribute>
<!-- How long a thread will live without any tasks in MS -->
<attribute name="KeepAliveTime">60000</attribute>
<!-- The max number of threads in the pool -->
<attribute name="MaximumPoolSize">10</attribute>
<!-- The max number of tasks before the queue is full -->
<attribute name="MaximumQueueSize">1000</attribute>
<!-- The behavior of the pool when a task is added and the queue is full.
abort - a RuntimeException is thrown
run - the calling thread executes the task
wait - the calling thread blocks until the queue has room
discard - the task is silently discarded without being run
discardOldest - check to see if a task is about to complete and enque
the new task if possible, else run the task in the calling thread
-->
<attribute name="BlockingMode">run</attribute>
</mbean>
<!-- Preload all custom editors for VMs that don't use the thread
context class loader when searching for PropertyEditors. Uncomment
if your JDK 1.3.0 VM fails to find JBoss PropertyEditors.
<mbean code="org.jboss.varia.property.PropertyEditorManagerService"
name="jboss:type=Service,name=BootstrapEditors">
<attribute name="BootstrapEditors">
java.math.BigDecimal=org.jboss.util.propertyeditor.BigDecimalEditor
java.lang.Boolean=org.jboss.util.propertyeditor.BooleanEditor
java.lang.Class=org.jboss.util.propertyeditor.ClassEditor
java.util.Date=org.jboss.util.propertyeditor.DateEditor
java.io.File=org.jboss.util.propertyeditor.FileEditor
java.net.InetAddress=org.jboss.util.propertyeditor.InetAddressEditor
java.lang.Integer=org.jboss.util.propertyeditor.IntegerEditor
javax.management.ObjectName=org.jboss.mx.util.propertyeditor.ObjectNameEditor
java.util.Properties=org.jboss.util.propertyeditor.PropertiesEditor
[Ljava.lang.String;=org.jboss.util.propertyeditor.StringArrayEditor
java.net.URL=org.jboss.util.propertyeditor.URLEditor
</attribute>
</mbean>
-->
<!-- ==================================================================== -->
<!-- Log4j Initialization -->
<!-- ==================================================================== -->
<mbean code="org.jboss.logging.Log4jService"
name="jboss.system:type=Log4jService,service=Logging"
xmbean-dd="resource:xmdesc/Log4jService-xmbean.xml">
<attribute name="ConfigurationURL">resource:log4j.xml</attribute>
<!-- Set the org.apache.log4j.helpers.LogLog.setQuiteMode. As of log4j1.2.8
this needs to be set to avoid a possible deadlock on exception at the
appender level. See bug#696819.
-->
<attribute name="Log4jQuietMode">true</attribute>
<!-- How frequently in seconds the ConfigurationURL is checked for changes -->
<attribute name="RefreshPeriod">60</attribute>
</mbean>
<!-- ==================================================================== -->
<!-- JBoss RMI Classloader - only install when available -->
<!-- ==================================================================== -->
<mbean code="org.jboss.util.property.jmx.SystemPropertyClassValue"
name="jboss.rmi:type=RMIClassLoader">
<attribute name="Property">java.rmi.server.RMIClassLoaderSpi</attribute>
<attribute name="ClassName">org.jboss.system.JBossRMIClassLoader</attribute>
</mbean>
<!-- ==================================================================== -->
<!-- Service Binding -->
<!-- ==================================================================== -->
<!-- Automatically activated when generatting the clustering environment -->
<!-- @TESTSUITE_CLUSTER_CONFIG@ -->
<!--
| Binding service manager for port/host mapping. This is a sample
| config that demonstrates a JBoss instances with a server name 'ports-01'
| loading its bindings from an XML file using the ServicesStoreFactory
| implementation returned by the XMLServicesStoreFactory.
|
| ServerName: The unique name assigned to a JBoss server instance for
| lookup purposes. This allows a single ServicesStore to handle mulitiple
| JBoss servers.
|
| StoreURL: The URL string passed to org.jboss.services.binding.ServicesStore
| during initialization that specifies how to connect to the bindings store.
| StoreFactory: The org.jboss.services.binding.ServicesStoreFactory interface
| implementation to create to obtain the ServicesStore instance.
<mbean code="org.jboss.services.binding.ServiceBindingManager"
name="jboss.system:service=ServiceBindingManager">
<attribute name="ServerName">ports-01</attribute>
<attribute name="StoreURL">${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml</attribute>
<attribute name="StoreFactoryClassName">
org.jboss.services.binding.XMLServicesStoreFactory
</attribute>
</mbean>
-->
<!-- ==================================================================== -->
<!-- Class Loading -->
<!-- ==================================================================== -->
<mbean code="org.jboss.web.WebService"
name="jboss:service=WebService">
<attribute name="Port">8083</attribute>
<!-- Should resources and non-EJB classes be downloadable -->
<attribute name="DownloadServerClasses">true</attribute>
<attribute name="Host">${jboss.bind.address}</attribute>
<attribute name="BindAddress">${jboss.bind.address}</attribute>
</mbean>
<!-- ==================================================================== -->
<!-- JNDI -->
<!-- ==================================================================== -->
<mbean code="org.jboss.naming.NamingService"
name="jboss:service=Naming"
xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
<!-- The call by value mode. true if all lookups are unmarshalled using
the caller's TCL, false if in VM lookups return the value by reference.
-->
<attribute name="CallByValue">false</attribute>
<!-- The listening port for the bootstrap JNP service. Set this to -1
to run the NamingService without the JNP invoker listening port.
-->
<attribute name="Port">@ADEMPIERE_JNP_PORT@</attribute>
<!-- The bootstrap JNP server bind address. This also sets the default
RMI service bind address. Empty == all addresses
-->
<attribute name="BindAddress">${jboss.bind.address}</attribute>
<!-- The port of the RMI naming service, 0 == anonymous -->
<attribute name="RmiPort">1098</attribute>
<!-- The RMI service bind address. Empty == all addresses
-->
<attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
<!-- The thread pool service used to control the bootstrap lookups -->
<depends optional-attribute-name="LookupPool"
proxy-type="attribute">jboss.system:service=ThreadPool</depends>
</mbean>
<mbean code="org.jboss.naming.JNDIView"
name="jboss:service=JNDIView"
xmbean-dd="resource:xmdesc/JNDIView-xmbean.xml">
</mbean>
<!-- ==================================================================== -->
<!-- Security -->
<!-- ==================================================================== -->
<mbean code="org.jboss.security.plugins.SecurityConfig"
name="jboss.security:service=SecurityConfig">
<attribute name="LoginConfig">jboss.security:service=XMLLoginConfig</attribute>
</mbean>
<mbean code="org.jboss.security.auth.login.XMLLoginConfig"
name="jboss.security:service=XMLLoginConfig">
<attribute name="ConfigResource">login-config.xml</attribute>
</mbean>
<!-- JAAS security manager and realm mapping -->
<mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
name="jboss.security:service=JaasSecurityManager">
<attribute name="SecurityManagerClassName">org.jboss.security.plugins.JaasSecurityManager</attribute>
<attribute name="DefaultUnauthenticatedPrincipal">anonymous</attribute>
<!-- DefaultCacheTimeout: Specifies the default timed cache policy timeout
in seconds.
If you want to disable caching of security credentials, set this to 0 to
force authentication to occur every time. This has no affect if the
AuthenticationCacheJndiName has been changed from the default value.
-->
<attribute name="DefaultCacheTimeout">1800</attribute>
<!-- DefaultCacheResolution: Specifies the default timed cache policy
resolution in seconds. This controls the interval at which the cache
current timestamp is updated and should be less than the DefaultCacheTimeout
in order for the timeout to be meaningful. This has no affect if the
AuthenticationCacheJndiName has been changed from the default value.
-->
<attribute name="DefaultCacheResolution">60</attribute>
</mbean>
<!-- ==================================================================== -->
<!-- Transactions -->
<!-- ==================================================================== -->
<!-- The configurable Xid factory. For use with Oracle, set pad to true -->
<mbean code="org.jboss.tm.XidFactory"
name="jboss:service=XidFactory">
<!--attribute name="Pad">true</attribute-->
</mbean>
<!--
| The fast in-memory transaction manager.
-->
<mbean code="org.jboss.tm.TransactionManagerService"
name="jboss:service=TransactionManager"
xmbean-dd="resource:xmdesc/TransactionManagerService-xmbean.xml">
<attribute name="TransactionTimeout">300</attribute>
<!-- set to false to disable transaction demarcation over IIOP -->
<attribute name="GlobalIdsEnabled">true</attribute>
<depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
</mbean>
<!--
| UserTransaction support.
-->
<mbean code="org.jboss.tm.usertx.server.ClientUserTransactionService"
name="jboss:service=ClientUserTransaction"
xmbean-dd="resource:xmdesc/ClientUserTransaction-xmbean.xml">
<depends>
<mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
name="jboss:service=proxyFactory,target=ClientUserTransactionFactory">
<attribute name="InvokerName">jboss:service=invoker,type=jrmp</attribute>
<attribute name="TargetName">jboss:service=ClientUserTransaction</attribute>
<attribute name="JndiName">UserTransactionSessionFactory</attribute>
<attribute name="ExportedInterface">org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory</attribute>
<attribute name="ClientInterceptors">
<interceptors>
<interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
</interceptors>
</attribute>
<depends>jboss:service=invoker,type=jrmp</depends>
</mbean>
</depends>
<depends optional-attribute-name="TxProxyName">
<mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
name="jboss:service=proxyFactory,target=ClientUserTransaction">
<attribute name="InvokerName">jboss:service=invoker,type=jrmp</attribute>
<attribute name="TargetName">jboss:service=ClientUserTransaction</attribute>
<attribute name="JndiName"></attribute>
<attribute name="ExportedInterface">org.jboss.tm.usertx.interfaces.UserTransactionSession</attribute>
<attribute name="ClientInterceptors">
<interceptors>
<interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
</interceptors>
</attribute>
<depends>jboss:service=invoker,type=jrmp</depends>
</mbean>
</depends>
</mbean>
<!-- ==================================================================== -->
<!-- Invokers to the JMX node -->
<!-- ==================================================================== -->
<!-- RMI/JRMP invoker -->
<mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
name="jboss:service=invoker,type=jrmp">
<attribute name="RMIObjectPort">4444</attribute>
<attribute name="ServerAddress">${jboss.bind.address}</attribute>
<!--
<attribute name="RMIClientSocketFactory">custom</attribute>
<attribute name="RMIServerSocketFactory">custom</attribute>
<attribute name="RMIServerSocketAddr">custom</attribute>
<attribute name="SecurityDomain">ssl-domain-name</attribute>
-->
<depends>jboss:service=TransactionManager</depends>
</mbean>
<mbean code="org.jboss.invocation.local.LocalInvoker"
name="jboss:service=invoker,type=local">
<depends>jboss:service=TransactionManager</depends>
</mbean>
<mbean code="org.jboss.invocation.pooled.server.PooledInvoker"
name="jboss:service=invoker,type=pooled">
<attribute name="NumAcceptThreads">1</attribute>
<attribute name="MaxPoolSize">300</attribute>
<attribute name="ClientMaxPoolSize">300</attribute>
<attribute name="SocketTimeout">60000</attribute>
<attribute name="ServerBindAddress">${jboss.bind.address}</attribute>
<attribute name="ServerBindPort">4445</attribute>
<attribute name="ClientConnectAddress">${jboss.bind.address}</attribute>
<attribute name="ClientConnectPort">0</attribute>
<attribute name="EnableTcpNoDelay">false</attribute>
<depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends>
</mbean>
<!-- ==================================================================== -->
<!-- Monitoring and Management -->
<!-- ==================================================================== -->
<!-- Uncomment to enable JMX monitoring of the bean cache
<mbean code="org.jboss.monitor.BeanCacheMonitor"
name="jboss.monitor:name=BeanCacheMonitor"/>
-->
<!-- Uncomment to enable JMX monitoring of the entity bean locking
<mbean code="org.jboss.monitor.EntityLockMonitor"
name="jboss.monitor:name=EntityLockMonitor"/>
-->
<!-- ==================================================================== -->
<!-- An MBean that is a registry for JDBC type-mapping metadata -->
<!-- ==================================================================== -->
<mbean code="org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary"
name="jboss.jdbc:service=metadata"/>
<!-- ==================================================================== -->
<!-- Deployment Scanning -->
<!-- ==================================================================== -->
<!-- An mbean for hot deployment/undeployment of archives.
-->
<mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
name="jboss.deployment:type=DeploymentScanner,flavor=URL">
<!-- Uncomment (and comment/remove version below) to enable usage of the
DeploymentCache
<depends optional-attribute-name="Deployer">jboss.deployment:type=DeploymentCache</depends>
-->
<depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
<!-- The URLComparator can be used to specify a deployment ordering
for deployments found in a scanned directory. The class specified
must be an implementation of java.util.Comparator, it must be able
to compare two URL objects, and it must have a no-arg constructor.
Two deployment comparators are shipped with JBoss:
- org.jboss.deployment.DeploymentSorter
Sorts by file extension, as follows:
"sar", "service.xml", "rar", "jar", "war", "wsr", "ear", "zip",
"*"
- org.jboss.deployment.scanner.PrefixDeploymentSorter
If the name portion of the url begins with 1 or more digits, those
digits are converted to an int (ignoring leading zeroes), and
files are deployed in that order. Files that do not start with
any digits will be deployed first, and they will be sorted by
extension as above with DeploymentSorter.
-->
<attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>
<!--
<attribute name="URLComparator">org.jboss.deployment.scanner.PrefixDeploymentSorter</attribute>
-->
<!-- The FilterInstance specifies a URLLister.URLFilter for scanned
directories. This DeploymentFilter is initialized with the given
prefixes, suffixes and matches that define which URLs should be
ignored.
-->
<attribute name="FilterInstance"
attributeClass="org.jboss.deployment.scanner.DeploymentFilter"
serialDataType="javaBean">
<!-- Files starting with theses strings are ignored -->
<property name="prefixes">#,%,\,,.,_$</property>
<!-- Files ending with theses strings are ignored -->
<property name="suffixes">#,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh</property>
<!-- Files matching with theses strings are ignored -->
<property name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property>
</attribute>
<!-- Frequency in milliseconds to rescan the URLs for changes -->
<attribute name="ScanPeriod">5000</attribute>
<!-- A flag to disable the scans -->
<attribute name="ScanEnabled">true</attribute>
<!-- URLs are comma separated and resolve relative to the server home URL
unless the given path is absolute. If the URL ends in "/" it is
considered a collection and scanned, otherwise it is simply deployed;
this follows RFC2518 convention and allows discrimination between
collections and directories that are simply unpacked archives.
URLs may be local (file:) or remote (http:). Scanning is supported
for remote URLs but unpacked deployment units are not.
Example URLs:
deploy/
scans ${jboss.server.url}/deploy/, which is local or remote
depending on the URL used to boot the server
${jboss.server.home}/deploy/
scans ${jboss.server.home)/deploy, which is always local
file:/var/opt/myapp.ear
deploy myapp.ear from a local location
file:/var/opt/apps/
scans the specified directory
http://www.test.com/netboot/myapp.ear
deploys myapp.ear from a remote location
http://www.test.com/netboot/apps/
scans the specified WebDAV location
-->
<attribute name="URLs">
deploy/
</attribute>
<!-- Indicates if the scanner should recursively scan directories that
contain no "." in their names. This can be used to group applications
and services that must be deployed and that have the same
logical function in the same directory i.e.
deploy/JMX/
deploy/JMS/
...
-->
<attribute name="RecursiveSearch">True</attribute>
</mbean>
</server>

View File

@ -0,0 +1,4 @@
# DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING
#
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

View File

@ -0,0 +1,273 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!-- ===================================================================== -->
<!-- -->
<!-- Log4j Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!-- $Id: log4j.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
<!--
| For more configuration infromation and examples see the Jakarta Log4j
| owebsite: http://jakarta.apache.org/log4j
-->
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
<!-- ================================= -->
<!-- Preserve messages in a local file -->
<!-- ================================= -->
<!-- A time/date based rolling appender -->
<appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="File" value="${jboss.server.home.dir}/log/server.log"/>
<param name="Append" value="false"/>
<!-- Rollover at midnight each day -->
<param name="DatePattern" value="'.'yyyy-MM-dd"/>
<!-- Rollover at the top of each hour
<param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
-->
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
<!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
<param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
-->
</layout>
</appender>
<!-- A size based file rolling appender
<appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="File" value="${jboss.server.home.dir}/log/server.log"/>
<param name="Append" value="false"/>
<param name="MaxFileSize" value="500KB"/>
<param name="MaxBackupIndex" value="1"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
</layout>
</appender>
-->
<!-- ============================== -->
<!-- Append messages to the console -->
<!-- ============================== -->
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Target" value="System.out"/>
<param name="Threshold" value="INFO"/>
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</layout>
</appender>
<!-- ====================== -->
<!-- More Appender examples -->
<!-- ====================== -->
<!-- Buffer events and log them asynchronously
<appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<appender-ref ref="FILE"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="SMTP"/>
</appender>
-->
<!-- EMail events to an administrator
<appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Threshold" value="ERROR"/>
<param name="To" value="admin@myhost.domain.com"/>
<param name="From" value="nobody@myhost.domain.com"/>
<param name="Subject" value="JBoss Sever Errors"/>
<param name="SMTPHost" value="localhost"/>
<param name="BufferSize" value="10"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
</layout>
</appender>
-->
<!-- Syslog events
<appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Facility" value="LOCAL7"/>
<param name="FacilityPrinting" value="true"/>
<param name="SyslogHost" value="localhost"/>
</appender>
-->
<!-- Log events to JMS (requires a topic to be created)
<appender name="JMS" class="org.apache.log4j.net.JMSAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Threshold" value="ERROR"/>
<param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
<param name="TopicBindingName" value="topic/MyErrorsTopic"/>
</appender>
-->
<!-- Log events through SNMP
<appender name="TRAP_LOG" class="org.apache.log4j.ext.SNMPTrapAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="ImplementationClassName" value="org.apache.log4j.ext.JoeSNMPTrapSender"/>
<param name="ManagementHost" value="127.0.0.1"/>
<param name="ManagementHostTrapListenPort" value="162"/>
<param name="EnterpriseOID" value="1.3.6.1.4.1.24.0"/>
<param name="LocalIPAddress" value="127.0.0.1"/>
<param name="LocalTrapSendPort" value="161"/>
<param name="GenericTrapType" value="6"/>
<param name="SpecificTrapType" value="12345678"/>
<param name="CommunityString" value="public"/>
<param name="ForwardStackTraceWithTrap" value="true"/>
<param name="Threshold" value="DEBUG"/>
<param name="ApplicationTrapOID" value="1.3.6.1.4.1.24.12.10.22.64"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d,%p,[%t],[%c],%m%n"/>
</layout>
</appender>
-->
<!-- ================ -->
<!-- Limit categories -->
<!-- ================ -->
<!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
<category name="org.apache">
<priority value="INFO"/>
</category>
<!-- Limit the org.jgroups category to WARN as its INFO is verbose -->
<category name="org.jgroups">
<priority value="WARN"/>
</category>
<!-- Limit apache axis to INFO as its DEBUG is even more verbose -->
<category name="org.jboss.axis">
<priority value="INFO"/>
</category>
<!-- Limit JBoss categories
<category name="org.jboss">
<priority value="INFO"/>
</category>
-->
<!-- Limit the JSR77 categories -->
<category name="org.jboss.management">
<priority value="INFO"/>
</category>
<!-- Limit JBoss webservice category
<category name="org.jboss.webservice">
<priority value="DEBUG"/>
</category>
-->
<!-- Decrease the priority threshold for the org.jboss.varia category
<category name="org.jboss.varia">
<priority value="DEBUG"/>
</category>
-->
<!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]
<category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
<priority value="TRACE" class="org.jboss.logging.XLevel"/>
</category>
-->
<!--
| An example of enabling the custom TRACE level priority that is used
| by the JBoss internals to diagnose low level details. This example
| turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
| subpackages. This will produce A LOT of logging output.
<category name="org.jboss.system">
<priority value="TRACE" class="org.jboss.logging.XLevel"/>
</category>
<category name="org.jboss.ejb.plugins">
<priority value="TRACE" class="org.jboss.logging.XLevel"/>
</category>
-->
<!--
| Logs these events to SNMP:
- server starts/stops
- cluster evolution (node death/startup)
- When an EJB archive is deployed (and associated verified messages)
- When an EAR archive is deployed
<category name="org.jboss.system.server.Server">
<priority value="INFO" />
<appender-ref ref="TRAP_LOG"/>
</category>
<category name="org.jboss.ha.framework.interfaces.HAPartition.lifecycle">
<priority value="INFO" />
<appender-ref ref="TRAP_LOG"/>
</category>
<category name="org.jboss.deployment.MainDeployer">
<priority value="ERROR" />
<appender-ref ref="TRAP_LOG"/>
</category>
<category name="org.jboss.ejb.EJBDeployer">
<priority value="INFO" />
<appender-ref ref="TRAP_LOG"/>
</category>
<category name="org.jboss.deployment.EARDeployer">
<priority value="INFO" />
<appender-ref ref="TRAP_LOG"/>
</category>
-->
<!-- ======================= -->
<!-- Setup the Root category -->
<!-- ======================= -->
<root>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>
<!-- Clustering logging -->
<!-- Uncomment the following to redirect the org.jgroups and
org.jboss.ha categories to a cluster.log file.
<appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="File" value="${jboss.server.home.dir}/log/cluster.log"/>
<param name="Append" value="false"/>
<param name="MaxFileSize" value="500KB"/>
<param name="MaxBackupIndex" value="1"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
</layout>
</appender>
<category name="org.jgroups">
<priority value="DEBUG" />
<appender-ref ref="CLUSTER"/>
</category>
<category name="org.jboss.ha">
<priority value="DEBUG" />
<appender-ref ref="CLUSTER"/>
</category>
-->
</log4j:configuration>

View File

@ -0,0 +1,154 @@
<?xml version='1.0'?>
<!DOCTYPE policy PUBLIC
"-//JBoss//DTD JBOSS Security Config 3.0//EN"
"http://www.jboss.org/j2ee/dtd/security_config.dtd">
<!-- The XML based JAAS login configuration read by the
org.jboss.security.auth.login.XMLLoginConfig mbean. Add
an application-policy element for each security domain.
The outline of the application-policy is:
<application-policy name="security-domain-name">
<authentication>
<login-module code="login.module1.class.name" flag="control_flag">
<module-option name = "option1-name">option1-value</module-option>
<module-option name = "option2-name">option2-value</module-option>
...
</login-module>
<login-module code="login.module2.class.name" flag="control_flag">
...
</login-module>
...
</authentication>
</application-policy>
$Revision: 1.1 $
-->
<policy>
<!-- Used by clients within the application server VM such as
mbeans and servlets that access EJBs.
-->
<application-policy name = "client-login">
<authentication>
<login-module code = "org.jboss.security.ClientLoginModule"
flag = "required">
</login-module>
</authentication>
</application-policy>
<!-- Security domain for JBossMQ -->
<application-policy name = "jbossmq">
<authentication>
<login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
flag = "required">
<module-option name = "unauthenticatedIdentity">guest</module-option>
<module-option name = "dsJndiName">java:/DefaultDS</module-option>
<module-option name = "principalsQuery">SELECT PASSWD FROM JMS_USERS WHERE USERID=?</module-option>
<module-option name = "rolesQuery">SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=?</module-option>
</login-module>
</authentication>
</application-policy>
<!-- Security domain for JBossMQ when using file-state-service.xml
<application-policy name = "jbossmq">
<authentication>
<login-module code = "org.jboss.mq.sm.file.DynamicLoginModule"
flag = "required">
<module-option name = "unauthenticatedIdentity">guest</module-option>
<module-option name = "sm.objectname">jboss.mq:service=StateManager</module-option>
</login-module>
</authentication>
</application-policy>
-->
<!-- Security domains for testing new jca framework -->
<application-policy name = "HsqlDbRealm">
<authentication>
<login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
flag = "required">
<module-option name = "principal">sa</module-option>
<module-option name = "userName">sa</module-option>
<module-option name = "password"></module-option>
<module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
</login-module>
</authentication>
</application-policy>
<application-policy name = "JmsXARealm">
<authentication>
<login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
flag = "required">
<module-option name = "principal">guest</module-option>
<module-option name = "userName">guest</module-option>
<module-option name = "password">guest</module-option>
<module-option name = "managedConnectionFactoryName">jboss.jca:service=TxCM,name=JmsXA</module-option>
</login-module>
</authentication>
</application-policy>
<!-- A template configuration for the jmx-console web application. This
defaults to the UsersRolesLoginModule the same as other and should be
changed to a stronger authentication mechanism as required.
-->
<application-policy name = "jmx-console">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag = "required">
<module-option name="usersProperties">props/jmx-console-users.properties</module-option>
<module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
</login-module>
</authentication>
</application-policy>
<!-- A template configuration for the web-console web application. This
defaults to the UsersRolesLoginModule the same as other and should be
changed to a stronger authentication mechanism as required.
-->
<application-policy name = "web-console">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag = "required">
<module-option name="usersProperties">web-console-users.properties</module-option>
<module-option name="rolesProperties">web-console-roles.properties</module-option>
</login-module>
</authentication>
</application-policy>
<!-- A template configuration for the JBossWS web application (and transport layer!).
This defaults to the UsersRolesLoginModule the same as other and should be
changed to a stronger authentication mechanism as required.
-->
<application-policy name="JBossWS">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag="required">
<module-option name="unauthenticatedIdentity">anonymous</module-option>
</login-module>
</authentication>
</application-policy>
<!-- The default login configuration used by any security domain that
does not have a application-policy entry with a matching name
-->
<application-policy name = "other">
<!-- A simple server login module, which can be used when the number
of users is relatively small. It uses two properties files:
users.properties, which holds users (key) and their password (value).
roles.properties, which holds users (key) and a comma-separated list of
their roles (value).
The unauthenticatedIdentity property defines the name of the principal
that will be used when a null username and password are presented as is
the case for an unuathenticated web client or MDB. If you want to
allow such users to be authenticated add the property, e.g.,
unauthenticatedIdentity="nobody"
-->
<authentication>
<login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule"
flag = "required" />
</authentication>
</application-policy>
</policy>

View File

@ -0,0 +1,2 @@
# A sample roles.properties file for use with the UsersRolesLoginModule
admin=JBossAdmin,HttpInvoker

View File

@ -0,0 +1,2 @@
# A sample users.properties file for use with the UsersRolesLoginModule
admin=admin

View File

@ -0,0 +1,12 @@
/// ====================================================================== ///
// //
// JBoss Security Policy //
// //
/// ====================================================================== ///
// $Id: server.policy,v 1.8 2005/09/04 17:52:10 jjanke Exp $
grant {
// Allow everything for now
permission java.security.AllPermission;
};

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,107 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC
"-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
<!-- $Id: AttributePersistenceService-xmbean.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
<mbean>
<!-- MBean Info -->
<description>XMBean Attribute Persistence Service</description>
<descriptors>
<persistence persistPolicy="OnUpdate"
persistLocation="${jboss.server.data.dir}/xmbean-attrs"
persistName="AttributePersistenceService.ser"/>
<persistence-manager value="org.jboss.mx.persistence.ObjectStreamPersistenceManager"/>
</descriptors>
<class>org.jboss.system.pm.AttributePersistenceService</class>
<!-- Attributes -->
<attribute access="read-write" getMethod="getApmDestroyOnServiceStop" setMethod="setApmDestroyOnServiceStop">
<description>Specifies whether to call destroy() on the AttributePersistenceManager implementation, upon service stop</description>
<name>ApmDestroyOnServiceStop</name>
<type>boolean</type>
<descriptors>
<descriptor name="persistPolicy" value="Never"/>
</descriptors>
</attribute>
<attribute access="read-write" getMethod="getAttributePersistenceManagerClass" setMethod="setAttributePersistenceManagerClass">
<description>The actual AttributePersistenceManager implementation</description>
<name>AttributePersistenceManagerClass</name>
<type>java.lang.String</type>
<descriptors>
<descriptor name="persistPolicy" value="Never"/>
</descriptors>
</attribute>
<attribute access="read-write" getMethod="getAttributePersistenceManagerConfig" setMethod="setAttributePersistenceManagerConfig">
<description>The XML configuration that is passed to the AttributePersistenceManager implementation</description>
<name>AttributePersistenceManagerConfig</name>
<type>org.w3c.dom.Element</type>
<descriptors>
<descriptor name="persistPolicy" value="Never"/>
</descriptors>
</attribute>
<attribute access="read-write" getMethod="getVersionTag" setMethod="setVersionTag">
<description>The version tag to use for stored/loaded Attribute data</description>
<name>VersionTag</name>
<type>java.lang.String</type>
<descriptors>
<descriptor name="persistPolicy" value="OnUpdate"/>
</descriptors>
</attribute>
&defaultAttributes;
<!-- Operations -->
<operation>
<description>Factory method returning the active AttributePersistenceManager implementation, for internal usage</description>
<name>apmCreate</name>
<return-type>org.jboss.mx.persistence.AttributePersistenceManager</return-type>
</operation>
<operation>
<description>Delegated to the active APM returns true when a persisted image with this id exists</description>
<name>apmExists</name>
<parameter>
<description>The id of the persisted attribute image</description>
<name>id</name>
<type>java.lang.String</type>
</parameter>
<return-type>boolean</return-type>
</operation>
<operation>
<description>Delegated to the active APM removes the specified persisted attribute image</description>
<name>apmRemove</name>
<parameter>
<description>The id of the persisted attribute image</description>
<name>id</name>
<type>java.lang.String</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>Delegated to the active APM removes the persisted attribute images</description>
<name>apmRemoveAll</name>
<return-type>void</return-type>
</operation>
<operation>
<description>Delegated to the active APM it returns a list with the ids of all persisted attribute images</description>
<name>apmListAll</name>
<return-type>[Ljava.lang.String;</return-type>
</operation>
<operation>
<description>Delegated to the active APM it returns a single string with the ids of all persisted attribute images</description>
<name>apmListAllAsString</name>
<return-type>java.lang.String</return-type>
</operation>
&defaultOperations;
</mbean>

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC
"-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
<!-- $Id: ClientUserTransaction-xmbean.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
<mbean>
<description>ClientUserTransaction Service.</description>
<class>org.jboss.tm.usertx.server.ClientUserTransactionService</class>
&defaultAttributes;
<attribute access="write-only" setMethod="setTxProxyName">
<description>Set the name of the proxy factory service used for the UserTransactionSession</description>
<name>TxProxyName</name>
<type>javax.management.ObjectName</type>
</attribute>
<operation>
<description>Expose UserTransactionSession and UserTransactionSessionFactory interfaces via JMX to invokers.</description>
<name>invoke</name>
<parameter>
<description>A pointer to the invocation object</description>
<name>invocation</name>
<type>org.jboss.invocation.Invocation</type>
</parameter>
<return-type>java.lang.Object</return-type>
</operation>
&defaultOperations;
</mbean>

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC
"-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
<!-- $Id: -->
<mbean>
<description>JNDIView Service. List deployed application java:comp namespaces,
the java: namespace as well as the global InitialContext JNDI namespace.
</description>
<class>org.jboss.naming.JNDIView</class>
&defaultAttributes;
<operation>
<description>Output JNDI info as text</description>
<name>list</name>
<parameter>
<description>If true, list the class of each object in addition to its name</description>
<name>verbose</name>
<type>boolean</type>
</parameter>
<return-type>java.lang.String</return-type>
</operation>
<operation>
<description>Output JNDI info in XML format</description>
<name>listXML</name>
<return-type>java.lang.String</return-type>
</operation>
&defaultOperations;
</mbean>

View File

@ -0,0 +1,110 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd" [
<!ATTLIST interceptor
proxyName CDATA #IMPLIED
>
]>
<!-- The Log4JService service XMBean
$Id: Log4jService-xmbean.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $
-->
<mbean>
<description>
This MBean allows to get and set Log4j specific options.
See also resource:log4j.xml
</description>
<class>org.jboss.logging.Log4jService</class>
<constructor>
<description>The default constructor</description>
<name>Log4jService</name>
</constructor>
&defaultAttributes;
<attribute access="read-write" getMethod="getConfigurationURL" setMethod="setConfigurationURL">
<description>The URL of the log4j.xml config file.</description>
<name>ConfigurationURL</name>
<type>java.net.URL</type>
</attribute>
<attribute access="read-write" getMethod="getCatchSystemErr" setMethod="setCatchSystemErr">
<description>Should data writen to standard error be caught and integrated into the log output.</description>
<name>CatchSystemErr</name>
<type>boolean</type>
</attribute>
<attribute access="read-write" getMethod="getCatchSystemOut" setMethod="setCatchSystemOut">
<description>Should data writen to standard output be caught and integrated into the log output.</description>
<name>CatchSystemOut</name>
<type>boolean</type>
</attribute>
<attribute access="read-write" getMethod="getLog4jQuietMode" setMethod="setLog4jQuietMode">
<description>Sets the log4j quite mode. For log4j 1.2.8 this must stay on true.</description>
<name>Log4jQuietMode</name>
<type>boolean</type>
</attribute>
<attribute access="read-write" getMethod="getRefreshPeriod" setMethod="setRefreshPeriod">
<description>The time in seconds between checking for new config.</description>
<name>RefreshPeriod</name>
<type>int</type>
</attribute>
<!-- Operations -->
<operation>
<description>Displays the log level of a given logger.</description>
<name>getLoggerLevel</name>
<parameter>
<description>The name of the logger to display.</description>
<name>logger</name>
<type>java.lang.String</type>
</parameter>
<return-type>java.lang.String</return-type>
</operation>
<operation>
<description>Sets the log level for a given logger.</description>
<name>setLoggerLevel</name>
<parameter>
<description>The name of the logger to set.</description>
<name>logger</name>
<type>java.lang.String</type>
</parameter>
<parameter>
<description>The log level to set.</description>
<name>level</name>
<type>java.lang.String</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>Sets the levels of each logger specified by the given comma
seperated list of logger names.</description>
<name>setLoggerLevels</name>
<parameter>
<description>The list of loggers</description>
<name>loggers</name>
<type>java.lang.String</type>
</parameter>
<parameter>
<description>The log level to set</description>
<name>level</name>
<type>java.lang.String</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>Force the logging system to reconfigure.</description>
<name>reconfigure</name>
<return-type>void</return-type>
</operation>
<operation>
<description>Force the logging system to reconfigure with the given URL.</description>
<name>reconfigure</name>
<parameter>
<description>The url for the new configuration.</description>
<name>url</name>
<type>java.lang.String</type>
</parameter>
<return-type>void</return-type>
</operation>
&defaultOperations;
</mbean>

View File

@ -0,0 +1,129 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC
"-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd"
[
<!ATTLIST interceptor proxyName CDATA #IMPLIED>
]>
<!-- The JNDI Naming service XMBean
$Id: NamingService-xmbean.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $
-->
<mbean>
<description>The standard JBoss JNDI naming server with a custom
ProxyFactoryInterceptor interceptor that does replacement of NamingContext
objects with the detached invoker proxy.
</description>
<descriptors>
<interceptors>
<!-- Uncomment to enable NamingContext replacement by the detached
invoker proxy. You need to set the proxyName attribute correctly.
<interceptor code="org.jboss.naming.interceptors.ProxyFactoryInterceptor"
proxyName="jboss:service=proxyFactory,type=pooled,target=Naming"/>
-->
<interceptor code="org.jboss.mx.interceptor.PersistenceInterceptor2" />
<interceptor code="org.jboss.mx.interceptor.ModelMBeanInterceptor" />
<interceptor code="org.jboss.mx.interceptor.ObjectReferenceInterceptor" />
</interceptors>
</descriptors>
<class>org.jboss.naming.NamingService</class>
<constructor>
<description>The default constructor</description>
<name>NamingService</name>
</constructor>
&defaultAttributes;
<attribute access="read-only" getMethod="getMethodMap">
<name>MethodMap</name>
<type>java.util.Map</type>
</attribute>
<attribute access="read-write" getMethod="getCallByValue" setMethod="setCallByValue">
<description>The call by value mode. true if all lookups are unmarshalled using
the caller's TCL, false if in VM lookups return the value by reference.</description>
<name>CallByValue</name>
<type>boolean</type>
</attribute>
<attribute access="read-write" getMethod="getBindAddress" setMethod="setBindAddress">
<description>The bind address of the bootstrap lookup socket.</description>
<name>BindAddress</name>
<type>java.lang.String</type>
</attribute>
<attribute access="read-write" getMethod="getPort" setMethod="setPort">
<description>The listening port for the bootstrap JNP service. Set this to -1
to run the NamingService without the JNP invoker listening port.</description>
<name>Port</name>
<type>int</type>
</attribute>
<attribute access="read-write" getMethod="getBacklog" setMethod="setBacklog">
<description>The bootstrap socket backlog count.</description>
<name>Backlog</name>
<type>int</type>
</attribute>
<attribute access="read-write" getMethod="getJNPServerSocketFactory"
setMethod="setJNPServerSocketFactory">
<description>The bootstrap socket javax.net.ServerSocketFactory</description>
<name>JNPServerSocketFactory</name>
<type>java.lang.String</type>
</attribute>
<attribute access="read-write" getMethod="getRmiPort" setMethod="setRmiPort">
<description>The port of the RMI naming service, 0 == anonymous. This
is only used if an explicit InvokerProxyFactory has not been set.</description>
<name>RmiPort</name>
<type>int</type>
</attribute>
<attribute access="read-write" getMethod="getRmiBindAddress" setMethod="setRmiBindAddress">
<description>The RMI service bind address. Empty == all addresses</description>
<name>RmiBindAddress</name>
<type>java.lang.String</type>
</attribute>
<attribute access="read-write" getMethod="getClientSocketFactory" setMethod="setClientSocketFactory">
<description>The RMI service java.rmi.server.RMIClientSocketFactory</description>
<name>ClientSocketFactory</name>
<type>java.lang.String</type>
</attribute>
<attribute access="read-write" getMethod="getServerSocketFactory" setMethod="setServerSocketFactory">
<description>The RMI service java.rmi.server.RMIServerSocketFactory</description>
<name>ServerSocketFactory</name>
<type>java.lang.String</type>
</attribute>
<attribute access="read-write" getMethod="getInstallGlobalService"
setMethod="setInstallGlobalService">
<name>InstallGlobalService</name>
<type>boolean</type>
</attribute>
<attribute access="write-only" setMethod="setLookupPool">
<description>The thread pool service used to control the bootstrap lookups</description>
<name>LookupPool</name>
<type>org.jboss.util.threadpool.BasicThreadPoolMBean</type>
</attribute>
<attribute access="write-only" setMethod="setInvokerProxyFactory">
<description>The detached invoker proxy factory to use for the naming
service transport.</description>
<name>InvokerProxyFactory</name>
<type>org.jboss.invocation.jrmp.server.JRMPProxyFactoryMBean</type>
</attribute>
<!-- Operations -->
<operation>
<description>The generic invocation operation used by detached invokers
to route requests to the service
</description>
<name>invoke</name>
<parameter>
<description>The Naming interface method invocation encapsulation
</description>
<name>invocation</name>
<type>org.jboss.invocation.Invocation</type>
</parameter>
<return-type>java.lang.Object</return-type>
</operation>
&defaultOperations;
</mbean>

View File

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC
"-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
<!-- $Id: TransactionManagerService-xmbean.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
<mbean>
<description>TransactionManager Service.</description>
<class>org.jboss.tm.TransactionManagerService</class>
&defaultAttributes;
<attribute access="read-write" getMethod="getGlobalIdsEnabled" setMethod="setGlobalIdsEnabled">
<description>Should be set to true for transaction demarcation over IIOP</description>
<name>GlobalIdsEnabled</name>
<type>boolean</type>
</attribute>
<attribute access="read-write" getMethod="isInterruptThreads" setMethod="setInterruptThreads">
<description>Whether to interrupt threads at transaction timeout</description>
<name>InterruptThreads</name>
<type>boolean</type>
</attribute>
<attribute access="read-write" getMethod="getTransactionTimeout" setMethod="setTransactionTimeout">
<description>The transaction timeout in seconds</description>
<name>TransactionTimeout</name>
<type>int</type>
</attribute>
<attribute access="read-write" getMethod="getXidFactory" setMethod="setXidFactory">
<description>Name of the xidFactory</description>
<name>XidFactory</name>
<type>javax.management.ObjectName</type>
</attribute>
<attribute access="read-only" getMethod="getTransactionManager">
<description>Returns the TransactionManager managed by this service</description>
<name>TransactionManager</name>
<type>javax.transaction.TransactionManager</type>
</attribute>
<attribute access="read-only" getMethod="getXATerminator">
<description>Returns the XATerminator managed by this service</description>
<name>XATerminator</name>
<type>org.jboss.tm.JBossXATerminator</type>
</attribute>
<attribute access="read-only" getMethod="getTransactionCount">
<description>Counts the number of active transactions</description>
<name>TransactionCount</name>
<type>long</type>
</attribute>
<attribute access="read-only" getMethod="getCommitCount">
<description>Counts the number of commited transactions</description>
<name>CommitCount</name>
<type>long</type>
</attribute>
<attribute access="read-only" getMethod="getRollbackCount">
<description>Counts the number of transactions that have been rolled back</description>
<name>RollbackCount</name>
<type>long</type>
</attribute>
<operation>
<description>Register a XAException Formatter</description>
<name>registerXAExceptionFormatter</name>
<parameter>
<description>The class of the formatter</description>
<name>clazz</name>
<type>java.lang.Class</type>
</parameter>
<parameter>
<description>A XAExceptionFromatter value</description>
<name>formatter</name>
<type>org.jboss.tm.XAExceptionFormatter</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>Unregister a XAException Formatter</description>
<name>unregisterXAExceptionFormatter</name>
<parameter>
<description>The class of the formatter</description>
<name>clazz</name>
<type>java.lang.Class</type>
</parameter>
<return-type>void</return-type>
</operation>
&defaultOperations;
</mbean>

View File

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC
"-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
<!-- $Id: org.jboss.deployment.JARDeployer-xmbean.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
<mbean>
<description>The JARDeployer adds archives that do not contain META-INF/*.xml
files. The pattern of xml files that correspond to deployment descriptors
can be specified using the DescriptorNames attribute.
</description>
<class>org.jboss.deployment.JARDeployer</class>
<attribute access='read-write' getMethod='getDescriptorNames' setMethod='setDescriptorNames'>
<description>The list of suffixes that define deployment descriptors which
if found in an archive META-INF directory indicate non-jar deployments
which should be ignored by the JARDeployer.</description>
<name>DescriptorNames</name>
<type>[Ljava.lang.String;</type>
<!-- This suffix list represents the legacy behavior that ignored all
archives with META-INF/*.xml files
<descriptors>
<value value=".xml"/>
</descriptors>
-->
<!-- Ignore archives with the standard descriptors in META-INF -->
<descriptors>
<value value="ejb-jar.xml,jboss-service.xml,-ds.xml,ra.xml,application.xml"/>
</descriptors>
</attribute>
&defaultAttributes;
<operation>
<description>Get the associated service DeploymentInfo if found, null otherwise</description>
<name>getService</name>
<parameter>
<name>serviceName</name>
<type>javax.management.ObjectName</type>
</parameter>
<return-type>org.jboss.deployment.DeploymentInfo</return-type>
</operation>
<operation>
<description>This method is called by MainDeployer to determine which
deployer is suitable for a DeploymentInfo.</description>
<name>accepts</name>
<parameter>
<name>di</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>boolean</return-type>
</operation>
<operation>
<description>The init method lets the deployer set a few properties of the
DeploymentInfo, such as the watch url.</description>
<name>init</name>
<parameter>
<name>di</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>Set up the components of the deployment that do not refer to
other components.</description>
<name>create</name>
<parameter>
<name>di</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>The start method starts all the mbeans in this DeploymentInfo.</description>
<name>start</name>
<parameter>
<name>di</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>The stop method invokes stop on the mbeans associated with
the deployment in reverse order relative to start.</description>
<name>stop</name>
<parameter>
<name>di</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>The destroy method invokes destroy on the mbeans associated
with the deployment in reverse order relative to create.</description>
<name>destroy</name>
<parameter>
<name>di</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
&defaultOperations;
</mbean>

View File

@ -0,0 +1,235 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC
"-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
<!-- $Id: The MainDeployer XMBean descriptor -->
<mbean>
<description>The Main deployer is the service which acts as the entry
point for the deployment/undeployment requests.
</description>
<class>org.jboss.deployment.MainDeployer</class>
<attribute access='read-write' setMethod='setCopyFiles' getMethod='getCopyFiles'>
<description></description>
<name>CopyFiles</name>
<type>boolean</type>
<descriptors>
<value value="true"/>
</descriptors>
</attribute>
<attribute access='write-only' setMethod='setServiceController'>
<description></description>
<name>ServiceController</name>
<type>javax.management.ObjectName</type>
</attribute>
<attribute access='read-only' getMethod='getServiceName'>
<description></description>
<name>ServiceName</name>
<type>javax.management.ObjectName</type>
</attribute>
<attribute access='read-only' getMethod='getSuffixOrder'>
<description></description>
<name>SuffixOrder</name>
<type>[Ljava.lang.String;</type>
</attribute>
<attribute access='read-write' setMethod='setEnhancedSuffixOrder' getMethod='getEnhancedSuffixOrder'>
<description></description>
<name>EnhancedSuffixOrder</name>
<type>[Ljava.lang.String;</type>
<!--
<descriptors>
<value value="100:deployer,100:deployer.xml,200:sar,200:service.xml,300:rar,300:ds.xml,500:jar,600:war,600:wsr,600:ear,700:zip,900:last"/>
</descriptors>
-->
</attribute>
<attribute access='read-write' setMethod='setTempDir' getMethod='getTempDir'>
<description></description>
<name>TempDir</name>
<type>java.io.File</type>
</attribute>
<attribute access='read-only' getMethod='getTempDirString'>
<description></description>
<name>TempDirString</name>
<type>java.lang.String</type>
</attribute>
&defaultAttributes;
<operation>
<description></description>
<name>addDeployer</name>
<parameter>
<name>deployer</name>
<type>org.jboss.deployment.SubDeployer</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description></description>
<name>removeDeployer</name>
<parameter>
<name>deployer</name>
<type>org.jboss.deployment.SubDeployer</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description></description>
<name>deploy</name>
<parameter>
<name>url</name>
<type>java.lang.String</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<name>deploy</name>
<parameter>
<name>url</name>
<type>java.net.URL</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description></description>
<name>deploy</name>
<parameter>
<name>sdi</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description></description>
<name>getDeployment</name>
<parameter>
<name>url</name>
<type>java.net.URL</type>
</parameter>
<return-type>org.jboss.deployment.DeploymentInfo</return-type>
</operation>
<operation>
<description></description>
<name>getWatchUrl</name>
<parameter>
<name>url</name>
<type>java.net.URL</type>
</parameter>
<return-type>java.net.URL</return-type>
</operation>
<operation>
<description></description>
<name>isDeployed</name>
<parameter>
<name>url</name>
<type>java.net.URL</type>
</parameter>
<return-type>boolean</return-type>
</operation>
<operation>
<description></description>
<name>isDeployed</name>
<parameter>
<name>url</name>
<type>java.lang.String</type>
</parameter>
<return-type>boolean</return-type>
</operation>
<operation>
<description></description>
<name>listDeployed</name>
<return-type>java.util.Collection</return-type>
</operation>
<operation>
<description></description>
<name>listDeployedAsString</name>
<return-type>java.lang.String</return-type>
</operation>
<operation>
<description></description>
<name>listDeployedModules</name>
<return-type>java.util.Collection</return-type>
</operation>
<operation>
<description></description>
<name>listDeployers</name>
<return-type>java.util.Collection</return-type>
</operation>
<operation>
<description>Check the current deployment states and generate a
IncompleteDeploymentException if there are mbeans waiting for depedencies.
</description>
<name>checkIncompleteDeployments</name>
<return-type>void</return-type>
</operation>
<operation>
<description></description>
<name>listIncompletelyDeployed</name>
<return-type>java.util.Collection</return-type>
</operation>
<operation>
<description></description>
<name>listWaitingForDeployer</name>
<return-type>java.util.Collection</return-type>
</operation>
<operation>
<description></description>
<name>redeploy</name>
<parameter>
<name>url</name>
<type>java.lang.String</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description></description>
<name>redeploy</name>
<parameter>
<name>url</name>
<type>java.net.URL</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description></description>
<name>redeploy</name>
<parameter>
<name>sdi</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description></description>
<name>shutdown</name>
<return-type>void</return-type>
</operation>
<operation>
<description></description>
<name>undeploy</name>
<parameter>
<name>url</name>
<type>java.lang.String</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description></description>
<name>undeploy</name>
<parameter>
<name>url</name>
<type>java.net.URL</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description></description>
<name>undeploy</name>
<parameter>
<name>sdi</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
&defaultOperations;
</mbean>

View File

@ -0,0 +1,107 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC
"-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
<!-- $Id: org.jboss.deployment.SARDeployer-xmbean.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ The SARDeployer XMBean descriptor -->
<mbean>
<description>The SAR deployer handles the JBoss service archive deployments.
</description>
<class>org.jboss.deployment.SARDeployer</class>
<attribute access='read-only' getMethod='getServiceName'>
<description>Get the JMX ObjectName of the service that provides the SubDeployer</description>
<name>ServiceName</name>
<type>javax.management.ObjectName</type>
</attribute>
<attribute access='read-write' getMethod='getSuffixes' setMethod='setSuffixes'>
<description>Get an array of suffixes of interest to this subdeployer</description>
<name>Suffixes</name>
<type>[Ljava.lang.String;</type>
</attribute>
<attribute access='read-write' getMethod='getRelativeOrder' setMethod='setRelativeOrder'>
<description>Get the relative order of the specified suffixes</description>
<name>RelativeOrder</name>
<type>int</type>
</attribute>
<attribute access='read-write' getMethod='getUseNamespaceAwareParser' setMethod='setUseNamespaceAwareParser'>
<description>A flag passed to the JAXP DocumentBuilderFactory setNamespaceAware method</description>
<name>UseNamespaceAwareParser</name>
<type>boolean</type>
<descriptors>
<value value="true"/>
</descriptors>
</attribute>
&defaultAttributes;
<operation>
<description>Get the associated service DeploymentInfo if found, null otherwise</description>
<name>getService</name>
<parameter>
<name>serviceName</name>
<type>javax.management.ObjectName</type>
</parameter>
<return-type>org.jboss.deployment.DeploymentInfo</return-type>
</operation>
<operation>
<description>This method is called by MainDeployer to determine which
deployer is suitable for a DeploymentInfo.</description>
<name>accepts</name>
<parameter>
<name>di</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>boolean</return-type>
</operation>
<operation>
<description>The init method lets the deployer set a few properties of the
DeploymentInfo, such as the watch url.</description>
<name>init</name>
<parameter>
<name>di</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>Set up the components of the deployment that do not refer to
other components.</description>
<name>create</name>
<parameter>
<name>di</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>The start method starts all the mbeans in this DeploymentInfo.</description>
<name>start</name>
<parameter>
<name>di</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>The stop method invokes stop on the mbeans associated with
the deployment in reverse order relative to start.</description>
<name>stop</name>
<parameter>
<name>di</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>The destroy method invokes destroy on the mbeans associated
with the deployment in reverse order relative to create.</description>
<name>destroy</name>
<parameter>
<name>di</name>
<type>org.jboss.deployment.DeploymentInfo</type>
</parameter>
<return-type>void</return-type>
</operation>
&defaultOperations;
</mbean>

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>
<!-- $Id: cache-invalidation-service.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
<!-- ===================================================================== -->
<!-- -->
<!-- Cache Invalidation Service -->
<!-- -->
<!-- ===================================================================== -->
<server>
<mbean code="org.jboss.cache.invalidation.InvalidationManager"
name="jboss.cache:service=InvalidationManager">
</mbean>
<!--
Uncomment if you want to activate the cache invalidation mechanism accross
nodes using the JMS bridge
PropagationMode can be : IN_OUT = 1, IN_ONLY = 2, OUT_ONLY = 3
You can also set the ProviderUrl attribute to another IP:port setting if you
must lookup your JMS information in other JMS trees i.e.
<attribute name="ProviderUrl">MyOtherNode:1099</attribute>
-->
<!--
<mbean code="org.jboss.mq.server.jmx.Topic"
name="jboss.mq.destination:service=Topic,name=JMSCacheInvalidationBridge">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
<depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
</mbean>
<mbean code="org.jboss.cache.invalidation.bridges.JMSCacheInvalidationBridge"
name="jboss.cache:service=InvalidationBridge,type=JavaGroups">
<depends>jboss.cache:service=InvalidationManager</depends>
<depends>jboss.mq.destination:service=Topic,name=JMSCacheInvalidationBridge</depends>
<attribute name="InvalidationManager">jboss.cache:service=InvalidationManager</attribute>
<attribute name="ConnectionFactoryName">java:/ConnectionFactory</attribute>
<attribute name="TopicName">topic/JMSCacheInvalidationBridge</attribute>
<attribute name="PropagationMode">1</attribute>
</mbean>
-->
</server>

View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- The J2EE application client deployer service
-->
<server>
<mbean code="org.jboss.deployment.ClientDeployer"
name="jboss.j2ee:service=ClientDeployer"
xmbean-dd="client-deployer-xmbean.xml" />
<!--
<xmbean>
<description>The J2EE Application Client Deployer</description>
<class>org.jboss.deployment.ClientDeployer</class>
<!- - Attributes - ->
<attribute access="read-only" getMethod="getStateString">
<description>The service state name</description>
<name>StateString</name>
<type>java.lang.String</type>
</attribute>
<attribute access="read-only" getMethod="getState">
<description>The service state value</description>
<name>State</name>
<type>int</type>
</attribute>
<!- - Operations - ->
<operation>
<description>The create lifecycle operation</description>
<name>create</name>
</operation>
<operation>
<description>The start lifecycle operation</description>
<name>start</name>
</operation>
<operation>
<description>The stop lifecycle operation</description>
<name>stop</name>
</operation>
<operation>
<description>The destroy lifecycle operation</description>
<name>destroy</name>
</operation>
</xmbean>
</mbean>
-->
</server>

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- The JBoss service configuration file for the EAR deployer service.
$Id: ear-deployer.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $
-->
<server>
<!-- EAR deployer, remove if you are not using ear deployments -->
<mbean code="org.jboss.deployment.EARDeployer"
name="jboss.j2ee:service=EARDeployer">
<!-- A flag indicating if ear deployments should have their own scoped
class loader to isolate their classes from other deployments.
-->
<attribute name="Isolated">false</attribute>
<!-- A flag indicating if the ear components should have in VM call
optimization disabled.
-->
<attribute name="CallByValue">false</attribute>
</mbean>
</server>

View File

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- The JBoss service configuration file for the EJB deployer service.
$Id: ejb-deployer.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $
-->
<server>
<!-- ==================================================================== -->
<!-- J2EE Timer Service -->
<!-- ==================================================================== -->
<!-- An EJB Timer Service that is Tx aware -->
<mbean code="org.jboss.ejb.txtimer.EJBTimerServiceImpl"
name="jboss.ejb:service=EJBTimerService">
<attribute name="RetryPolicy">jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay</attribute>
<attribute name="PersistencePolicy">jboss.ejb:service=EJBTimerService,persistencePolicy=database</attribute>
<attribute name="TimerIdGeneratorClassName">org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator</attribute>
<attribute name="TimedObjectInvokerClassName">org.jboss.ejb.txtimer.TimedObjectInvokerImpl</attribute>
</mbean>
<!-- A retry policy that uses a fixed interval in milli seconds -->
<mbean code="org.jboss.ejb.txtimer.FixedDelayRetryPolicy" name="jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay">
<attribute name="Delay">100</attribute>
</mbean>
<!-- A persistence policy that does not persist the timer -->
<mbean code="org.jboss.ejb.txtimer.NoopPersistencePolicy" name="jboss.ejb:service=EJBTimerService,persistencePolicy=noop"/>
<!-- A persistence policy that persistes timers to a database /JJ/
<mbean code="org.jboss.ejb.txtimer.DatabasePersistencePolicy" name="jboss.ejb:service=EJBTimerService,persistencePolicy=database">
- DataSource JNDI name -
<depends optional-attribute-name="DataSource">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
- The plugin that handles database persistence -
<attribute name="DatabasePersistencePlugin">org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin</attribute>
</mbean>
-->
<!-- ==================================================================== -->
<!-- EJB Deployer -->
<!-- ==================================================================== -->
<!-- EJB deployer, remove to disable EJB behavior-->
<mbean code="org.jboss.ejb.EJBDeployer" name="jboss.ejb:service=EJBDeployer">
<!-- A flag indicating if the deployer should validate the
ejb-jar.xml/jboss.xml descriptors and components
-->
<attribute name="VerifyDeployments">true</attribute>
<!-- A flag indicating if the xml parser should validate the descriptor
DTDs
-->
<attribute name="ValidateDTDs">false</attribute>
<!-- A flag indicating if the verifier should be verbose about its
operation
-->
<attribute name="VerifierVerbose">true</attribute>
<!-- Setting this to 'true' will cause all deployments
to fail when the Verifier detected a problem with the contained
Beans. If false, warnings/errors will be logged but the deployment
will not fail.
-->
<attribute name="StrictVerifier">true</attribute>
<!-- The EJBDeployer needs the JTA transaction manager service -->
<depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends>
<!-- The dynamic class loading simple web server -->
<depends optional-attribute-name="WebServiceName">jboss:service=WebService</depends>
</mbean>
</server>

View File

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>
<!-- $Id: jboss-serviceTemplate.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
<server>
<!-- The HTTP invoker service configration
-->
<mbean code="org.jboss.invocation.http.server.HttpInvoker"
name="jboss:service=invoker,type=http">
<!-- Use a URL of the form http://<hostname>:8080/invoker/EJBInvokerServlet
where <hostname> is InetAddress.getHostname value on which the server
is running.
-->
<attribute name="InvokerURLPrefix">http://</attribute>
<attribute name="InvokerURLSuffix">:@ADEMPIERE_WEB_PORT@/invoker/EJBInvokerServlet</attribute>
<attribute name="UseHostName">true</attribute>
</mbean>
<!-- Expose the Naming service interface via HTTP -->
<mbean code="org.jboss.invocation.http.server.HttpProxyFactory"
name="jboss:service=invoker,type=http,target=Naming">
<!-- The Naming service we are proxying -->
<attribute name="InvokerName">jboss:service=Naming</attribute>
<!-- Compose the invoker URL from the cluster node address -->
<attribute name="InvokerURLPrefix">http://</attribute>
<attribute name="InvokerURLSuffix">:@ADEMPIERE_WEB_PORT@/invoker/JMXInvokerServlet</attribute>
<attribute name="UseHostName">true</attribute>
<attribute name="ExportedInterface">org.jnp.interfaces.Naming</attribute>
<attribute name="JndiName"></attribute>
<attribute name="ClientInterceptors">
<interceptors>
<interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
<interceptor>org.jboss.naming.interceptors.ExceptionInterceptor</interceptor>
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
</interceptors>
</attribute>
</mbean>
<!-- Expose the Naming service interface via clustered HTTP. This maps
to the ReadOnlyJNDIFactory servlet URL
-->
<mbean code="org.jboss.invocation.http.server.HttpProxyFactory"
name="jboss:service=invoker,type=http,target=Naming,readonly=true">
<attribute name="InvokerName">jboss:service=Naming</attribute>
<attribute name="InvokerURLPrefix">http://</attribute>
<attribute name="InvokerURLSuffix">:@ADEMPIERE_WEB_PORT@/invoker/readonly/JMXInvokerServlet</attribute>
<attribute name="UseHostName">true</attribute>
<attribute name="ExportedInterface">org.jnp.interfaces.Naming</attribute>
<attribute name="JndiName"></attribute>
<attribute name="ClientInterceptors">
<interceptors>
<interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
<interceptor>org.jboss.naming.interceptors.ExceptionInterceptor</interceptor>
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
</interceptors>
</attribute>
</mbean>
</server>

View File

@ -0,0 +1,3 @@
<jboss-web>
<security-domain>java:/jaas/jmx-console</security-domain>
</jboss-web>

View File

@ -0,0 +1,174 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<!-- The http-invoker.sar/invoker.war web.xml descriptor
$Id: web.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $
-->
<web-app>
<filter>
<filter-name>ReadOnlyAccessFilter</filter-name>
<filter-class>org.jboss.invocation.http.servlet.ReadOnlyAccessFilter</filter-class>
<init-param>
<param-name>readOnlyContext</param-name>
<param-value>readonly</param-value>
<description>The top level JNDI context the filter will enforce
read-only access on. If specified only Context.lookup operations
will be allowed on this context. Another other operations or lookups
on any other context will fail. Do not associate this filter with the
JMXInvokerServlets if you want unrestricted access.
</description>
</init-param>
<init-param>
<param-name>invokerName</param-name>
<param-value>jboss:service=Naming</param-value>
<description>The JMX ObjectName of the naming service mbean
</description>
</init-param>
</filter>
<filter-mapping>
<filter-name>ReadOnlyAccessFilter</filter-name>
<url-pattern>/readonly/*</url-pattern>
</filter-mapping>
<!-- ### Servlets -->
<servlet>
<servlet-name>EJBInvokerServlet</servlet-name>
<description>The EJBInvokerServlet receives posts containing serlized
MarshalledInvocation objects that are routed to the EJB invoker given by
the invokerName init-param. The return content is a serialized
MarshalledValue containg the return value of the inovocation, or any
exception that may have been thrown.
</description>
<servlet-class>org.jboss.invocation.http.servlet.InvokerServlet</servlet-class>
<init-param>
<param-name>invokerName</param-name>
<param-value>jboss:service=invoker,type=http</param-value>
<description>The RMI/HTTP EJB compatible invoker</description>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>JMXInvokerServlet</servlet-name>
<description>The JMXInvokerServlet receives posts containing serlized
MarshalledInvocation objects that are routed to the invoker given by
the the MBean whose object name hash is specified by the
invocation.getObjectName() value. The return content is a serialized
MarshalledValue containg the return value of the inovocation, or any
exception that may have been thrown.
</description>
<servlet-class>org.jboss.invocation.http.servlet.InvokerServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>JNDIFactory</servlet-name>
<description>A servlet that exposes the JBoss JNDI Naming service stub
through http. The return content is a serialized
MarshalledValue containg the org.jnp.interfaces.Naming stub. This
configuration handles requests for the standard JNDI naming service.
</description>
<servlet-class>org.jboss.invocation.http.servlet.NamingFactoryServlet</servlet-class>
<init-param>
<param-name>namingProxyMBean</param-name>
<param-value>jboss:service=invoker,type=http,target=Naming</param-value>
</init-param>
<init-param>
<param-name>proxyAttribute</param-name>
<param-value>Proxy</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>ReadOnlyJNDIFactory</servlet-name>
<description>A servlet that exposes the JBoss JNDI Naming service stub
through http, but only for a single read-only context. The return content
is a serialized MarshalledValue containg the org.jnp.interfaces.Naming
stub.
</description>
<servlet-class>org.jboss.invocation.http.servlet.NamingFactoryServlet</servlet-class>
<init-param>
<param-name>namingProxyMBean</param-name>
<param-value>jboss:service=invoker,type=http,target=Naming,readonly=true</param-value>
</init-param>
<init-param>
<param-name>proxyAttribute</param-name>
<param-value>Proxy</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<!-- ### Servlet Mappings -->
<servlet-mapping>
<servlet-name>JNDIFactory</servlet-name>
<url-pattern>/JNDIFactory/*</url-pattern>
</servlet-mapping>
<!-- A mapping for the NamingFactoryServlet that only allows invocations
of lookups under a read-only context. This is enforced by the
ReadOnlyAccessFilter
-->
<servlet-mapping>
<servlet-name>ReadOnlyJNDIFactory</servlet-name>
<url-pattern>/ReadOnlyJNDIFactory/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>EJBInvokerServlet</servlet-name>
<url-pattern>/EJBInvokerServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>JMXInvokerServlet</servlet-name>
<url-pattern>/JMXInvokerServlet/*</url-pattern>
</servlet-mapping>
<!-- A mapping for the JMXInvokerServlet that only allows invocations
of lookups under a read-only context. This is enforced by the
ReadOnlyAccessFilter
-->
<servlet-mapping>
<servlet-name>JMXInvokerServlet</servlet-name>
<url-pattern>/readonly/JMXInvokerServlet/*</url-pattern>
</servlet-mapping>
<!-- Alternate mappings that place the servlets under the restricted
path to required authentication for access. Remove the unsecure mappings
if only authenticated users should be allowed.
-->
<servlet-mapping>
<servlet-name>JNDIFactory</servlet-name>
<url-pattern>/restricted/JNDIFactory/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>JMXInvokerServlet</servlet-name>
<url-pattern>/restricted/JMXInvokerServlet/*</url-pattern>
</servlet-mapping>
<!-- An example security constraint that restricts access to the HTTP invoker
to users with the role HttpInvoker Edit the roles to what you want and
configure the WEB-INF/jboss-web.xml/security-domain element to reference
the security domain you want.
-->
<security-constraint>
<web-resource-collection>
<web-resource-name>HttpInvokers</web-resource-name>
<description>An example security config that only allows users with the
role HttpInvoker to access the HTTP invoker servlets
</description>
<url-pattern>/restricted/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>HttpInvoker</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>JBoss HTTP Invoker</realm-name>
</login-config>
<security-role>
<role-name>HttpInvoker</role-name>
</security-role>
</web-app>

View File

@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== -->
<!-- -->
<!-- JBoss JCA Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!-- $Id: jbossjca-service.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
<!--
| This contains configuration for the RARDeployer
and some xsl based deployers.
-->
<server>
<!-- ==================================================================== -->
<!-- JBossCX setup, for J2EE connector architecture support -->
<!-- The RARDeployer is needed only until xslt based deployment is written.-->
<!-- ==================================================================== -->
<mbean code="org.jboss.util.threadpool.BasicThreadPool"
name="jboss.jca:service=WorkManagerThreadPool">
<!-- The name that appears in thread names -->
<attribute name="Name">WorkManager</attribute>
<!-- The maximum amount of work in the queue -->
<attribute name="MaximumQueueSize">1024</attribute>
<!-- The maximum number of active threads -->
<attribute name="MaximumPoolSize">100</attribute>
<!-- How long to keep threads alive after their last work (default one minute) -->
<attribute name="KeepAliveTime">60000</attribute>
</mbean>
<mbean code="org.jboss.resource.work.JBossWorkManager"
name="jboss.jca:service=WorkManager">
<depends optional-attribute-name="ThreadPoolName">jboss.jca:service=WorkManagerThreadPool</depends>
<depends optional-attribute-name="XATerminatorName">jboss:service=TransactionManager</depends>
</mbean>
<mbean code="org.jboss.resource.deployment.RARDeployer"
name="jboss.jca:service=RARDeployer">
<depends optional-attribute-name="WorkManagerName">jboss.jca:service=WorkManager</depends>
<depends optional-attribute-name="XATerminatorName">jboss:service=TransactionManager</depends>
</mbean>
<mbean code="org.jboss.deployment.XSLSubDeployer" name="jboss.jca:service=ConnectionFactoryDeployer">
<attribute name="DdSuffix">-ds.xml</attribute>
<attribute name="XslUrl">stylesheets/ConnectionFactoryTemplate.xsl</attribute>
</mbean>
<!--
| The CachedConnectionManager is used partly to relay started UserTransactions to
| open connections so they may be enrolled in the new tx.
-->
<mbean code="org.jboss.resource.connectionmanager.CachedConnectionManager"
name="jboss.jca:service=CachedConnectionManager">
<depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends>
<!--SpecCompliant false means JBoss will close connections left open when you
return from a method call and generate a loud warning. SpecCompliant true
means JBoss will disconnect connection handles left open on return from a
method call and reconnect them with an appropriate (security, tx)
connection on the next call to the same object.-->
<attribute name="SpecCompliant">false</attribute>
<!-- Enable connection close debug monitoring -->
<attribute name="Debug">true</attribute>
</mbean>
</server>

View File

@ -0,0 +1,138 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: jboss-service.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
<server>
<mbean code="org.jboss.web.tomcat.tc5.Tomcat5"
name="jboss.web:service=WebServer">
<!-- The JAAS security domain to use in the absense of an explicit
security-domain specification in the war WEB-INF/jboss-web.xml
-->
<attribute name="DefaultSecurityDomain">java:/jaas/other</attribute>
<!-- Get the flag indicating if the normal Java2 parent first class
loading model should be used over the servlet 2.3 web container first
model.
-->
<attribute name="Java2ClassLoadingCompliance">false</attribute>
<!-- A flag indicating if the JBoss Loader should be used. This loader
uses a unified class loader as the class loader rather than the tomcat
specific class loader.
The default is false to ensure that wars have isolated class loading
for duplicate jars and jsp files.
-->
<attribute name="UseJBossWebLoader">false</attribute>
<!-- The list of package names that should not be loaded without
delegating to the parent class loader before trying the web app
class loader. The packages listed here are those tha are used by
the web container implementation and cannot be overriden.
This only applies when UseJBossWebLoader=false.
-->
<attribute name="FilteredPackages">org.apache.commons.logging</attribute>
<attribute name="LenientEjbLink">true</attribute>
<!--
Class of the session manager (used if context is marked as 'distributable'. Currently allowed values:
- org.jboss.web.tomcat.tc5.session.JBossCacheManager
-->
<attribute name="ManagerClass">org.jboss.web.tomcat.tc5.session.JBossCacheManager</attribute>
<!-- The name of the request attribute under with the authenticated JAAS
Subject is stored on successful authentication. If null or empty then
the Subject will not be stored.
-->
<!--
<attribute name="SubjectAttributeName">j_subject</attribute>
-->
<!-- The SessionIdAlphabet is the set of characters used to create a session Id
It must be made up of exactly 65 unique characters
<attribute name="SessionIdAlphabet">ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-*</attribute>
-->
<!--
*******************************************************
****************** CLUSTERING *************************
*******************************************************
In order to activate HTTP Session clustering for Tomcat
make sure you run JBoss's "all" configuration i.e.
"run -c all"
(the default configuration doesn't contain clustering)
Furthermore, you may change SnapshotMode and
SnapshotInterval attributes below to indicate when to
synchronize changes with the other node(s).
If you use Apache+mod_jk(2) you will most probably use
the AJP1.3 connector below. Thus, if you so wish,
you may comment (i.e. deactivate) the HTTP connector
as it won't be used anymore.
*******************************************************
*******************************************************
*******************************************************
-->
<!--
If you are using clustering, the following two attributes
define when the sessions are replicated to the other nodes.
The default value, "instant", synchronously replicates changes
to the other nodes. In this case, the "SnapshotInterval" attribute
is not used.
The "interval" mode, in association with the "SnapshotInterval"
attribute, indicates that Tomcat will only replicates modified
sessions every "SnapshotInterval" miliseconds at most.
-->
<attribute name="SnapshotMode">instant</attribute> <!-- you may switch to "interval" -->
<attribute name="SnapshotInterval">2000</attribute>
<!-- A flag indicating if the local vm session value should be used if
it exists. When true, the existing vm local session values are used and
updates are replicated, but updates to the same session on other nodes
do not update the local session value. This mode is only useful for
failover. When false, the session value is obtained from the distributed
cache. This mode can be used with load balancing.
-->
<attribute name="UseLocalCache">true</attribute>
<!--
Whether to use MOD_JK(2) for load balancing with sticky session
combined with JvmRoute. If set to true, it will insert a JvmRouteFilter
to intercept every request and replace the JvmRoute if it detects a
failover. In addition, you will need to set the JvmRoute inside
Tomcat, e.g.,
Engine name="jboss.web" jmvRoute="Node1" defaultHost="localhost"
in server.xml.
For clustering purpose only.
-->
<attribute name="UseJK">false</attribute>
<attribute name="Domain">jboss.web</attribute>
<!-- A mapping to the server security manager service which must be
operation compatible with type
org.jboss.security.plugins.JaasSecurityManagerServiceMBean. This is only
needed if web applications are allowed to flush the security manager
authentication cache when the web sessions invalidate.
-->
<depends optional-attribute-name="SecurityManagerService"
proxy-type="attribute">jboss.security:service=JaasSecurityManager
</depends>
<!--
Configuration for HTTP Session Clustering using JBossCache
-->
<!--
<depends>jboss.cache:service=TomcatClusteringCache</depends>
-->
<depends>jboss:service=TransactionManager</depends>
<!-- Only needed if the org.jboss.web.tomcat.tc5.jca.CachedConnectionValve
is enabled in the tomcat server.xml file
<depends>jboss.jca:service=CachedConnectionManager</depends>
-->
</mbean>
</server>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Welcome to JBoss</display-name>
<description>
Welcome to JBoss
</description>
<servlet>
<servlet-name>Status Servlet</servlet-name>
<servlet-class>org.jboss.web.tomcat.tc5.StatusServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Status Servlet</servlet-name>
<url-pattern>/status</url-pattern>
</servlet-mapping>
</web-app>

View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Welcome to JBoss&trade;</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="StyleSheet" href="jboss.css" type="text/css"/>
</head>
<body>
<!-- header begin -->
<a href="http://www.jboss.org">
<img src="logo.gif" alt="JBoss" id="logo" width="226" height="105" />
</a>
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<h3>JBoss Online Resources</h3>
<ul>
<li><a href="http://jboss.org/docs/index#as">JBoss 4.0 documentation</a></li>
<li><a href="http://www.jboss.org/wiki/Wiki.jsp">JBoss Wiki</a></li>
<li><a href="http://www.jboss.org/index.html?module=bb">JBoss forums</a></li>
</ul>
<h3>JBoss Management</h3>
<ul>
<li><a href="/status">Tomcat status</a>
<a href="/status?full=true">(full)</a>
<a href="/status?XML=true">(XML)</a></li>
<li><a href="/jmx-console/">JMX Console</a></li>
<li><a href="/web-console/">JBoss Web Console</a></li>
</ul>
<!-- footer begin -->
<div id="footer">
<div id="credits">JBoss&trade; Application Server</div>
<div id="footer_bar">&nbsp;</div>
</div>
<!-- footer end -->
</body>
</html>

View File

@ -0,0 +1,145 @@
body {
margin: 13px 0px 10px 0px;
background-color: #ffffff;
font-size: 10px;
font-family: verdana, arial, "sans-serif";
color: #606060;
}
img {
border: 0px;
}
#header {
background-color: #FF7A22;
background-image: url("header_bg.jpg");
background-repeat: no-repeat;
background-position: 226px 0px;
width: 100%;
height: 80px;
}
#header #banner {
float: right;
margin: 8px 5px 0px 0px;
}
#logo {
position: absolute;
top: 4px;
left: 4px;
z-index: 200;
}
#navigation_bar {
background-color: #f0f0f0;
border-bottom: 1px dotted #999999;
height: 20px;
}
#items {
font-size: 12px;
width: 600px;
margin: 5px 5px 5px 170px;
position: relative;
z-index: 300;
}
#items .item {
margin-right: 10px;
}
.side_block {
margin: 15px 5px 10px 5px;
background-color: #fbfbfb;
border: 1px solid #f0f0f0;
}
.side_block h3 {
font-size: 11px;
font-weight: 100;
width: 100%;
margin: 0px 0px 5px 0px;
padding: 4px 4px 4px 10x;
background-color: #f0f0f0;
}
.side_block h4 {
font-size: 11px;
color: #FF7A22;
font-weight: bold;
margin: 10px 5px 4px 5px;
}
.side_block p {
margin: 5px 5px 3px 5px;
}
.side_block form {
margin: 0px 0px 0px 5px;
}
.side_block #login {
font-size: 9px;
}
.side_block p img {
text-align: center;
}
#content {
width: 90%;
margin: 10px auto;
}
#left {
float: left;
width: 14%;
}
#right {
float: right;
width: 14%;
}
.content_block {
text-align: justify;
border: 1px solid #999999;
margin: 5px;
width: 31%;
float: left;
}
.content_block p {
margin: 0px 5px 3px 5px;
}
.content_block h3 {
font-size: 11px;
font-weight: bold;
color: #000000;
margin: 0px 0px 5px 0px;
padding: 4px 4px 4px 4x;
text-align: center;
background-color: #f0f0f0;
border-bottom: 1px solid #999999
}
.content_block h4 {
font-size: 11px;
color: #FF7A22;
text-align: left;
font-weight: bold;
margin: 10px 5px 4px 5px;
}
#footer {
clear: both;
border-top: 1px dotted #999999;
}
#credits {
background-color: #f0f0f0;
padding: 5px;
text-align: center;
}
#footer_bar {
height: 20px;
width: 100%;
background-color: #FF7A22;
}
.hide {
display: none;
}
.spacer {
clear: both;
}
.spacer hr {
display: none;
}
.center {
text-align: center;
}
#youcandoit {
background-image: url("youcandoit.jpg");
background-repeat: repeat-x;
height: 165px;
margin: 0px 30px 0px 30px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,96 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<!-- Output method -->
<xsl:output encoding="iso-8859-1"
indent="no"/>
<xsl:template match="status">
<html>
<head>
<TITLE>Tomcat Status</TITLE>
<STYLE type="text/css">
body, table, tr, td, a, div, span {
vertical-align : top;
}
</STYLE>
</head>
<body>
<div style='font-size:20px;'>Tomcat Status</div>
<xsl:apply-templates select="jvm"/>
<xsl:apply-templates select="connector"/>
</body>
</html>
</xsl:template>
<xsl:template match="jvm">
<xsl:apply-templates select="memory"/>
</xsl:template>
<xsl:template match="memory">
<table><tr>
<td><b>JVM:</b></td>
<td><b>free:</b> <xsl:value-of select="@free"/></td>
<td><b>total:</b> <xsl:value-of select="@total"/></td>
<td><b>max:</b> <xsl:value-of select="@max"/></td>
</tr>
</table><hr />
</xsl:template>
<xsl:template match="connector">
<b>Connector -- </b> <xsl:value-of select="@name"/><br />
<xsl:apply-templates select="threadInfo"/>
<xsl:apply-templates select="requestInfo"/>
<xsl:apply-templates select="workers"/>
</xsl:template>
<xsl:template match="threadInfo">
<table><tr>
<td><b>threadInfo </b></td>
<td><b>maxThreads:</b> <xsl:value-of select="@maxThreads"/></td>
<td><b>minSpareThreads:</b> <xsl:value-of select="@minSpareThreads"/></td>
<td><b>maxSpareThreads:</b> <xsl:value-of select="@maxSpareThreads"/></td>
<td><b>currentThreadCount:</b> <xsl:value-of select="@currentThreadCount"/></td>
<td><b>currentThreadsBusy:</b> <xsl:value-of select="@currentThreadsBusy"/></td>
</tr>
</table><hr />
</xsl:template>
<xsl:template match="requestInfo">
<table><tr>
<td><b>requestInfo </b></td>
<td><b>maxTime:</b> <xsl:value-of select="@maxTime"/></td>
<td><b>processingTime:</b> <xsl:value-of select="@processingTime"/></td>
<td><b>requestCount:</b> <xsl:value-of select="@requestCount"/></td>
<td><b>errorCount:</b> <xsl:value-of select="@errorCount"/></td>
<td><b>bytesReceived:</b> <xsl:value-of select="@bytesReceived"/></td>
<td><b>bytesSent:</b> <xsl:value-of select="@bytesSent"/></td>
</tr>
</table><hr />
</xsl:template>
<xsl:template match="workers">
<table>
<tr><th>Stage</th><th>Time</th><th>B Sent</th><th>B Recv</th><th>Client</th><th>VHost</th><th>Request</th></tr>
<xsl:apply-templates select="worker"/>
</table><hr />
</xsl:template>
<xsl:template match="worker">
<tr>
<td><xsl:value-of select="@stage"/></td>
<td><xsl:value-of select="@requestProcessingTime"/></td>
<td><xsl:value-of select="@requestBytesSent"/></td>
<td><xsl:value-of select="@requestBytesReceived"/></td>
<td><xsl:value-of select="@remoteAddr"/></td>
<td><xsl:value-of select="@virtualHost"/></td>
<td><xsl:value-of select="@method"/> <xsl:value-of select="@currentUri"/>?<xsl:value-of select="@currentQueryString"/> <xsl:value-of select="@protocol"/></td>
</tr>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,984 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<!-- ======================== Introduction ============================== -->
<!-- This document defines default values for *all* web applications -->
<!-- loaded into this instance of Tomcat. As each application is -->
<!-- deployed, this file is processed, followed by the -->
<!-- "/WEB-INF/web.xml" deployment descriptor from your own -->
<!-- applications. -->
<!-- -->
<!-- WARNING: Do not configure application-specific resources here! -->
<!-- They should go in the "/WEB-INF/web.xml" file in your application. -->
<!-- ================== Common filter Configuration ==================== -->
<filter>
<filter-name>CommonHeadersFilter</filter-name>
<filter-class>org.jboss.web.tomcat.filters.ReplyHeaderFilter</filter-class>
<init-param>
<param-name>X-Powered-By</param-name>
<param-value>Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CommonHeadersFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- ================== Built In Servlet Definitions ==================== -->
<!-- The default servlet for all web applications, that serves static -->
<!-- resources. It processes all requests that are not mapped to other -->
<!-- servlets with servlet mappings (defined either here or in your own -->
<!-- web.xml file. This servlet supports the following initialization -->
<!-- parameters (default values are in square brackets): -->
<!-- -->
<!-- debug Debugging detail level for messages logged -->
<!-- by this servlet. [0] -->
<!-- -->
<!-- input Input buffer size (in bytes) when reading -->
<!-- resources to be served. [2048] -->
<!-- -->
<!-- listings Should directory listings be produced if there -->
<!-- is no welcome file in this directory? [true] -->
<!-- -->
<!-- output Output buffer size (in bytes) when writing -->
<!-- resources to be served. [2048] -->
<!-- -->
<!-- readonly Is this context "read only", so HTTP -->
<!-- commands like PUT and DELETE are -->
<!-- rejected? [true] -->
<!-- -->
<!-- readmeFile File name to display with the directory -->
<!-- contents. [null] -->
<!-- -->
<!-- For directory listing customization. Checks localXsltFile, then -->
<!-- globalXsltFile, then defaults to original behavior. -->
<!-- -->
<!-- localXsltFile Make directory listings an XML doc and -->
<!-- pass the result to this style sheet residing -->
<!-- in that directory. This overrides -->
<!-- globalXsltFile[null] -->
<!-- -->
<!-- globalXsltFile Site wide configuration version of -->
<!-- localXsltFile This argument is expected -->
<!-- to be a physical file. [null] -->
<!-- -->
<!-- -->
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- The "invoker" servlet, which executes anonymous servlet classes -->
<!-- that have not been defined in a web.xml file. Traditionally, this -->
<!-- servlet is mapped to the URL pattern "/servlet/*", but you can map -->
<!-- it to other patterns as well. The extra path info portion of such a -->
<!-- request must be the fully qualified class name of a Java class that -->
<!-- implements Servlet (or extends HttpServlet), or the servlet name -->
<!-- of an existing servlet definition. This servlet supports the -->
<!-- following initialization parameters (default values are in square -->
<!-- brackets): -->
<!-- -->
<!-- debug Debugging detail level for messages logged -->
<!-- by this servlet. [0] -->
<!--
<servlet>
<servlet-name>invoker</servlet-name>
<servlet-class>
org.apache.catalina.servlets.InvokerServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
-->
<!-- The JSP page compiler and execution servlet, which is the mechanism -->
<!-- used by Tomcat to support JSP pages. Traditionally, this servlet -->
<!-- is mapped to the URL pattern "*.jsp". This servlet supports the -->
<!-- following initialization parameters (default values are in square -->
<!-- brackets): -->
<!-- -->
<!-- checkInterval If development is false and checkInterval is -->
<!-- greater than zero, background compilations are -->
<!-- enabled. checkInterval is the time in seconds -->
<!-- between checks to see if a JSP page needs to -->
<!-- be recompiled. [0] -->
<!-- -->
<!-- modificationTestInterval -->
<!-- Causes a JSP (and its dependent files) to not -->
<!-- be checked for modification during the -->
<!-- specified time interval (in seconds) from the -->
<!-- last time the JSP was checked for -->
<!-- modification. A value of 0 will cause the JSP -->
<!-- to be checked on every access. -->
<!-- Used in development mode only. [4] -->
<!-- -->
<!-- compiler Which compiler Ant should use to compile JSP -->
<!-- pages. See the Ant documentation for more -->
<!-- information. [javac] -->
<!-- -->
<!-- classdebuginfo Should the class file be compiled with -->
<!-- debugging information? [true] -->
<!-- -->
<!-- classpath What class path should I use while compiling -->
<!-- generated servlets? [Created dynamically -->
<!-- based on the current web application] -->
<!-- -->
<!-- development Is Jasper used in development mode? If true, -->
<!-- the frequency at which JSPs are checked for -->
<!-- modification may be specified via the -->
<!-- modificationTestInterval parameter. [true] -->
<!-- -->
<!-- enablePooling Determines whether tag handler pooling is -->
<!-- enabled [true] -->
<!-- -->
<!-- fork Tell Ant to fork compiles of JSP pages so that -->
<!-- a separate JVM is used for JSP page compiles -->
<!-- from the one Tomcat is running in. [true] -->
<!-- -->
<!-- ieClassId The class-id value to be sent to Internet -->
<!-- Explorer when using <jsp:plugin> tags. -->
<!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] -->
<!-- -->
<!-- javaEncoding Java file encoding to use for generating java -->
<!-- source files. [UTF8] -->
<!-- -->
<!-- keepgenerated Should we keep the generated Java source code -->
<!-- for each page instead of deleting it? [true] -->
<!-- -->
<!-- mappedfile Should we generate static content with one -->
<!-- print statement per input line, to ease -->
<!-- debugging? [true] -->
<!-- -->
<!-- trimSpaces Should white spaces in template text between -->
<!-- actions or directives be trimmed? [false] -->
<!-- -->
<!-- suppressSmap Should the generation of SMAP info for JSR45 -->
<!-- debugging be suppressed? [false] -->
<!-- -->
<!-- dumpSmap Should the SMAP info for JSR45 debugging be -->
<!-- dumped to a file? [false] -->
<!-- False if suppressSmap is true -->
<!-- -->
<!-- genStrAsCharArray Should text strings be generated as char -->
<!-- arrays, to improve performance in some cases? -->
<!-- [false] -->
<!-- -->
<!-- errorOnUseBeanInvalidClassAttribute -->
<!-- Should Jasper issue an error when the value of -->
<!-- the class attribute in an useBean action is -->
<!-- not a valid bean class? [true] -->
<!-- -->
<!-- scratchdir What scratch directory should we use when -->
<!-- compiling JSP pages? [default work directory -->
<!-- for the current web application] -->
<!-- -->
<!-- xpoweredBy Determines whether X-Powered-By response -->
<!-- header is added by generated servlet [false] -->
<!-- -->
<!-- If you wish to use Jikes to compile JSP pages: -->
<!-- Set the init parameter "compiler" to "jikes". Define -->
<!-- the property "-Dbuild.compiler.emacs=true" when starting Tomcat -->
<!-- by adding the above to your CATALINA_OPTS environment variable. -->
<!-- If you get an error reporting that jikes can't use UTF8 encoding, -->
<!-- try setting the init parameter "javaEncoding" to "ISO-8859-1". -->
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<!-- Use a custom options class to allow the shared tag lib descriptors
to be loaded from jars in the tomcat sar conf/tlds directory. The
standard options implementation can only find taglibs based on the
class loader classpath.
-->
<init-param>
<param-name>engineOptionsClass</param-name>
<param-value>org.jboss.web.tomcat.tc5.jasper.JspServletOptions</param-value>
</init-param>
<!-- Specify the jars relative to the jbossweb-tomcat55.sar that should
be scanned for common tag lib descriptors to include in every war
deployment.
-->
<init-param>
<description>MyFaces tlds</description>
<param-name>tagLibJar0</param-name>
<param-value>jsf-libs/myfaces-impl.jar</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
<!-- Server Side Includes processing servlet, which processes SSI -->
<!-- directives in HTML pages consistent with similar support in web -->
<!-- servers like Apache. Traditionally, this servlet is mapped to the -->
<!-- URL pattern "*.shtml". This servlet supports the following -->
<!-- initialization parameters (default values are in square brackets): -->
<!-- -->
<!-- buffered Should output from this servlet be buffered? -->
<!-- (0=false, 1=true) [0] -->
<!-- -->
<!-- debug Debugging detail level for messages logged -->
<!-- by this servlet. [0] -->
<!-- -->
<!-- expires The number of seconds before a page with SSI -->
<!-- directives will expire. [No default] -->
<!-- -->
<!-- isVirtualWebappRelative -->
<!-- Should "virtual" paths be interpreted as -->
<!-- relative to the context root, instead of -->
<!-- the server root? (0=false, 1=true) [0] -->
<!-- -->
<!-- -->
<!-- IMPORTANT: To use the SSI servlet, you also need to rename the -->
<!-- $CATALINA_HOME/server/lib/servlets-ssi.renametojar file -->
<!-- to $CATALINA_HOME/server/lib/servlets-ssi.jar -->
<!--
<servlet>
<servlet-name>ssi</servlet-name>
<servlet-class>
org.apache.catalina.ssi.SSIServlet
</servlet-class>
<init-param>
<param-name>buffered</param-name>
<param-value>1</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>expires</param-name>
<param-value>666</param-value>
</init-param>
<init-param>
<param-name>isVirtualWebappRelative</param-name>
<param-value>0</param-value>
</init-param>
<load-on-startup>4</load-on-startup>
</servlet>
-->
<!-- Common Gateway Includes (CGI) processing servlet, which supports -->
<!-- execution of external applications that conform to the CGI spec -->
<!-- requirements. Typically, this servlet is mapped to the URL pattern -->
<!-- "/cgi-bin/*", which means that any CGI applications that are -->
<!-- executed must be present within the web application. This servlet -->
<!-- supports the following initialization parameters (default values -->
<!-- are in square brackets): -->
<!-- -->
<!-- cgiPathPrefix The CGI search path will start at -->
<!-- webAppRootDir + File.separator + this prefix. -->
<!-- [WEB-INF/cgi] -->
<!-- -->
<!-- debug Debugging detail level for messages logged -->
<!-- by this servlet. [0] -->
<!-- -->
<!-- executable Name of the exectuable used to run the -->
<!-- script. [perl] -->
<!-- -->
<!-- parameterEncoding Name of parameter encoding to be used with -->
<!-- CGI servlet. -->
<!-- [System.getProperty("file.encoding","UTF-8")] -->
<!-- -->
<!-- passShellEnvironment Should the shell environment variables (if -->
<!-- any) be passed to the CGI script? [false] -->
<!-- -->
<!-- IMPORTANT: To use the CGI servlet, you also need to rename the -->
<!-- $CATALINA_HOME/server/lib/servlets-cgi.renametojar file -->
<!-- to $CATALINA_HOME/server/lib/servlets-cgi.jar -->
<!--
<servlet>
<servlet-name>cgi</servlet-name>
<servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>6</param-value>
</init-param>
<init-param>
<param-name>cgiPathPrefix</param-name>
<param-value>WEB-INF/cgi</param-value>
</init-param>
<load-on-startup>5</load-on-startup>
</servlet>
-->
<!-- ================ Built In Servlet Mappings ========================= -->
<!-- The servlet mappings for the built in servlets defined above. Note -->
<!-- that, by default, the CGI and SSI servlets are *not* mapped. You -->
<!-- must uncomment these mappings (or add them to your application's own -->
<!-- web.xml deployment descriptor) to enable these services -->
<!-- The mapping for the default servlet -->
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<!-- The mapping for the invoker servlet -->
<!--
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
-->
<!-- The mapping for the JSP servlet -->
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jspx</url-pattern>
</servlet-mapping>
<!-- The mapping for the SSI servlet -->
<!--
<servlet-mapping>
<servlet-name>ssi</servlet-name>
<url-pattern>*.shtml</url-pattern>
</servlet-mapping>
-->
<!-- The mapping for the CGI Gateway servlet -->
<!--
<servlet-mapping>
<servlet-name>cgi</servlet-name>
<url-pattern>/cgi-bin/*</url-pattern>
</servlet-mapping>
-->
<!-- ==================== Default Session Configuration ================= -->
<!-- You can set the default session timeout (in minutes) for all newly -->
<!-- created sessions by modifying the value below. -->
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<!-- ===================== Default MIME Type Mappings =================== -->
<!-- When serving static resources, Tomcat will automatically generate -->
<!-- a "Content-Type" header based on the resource's filename extension, -->
<!-- based on these mappings. Additional mappings can be added here (to -->
<!-- apply to all web applications), or in your own application's web.xml -->
<!-- deployment descriptor. -->
<mime-mapping>
<extension>abs</extension>
<mime-type>audio/x-mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ai</extension>
<mime-type>application/postscript</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aif</extension>
<mime-type>audio/x-aiff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aifc</extension>
<mime-type>audio/x-aiff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aiff</extension>
<mime-type>audio/x-aiff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aim</extension>
<mime-type>application/x-aim</mime-type>
</mime-mapping>
<mime-mapping>
<extension>art</extension>
<mime-type>image/x-jg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>asf</extension>
<mime-type>video/x-ms-asf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>asx</extension>
<mime-type>video/x-ms-asf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>au</extension>
<mime-type>audio/basic</mime-type>
</mime-mapping>
<mime-mapping>
<extension>avi</extension>
<mime-type>video/x-msvideo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>avx</extension>
<mime-type>video/x-rad-screenplay</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bcpio</extension>
<mime-type>application/x-bcpio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bin</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bmp</extension>
<mime-type>image/bmp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>body</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cdf</extension>
<mime-type>application/x-cdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cer</extension>
<mime-type>application/x-x509-ca-cert</mime-type>
</mime-mapping>
<mime-mapping>
<extension>class</extension>
<mime-type>application/java</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cpio</extension>
<mime-type>application/x-cpio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>csh</extension>
<mime-type>application/x-csh</mime-type>
</mime-mapping>
<mime-mapping>
<extension>css</extension>
<mime-type>text/css</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dib</extension>
<mime-type>image/bmp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>doc</extension>
<mime-type>application/msword</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dtd</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dv</extension>
<mime-type>video/x-dv</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dvi</extension>
<mime-type>application/x-dvi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>eps</extension>
<mime-type>application/postscript</mime-type>
</mime-mapping>
<mime-mapping>
<extension>etx</extension>
<mime-type>text/x-setext</mime-type>
</mime-mapping>
<mime-mapping>
<extension>exe</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gif</extension>
<mime-type>image/gif</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gtar</extension>
<mime-type>application/x-gtar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gz</extension>
<mime-type>application/x-gzip</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hdf</extension>
<mime-type>application/x-hdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hqx</extension>
<mime-type>application/mac-binhex40</mime-type>
</mime-mapping>
<mime-mapping>
<extension>htc</extension>
<mime-type>text/x-component</mime-type>
</mime-mapping>
<mime-mapping>
<extension>htm</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hqx</extension>
<mime-type>application/mac-binhex40</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ief</extension>
<mime-type>image/ief</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jad</extension>
<mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jar</extension>
<mime-type>application/java-archive</mime-type>
</mime-mapping>
<mime-mapping>
<extension>java</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jnlp</extension>
<mime-type>application/x-java-jnlp-file</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jpe</extension>
<mime-type>image/jpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jpeg</extension>
<mime-type>image/jpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jpg</extension>
<mime-type>image/jpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>js</extension>
<mime-type>text/javascript</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jsf</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jspf</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>kar</extension>
<mime-type>audio/x-midi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>latex</extension>
<mime-type>application/x-latex</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m3u</extension>
<mime-type>audio/x-mpegurl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mac</extension>
<mime-type>image/x-macpaint</mime-type>
</mime-mapping>
<mime-mapping>
<extension>man</extension>
<mime-type>application/x-troff-man</mime-type>
</mime-mapping>
<mime-mapping>
<extension>me</extension>
<mime-type>application/x-troff-me</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mid</extension>
<mime-type>audio/x-midi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>midi</extension>
<mime-type>audio/x-midi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mif</extension>
<mime-type>application/x-mif</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mov</extension>
<mime-type>video/quicktime</mime-type>
</mime-mapping>
<mime-mapping>
<extension>movie</extension>
<mime-type>video/x-sgi-movie</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mp1</extension>
<mime-type>audio/x-mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mp2</extension>
<mime-type>audio/x-mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mp3</extension>
<mime-type>audio/x-mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpa</extension>
<mime-type>audio/x-mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpe</extension>
<mime-type>video/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpeg</extension>
<mime-type>video/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpega</extension>
<mime-type>audio/x-mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpg</extension>
<mime-type>video/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpv2</extension>
<mime-type>video/mpeg2</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ms</extension>
<mime-type>application/x-wais-source</mime-type>
</mime-mapping>
<mime-mapping>
<extension>nc</extension>
<mime-type>application/x-netcdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>oda</extension>
<mime-type>application/oda</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pbm</extension>
<mime-type>image/x-portable-bitmap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pct</extension>
<mime-type>image/pict</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pdf</extension>
<mime-type>application/pdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pgm</extension>
<mime-type>image/x-portable-graymap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pic</extension>
<mime-type>image/pict</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pict</extension>
<mime-type>image/pict</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pls</extension>
<mime-type>audio/x-scpls</mime-type>
</mime-mapping>
<mime-mapping>
<extension>png</extension>
<mime-type>image/png</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pnm</extension>
<mime-type>image/x-portable-anymap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pnt</extension>
<mime-type>image/x-macpaint</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ppm</extension>
<mime-type>image/x-portable-pixmap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ppt</extension>
<mime-type>application/powerpoint</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ps</extension>
<mime-type>application/postscript</mime-type>
</mime-mapping>
<mime-mapping>
<extension>psd</extension>
<mime-type>image/x-photoshop</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qt</extension>
<mime-type>video/quicktime</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qti</extension>
<mime-type>image/x-quicktime</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qtif</extension>
<mime-type>image/x-quicktime</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ras</extension>
<mime-type>image/x-cmu-raster</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rgb</extension>
<mime-type>image/x-rgb</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rm</extension>
<mime-type>application/vnd.rn-realmedia</mime-type>
</mime-mapping>
<mime-mapping>
<extension>roff</extension>
<mime-type>application/x-troff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rtf</extension>
<mime-type>application/rtf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rtx</extension>
<mime-type>text/richtext</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sh</extension>
<mime-type>application/x-sh</mime-type>
</mime-mapping>
<mime-mapping>
<extension>shar</extension>
<mime-type>application/x-shar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>smf</extension>
<mime-type>audio/x-midi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sit</extension>
<mime-type>application/x-stuffit</mime-type>
</mime-mapping>
<mime-mapping>
<extension>snd</extension>
<mime-type>audio/basic</mime-type>
</mime-mapping>
<mime-mapping>
<extension>src</extension>
<mime-type>application/x-wais-source</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sv4cpio</extension>
<mime-type>application/x-sv4cpio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sv4crc</extension>
<mime-type>application/x-sv4crc</mime-type>
</mime-mapping>
<mime-mapping>
<extension>swf</extension>
<mime-type>application/x-shockwave-flash</mime-type>
</mime-mapping>
<mime-mapping>
<extension>t</extension>
<mime-type>application/x-troff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tar</extension>
<mime-type>application/x-tar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tcl</extension>
<mime-type>application/x-tcl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tex</extension>
<mime-type>application/x-tex</mime-type>
</mime-mapping>
<mime-mapping>
<extension>texi</extension>
<mime-type>application/x-texinfo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>texinfo</extension>
<mime-type>application/x-texinfo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tif</extension>
<mime-type>image/tiff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tiff</extension>
<mime-type>image/tiff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tr</extension>
<mime-type>application/x-troff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tsv</extension>
<mime-type>text/tab-separated-values</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ulw</extension>
<mime-type>audio/basic</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ustar</extension>
<mime-type>application/x-ustar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xbm</extension>
<mime-type>image/x-xbitmap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xht</extension>
<mime-type>application/xhtml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xhtml</extension>
<mime-type>application/xhtml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xml</extension>
<mime-type>text/xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xpm</extension>
<mime-type>image/x-xpixmap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xsl</extension>
<mime-type>text/xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xwd</extension>
<mime-type>image/x-xwindowdump</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wav</extension>
<mime-type>audio/x-wav</mime-type>
</mime-mapping>
<mime-mapping>
<extension>svg</extension>
<mime-type>image/svg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>svgz</extension>
<mime-type>image/svg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vsd</extension>
<mime-type>application/x-visio</mime-type>
</mime-mapping>
<mime-mapping>
<!-- Wireless Bitmap -->
<extension>wbmp</extension>
<mime-type>image/vnd.wap.wbmp</mime-type>
</mime-mapping>
<mime-mapping>
<!-- WML Source -->
<extension>wml</extension>
<mime-type>text/vnd.wap.wml</mime-type>
</mime-mapping>
<mime-mapping>
<!-- Compiled WML -->
<extension>wmlc</extension>
<mime-type>application/vnd.wap.wmlc</mime-type>
</mime-mapping>
<mime-mapping>
<!-- WML Script Source -->
<extension>wmls</extension>
<mime-type>text/vnd.wap.wmlscript</mime-type>
</mime-mapping>
<mime-mapping>
<!-- Compiled WML Script -->
<extension>wmlscriptc</extension>
<mime-type>application/vnd.wap.wmlscriptc</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wrl</extension>
<mime-type>x-world/x-vrml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>Z</extension>
<mime-type>application/x-compress</mime-type>
</mime-mapping>
<mime-mapping>
<extension>z</extension>
<mime-type>application/x-compress</mime-type>
</mime-mapping>
<mime-mapping>
<extension>zip</extension>
<mime-type>application/zip</mime-type>
</mime-mapping>
<!-- ==================== Default Welcome File List ===================== -->
<!-- When a request URI refers to a directory, the default servlet looks -->
<!-- for a "welcome file" within that directory and, if present, -->
<!-- to the corresponding resource URI for display. If no welcome file -->
<!-- is present, the default servlet either serves a directory listing, -->
<!-- or returns a 404 status, depending on how it is configured. -->
<!-- -->
<!-- If you define welcome files in your own application's web.xml -->
<!-- deployment descriptor, that list *replaces* the list configured -->
<!-- here, so be sure that you include any of the default values that -->
<!-- you wish to include. -->
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>

View File

@ -0,0 +1,4 @@
<!-- The contents of this file will be loaded for each web application -->
<Context cookies="true" crossContext="true">
</Context>

View File

@ -0,0 +1,127 @@
<Server>
<!-- Use a custom version of StandardService that allows the
connectors to be started independent of the normal lifecycle
start to allow web apps to be deployed before starting the
connectors.
-->
<Service name="jboss.web"
className="org.jboss.web.tomcat.tc5.StandardService">
<!-- A HTTP/1.1 Connector on port 8080 -->
<Connector port="@ADEMPIERE_WEB_PORT@" address="${jboss.bind.address}"
maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
emptySessionPath="true"
enableLookups="false" redirectPort="@ADEMPIERE_SSL_PORT@" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"/>
<!-- A AJP 1.3 Connector on port 8009 -->
<Connector port="8009" address="${jboss.bind.address}"
emptySessionPath="true" enableLookups="false" redirectPort="8443"
protocol="AJP/1.3"/>
<!-- SSL/TLS Connector configuration using the admin devl guide keystore -->
<Connector port="@ADEMPIERE_SSL_PORT@" address="${jboss.bind.address}"
maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
emptySessionPath="true"
scheme="https" secure="true" clientAuth="false"
keystoreFile="@ADEMPIERE_KEYSTORE@"
keystorePass="@ADEMPIERE_KEYSTOREPASS@"
sslProtocol = "TLS" />
<Engine name="jboss.web" defaultHost="localhost">
<!-- The JAAS based authentication and authorization realm implementation
that is compatible with the jboss 3.2.x realm implementation.
- certificatePrincipal : the class name of the
org.jboss.security.auth.certs.CertificatePrincipal impl
used for mapping X509[] cert chains to a Princpal.
-->
<Realm className="org.jboss.web.tomcat.security.JBossSecurityMgrRealm"
certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
/>
<!-- A subclass of JBossSecurityMgrRealm that uses the authentication
behavior of JBossSecurityMgrRealm, but overrides the authorization
checks to use JACC permissions with the current java.security.Policy
to determine authorized access.
<Realm className="org.jboss.web.tomcat.security.JaccAuthorizationRealm"
certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
/>
-->
<Host name="localhost"
autoDeploy="false" deployOnStartup="false" deployXML="false">
<!-- Uncomment to enable request dumper. This Valve "logs interesting
contents from the specified Request (before processing) and the
corresponding Response (after processing). It is especially useful
in debugging problems related to headers and cookies."
-->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve" />
-->
<!-- Access logger -->
<!--
<Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
prefix="localhost_access_log." suffix=".log"
pattern="common" directory="${jboss.server.home.dir}/log"
resolveHosts="false" />
-->
<!-- Uncomment to enable single sign-on across web apps
deployed to this host. Does not provide SSO across a cluster.
If this valve is used, do not use the JBoss ClusteredSingleSignOn
valve shown below.
-->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Uncomment to enable single sign-on across web apps
deployed to this host AND to all other hosts in the cluster
with the same virtual hostname.
If this valve is used, do not use the standard Tomcat SingleSignOn
valve shown above.
This valve uses JGroups to communicate across the cluster. The
JGroups Channel used for this communication can be configured
by editing the "sso-channel.xml" file found in the same folder
as this file. If this valve is running on a machine with multiple
IP addresses, configuring the "bind_addr" property of the JGroups
UDP protocol may be necessary. Another possible configuration
change would be to enable encryption of intra-cluster communications.
See the sso-channel.xml file for more details.
Besides the attributes supported by the standard Tomcat
SingleSignOn valve (see the Tomcat docs), this version also supports
the following attribute:
partitionName the name of the cluster partition in which
this node participates. If not set, the default
value is "sso-partition/" + the value of the
"name" attribute of the Host element that
encloses this element (e.g. "sso-partition/localhost")
-->
<!--
<Valve className="org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn" />
-->
<!-- Uncomment to check for unclosed connections and transaction terminated checks
in servlets/jsps.
Important: You need to uncomment the dependency on the CachedConnectionManager
in META-INF/jboss-service.xml
<Valve className="org.jboss.web.tomcat.tc5.jca.CachedConnectionValve"
cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"
transactionManagerObjectName="jboss:service=TransactionManager" />
-->
</Host>
</Engine>
</Service>
</Server>

View File

@ -0,0 +1,4 @@
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.2
Created-By: 1.4.2_05-b04 (Sun Microsystems Inc.)

View File

@ -0,0 +1,7 @@
<jboss-web>
<!-- Uncomment the security-domain to enable security. You will
need to edit the htmladaptor login configuration to setup the
login modules used to authentication users.
<security-domain>java:/jaas/jmx-console</security-domain>
-->
</jboss-web>

View File

@ -0,0 +1,89 @@
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>The standard web descriptor for the html adaptor</description>
<servlet>
<servlet-name>HtmlAdaptor</servlet-name>
<servlet-class>org.jboss.jmx.adaptor.html.HtmlAdaptorServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>ClusteredConsoleServlet</servlet-name>
<servlet-class>org.jboss.jmx.adaptor.html.ClusteredConsoleServlet</servlet-class>
<init-param>
<param-name>jgProps</param-name>
<param-value>UDP(ip_mcast=true;ip_ttl=16;loopback=false;mcast_addr=228.1.2.3;mcast_port=45566):
org.jboss.jmx.adaptor.control.FindView
</param-value>
<description>The JGroups protocol stack config</description>
</init-param>
</servlet>
<servlet>
<servlet-name>DisplayMBeans</servlet-name>
<jsp-file>/displayMBeans.jsp</jsp-file>
</servlet>
<servlet>
<servlet-name>InspectMBean</servlet-name>
<jsp-file>/inspectMBean.jsp</jsp-file>
</servlet>
<servlet>
<servlet-name>DisplayOpResult</servlet-name>
<jsp-file>/displayOpResult.jsp</jsp-file>
</servlet>
<servlet>
<servlet-name>ClusterView</servlet-name>
<jsp-file>/cluster/clusterView.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>HtmlAdaptor</servlet-name>
<url-pattern>/HtmlAdaptor</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ClusteredConsoleServlet</servlet-name>
<url-pattern>/cluster/ClusteredConsole</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DisplayMBeans</servlet-name>
<url-pattern>/DisplayMBeans</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>InspectMBean</servlet-name>
<url-pattern>/InspectMBean</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DisplayOpResult</servlet-name>
<url-pattern>/DisplayOpResult</url-pattern>
</servlet-mapping>
<!-- A security constraint that restricts access to the HTML JMX console
to users with the role JBossAdmin. Edit the roles to what you want and
uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
secured access to the HTML JMX console.
<security-constraint>
<web-resource-collection>
<web-resource-name>HtmlAdaptor</web-resource-name>
<description>An example security config that only allows users with the
role JBossAdmin to access the HTML JMX console web application
</description>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>JBossAdmin</role-name>
</auth-constraint>
</security-constraint>
-->
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>JBoss JMX Console</realm-name>
</login-config>
<security-role>
<role-name>JBossAdmin</role-name>
</security-role>
</web-app>

View File

@ -0,0 +1,69 @@
<html>
<head>
<title>Cluster View Bootstrap</title>
<link rel="stylesheet" href="../style_master.css" type="text/css">
</head>
<table>
<tr>
<td width="250" ><img src="../images/logo.gif" align="left" border="0" alt=""></td>
<td><h1>JBoss Cluster Bootstrap</h1></td>
</tr>
</table>
<hr>
<body>
The cluster nodes to view need to be specified via some bootstrap mechanism.
This can be done using any of the following methods.
<h1>Bootstrap Using Naming Discovery</h1>
This determines the cluster entry point by doing an HAJNDI naming service
discovery query. The query may be restricted to a given partition name by
specifying the name in the PartitionName field.
If not specified than the first partition to respond will be choosen.
<form action="ClusteredConsole?action=bootstrap" method="post" target="ClusterIndex">
<input type="hidden" name="bootstrap" value="discovery">
<table cellspacing="2" cellpadding="2" border="0">
<tr>
<td>PartitionName:</td><td><input type="text" name="partition" size="40"></td>
</tr>
<tr>
<td>DiscoveryName:</td><td><input type="text" name="discoveryGroup" size="40" value="230.0.0.4"></td>
</tr>
<tr>
<td>DiscoveryPort:</td><td><input type="text" name="discoveryPort" size="40" value="1102"></td>
</tr>
<tr>
<td>DiscoveryTimeout:</td><td><input type="text" name="discoveryTimeout" size="40" value="5000"></td>
</tr>
<tr>
<td><input type="reset" name="reset" value="Clear"></td>
<td><input type="submit" name="submit" value="Bootstrap"></td>
</tr>
</table>
</form>
<h1>Bootstrap Using a Hostname</h1>
This determines the cluster entry point(s) by querying the JNDI service
on the indicated server for the available cluster paritition services.
Any cluster to which the server belongs will serve as an entry point for
determining the members of the cluster. To query the server hosting the
jmx-console application use "locahost" for the hostname.
<form action="ClusteredConsole" method="post" target="ClusterIndex">
<input type="hidden" name="bootstrap" value="byhost">
<table cellspacing="2" cellpadding="2" border="0">
<tr>
<td>Hostname:</td><td><input type="text" name="hostname" value="localhost" size="40"></td>
</tr>
<tr>
<td>Port:</td><td><input type="text" name="port" value="1099" size="40"></td>
</tr>
<tr>
<td><input type="reset" name="reset" value="Clear"></td>
<td><input type="submit" name="submit" value="Bootstrap"></td>
</tr>
</table>
</form>
</body>
</html>

View File

@ -0,0 +1,44 @@
<%@page contentType="text/html"
import="java.net.*,java.io.*"
%>
<html>
<head><title>Clustered JBoss Management Console</title>
<link rel="stylesheet" href="../style_master.css" type="text/css">
</head>
<body>
<table>
<tr><td>
<h2>Cluster View Bootstrap</h2>
<a href="bootstrap.html" target="ClusterNodeView">Reinvoke Bootstrap</a>
<h2>Loaded Clusters</h2>
<%
String partition = (String) request.getAttribute("partition");
%>
<h3 class='DomainName'><%= partition %></h2>
<ul class='MBeanList'>
<%
String[] partitionHosts = (String[]) request.getAttribute("partitionHosts");
for(int h = 0; h < partitionHosts.length; h ++)
{
String host = partitionHosts[h];
String hostname = "";
try
{
hostname = InetAddress.getByName(host).getHostName();
}
catch(IOException e) {}
String hostURL = "http://"+host+":8080/jmx-console//HtmlAdaptor?action=displayMBeans";
%>
<li><a href="<%= hostURL%>" target="ClusterNodeView"><%= hostname %></a></li>
<%
}
%>
</ul>
</td></tr>
</table>
</body>
</html>

View File

@ -0,0 +1,6 @@
<!-- frames -->
<frameset cols="20%, *">
<frame name="ClusterIndex" src="ClusteredConsole?action=index" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
<frame name="ClusterNodeView" src="bootstrap.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
<noframes>A frames enabled browser is required for the cluster view</noframes>
</frameset>

View File

@ -0,0 +1,59 @@
<%@page contentType="text/html"
import="java.net.*,java.util.*,org.jboss.jmx.adaptor.model.*,java.io.*"
%>
<html>
<head>
<title>JBoss JMX Management Console</title>
<link rel="stylesheet" href="style_master.css" type="text/css">
<meta http-equiv="cache-control" content="no-cache">
</head>
<body>
<table width="100%">
<table>
<tr>
<td><img src="images/logo.gif" align="left" border="0" alt="JBoss"></td>
<td valign="middle">
<%
String hostname = "";
try
{
hostname = InetAddress.getLocalHost().getHostName();
}
catch(IOException e) {}
%>
<h1>JMX Agent View <code><%= hostname %></code></h1>
</td>
</tr>
</table>
<hr>
<form action="HtmlAdaptor?action=displayMBeans" method="post" name="applyFilter" id="applyFilter">
ObjectName Filter (e.g. "jboss:*", "*:service=invoker,*") :<input type="text" name="filter" size="40" value="<%= request.getAttribute("filter")%>"> <input type="submit" name="apply" value="ApplyFilter">
</form>
<hr>
<%
Iterator mbeans = (Iterator) request.getAttribute("mbeans");
while( mbeans.hasNext() )
{
DomainData domainData = (DomainData) mbeans.next();
%>
<h2 class='DomainName'><%= domainData.getDomainName() %></h2>
<ul class='MBeanList'>
<%
MBeanData[] data = domainData.getData();
for(int d = 0; d < data.length; d ++)
{
String name = data[d].getObjectName().toString();
String properties = data[d].getNameProperties();
%>
<li><a href="HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(name) %>"><%= URLDecoder.decode(properties) %></a></li>
<%
}
%>
</ul>
<%
}
%>
</td></tr>
</table>
</body>
</html>

View File

@ -0,0 +1,74 @@
<%@page contentType="text/html"
import="java.net.*"
%>
<html>
<head>
<title>Operation Results</title>
<link rel="stylesheet" href="style_master.css" type="text/css">
<meta http-equiv="cache-control" content="no-cache">
</head>
<body>
<jsp:useBean id='opResultInfo' type='org.jboss.jmx.adaptor.control.OpResultInfo' scope='request'/>
<table width="100%">
<table>
<tr>
<td><img src="images/logo.gif" align="left" border="0" alt="JBoss"></td>
<td valign="middle"><h1>JMX MBean Operation Result <code><%= opResultInfo.name%>()</code></h1></td>
<tr/>
</table>
<tr><td>
<table cellpadding="5">
<tr>
<td><a href='HtmlAdaptor?action=displayMBeans'>Back to Agent View</a></td>
<td>
<td><a href='HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(request.getParameter("name")) %>'>Back to MBean View</a></td>
<td>
<td><a href=
<%
out.print("'HtmlAdaptor?action=invokeOpByName");
out.print("&name=" + URLEncoder.encode(request.getParameter("name")));
out.print("&methodName=" + opResultInfo.name );
for (int i=0; i<opResultInfo.args.length; i++)
{
out.print("&argType=" + opResultInfo.signature[i]);
out.print("&arg" + i + "=" + opResultInfo.args[i]);
}
out.println("'>Reinvoke MBean Operation");
%>
</a></td>
</tr>
</table>
<hr>
<span class='OpResult'>
<%
if( opResultInfo.result == null )
{
%>
Operation completed successfully without a return value.
<%
}
else
{
String opResultString = opResultInfo.result.toString();
boolean hasPreTag = opResultString.startsWith("<pre>");
if( hasPreTag == false )
out.println("<pre>");
out.println(opResultString);
if( hasPreTag == false )
out.println("</pre>");
}
%>
</span>
</td></tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,2 @@
<%@page contentType="text/html"%>
<jsp:forward page="/HtmlAdaptor?action=displayMBeans" />

View File

@ -0,0 +1,309 @@
<%@page contentType="text/html"
import="java.net.*,java.util.*,javax.management.*,javax.management.modelmbean.*,
org.jboss.jmx.adaptor.control.Server,
org.jboss.jmx.adaptor.control.AttrResultInfo,
org.jboss.jmx.adaptor.model.*,
java.lang.reflect.Array"
%>
<%! public String fixDescription(String desc)
{
if (desc == null || desc.equals(""))
{
return "(no description)";
}
return desc;
}
%>
<html>
<head>
<title>MBean Inspector</title>
<link rel="stylesheet" href="style_master.css" type="text/css">
<meta http-equiv="cache-control" content="no-cache">
</head>
<body>
<jsp:useBean id='mbeanData' class='org.jboss.jmx.adaptor.model.MBeanData' scope='request'/>
<%
ObjectName objectName = mbeanData.getObjectName();
String objectNameString = mbeanData.getName();
MBeanInfo mbeanInfo = mbeanData.getMetaData();
MBeanAttributeInfo[] attributeInfo = mbeanInfo.getAttributes();
MBeanOperationInfo[] operationInfo = mbeanInfo.getOperations();
%>
<table width="100%">
<table>
<tr>
<td><img src="images/logo.gif" align="left" border="0" alt="JBoss"></td>
<td valign="middle"><h1>JMX MBean View</h1></td>
<tr/>
</table>
<ul>
<table>
<tr>
<td>MBean Name:</td>
<td><b>Domain Name:</b></td>
<td><%= objectName.getDomain() %></td>
</tr>
<%
Hashtable properties = objectName.getKeyPropertyList();
Iterator it = properties.keySet().iterator();
while( it.hasNext() )
{
String key = (String) it.next();
String value = (String) properties.get( key );
%>
<tr><td></td><td><b><%= key %>: </b></td><td><%= value %></td></tr>
<%
}
%>
<tr><td>MBean Java Class:</td><td colspan="3"><jsp:getProperty name='mbeanData' property='className'/></td></tr>
</table>
</ul>
<table cellpadding="5">
<tr>
<td><a href='HtmlAdaptor?action=displayMBeans'>Back to Agent View</a></td>
<td>
<td><a href='HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(request.getParameter("name")) %>'>Refresh MBean View</a></td>
</tr>
</table>
<hr>
<h3>MBean description:</h3>
<%= fixDescription(mbeanInfo.getDescription())%>
<hr>
<h3>List of MBean attributes:</h3>
<form method="post" action="HtmlAdaptor">
<input type="hidden" name="action" value="updateAttributes">
<input type="hidden" name="name" value="<%= objectNameString %>">
<table cellspacing="1" cellpadding="1" border="1">
<tr class="AttributesHeader">
<th>Name</th>
<th>Type</th>
<th>Access</th>
<th>Value</th>
<th>Description</th>
</tr>
<%
boolean hasWriteable = false;
for(int a = 0; a < attributeInfo.length; a ++)
{
MBeanAttributeInfo attrInfo = attributeInfo[a];
String attrName = attrInfo.getName();
String attrType = attrInfo.getType();
AttrResultInfo attrResult = Server.getMBeanAttributeResultInfo(objectNameString, attrInfo);
String attrValue = attrResult.getAsText();
String access = "";
if( attrInfo.isReadable() )
access += "R";
if( attrInfo.isWritable() )
{
access += "W";
hasWriteable = true;
}
String attrDescription = fixDescription(attrInfo.getDescription());
%>
<tr>
<td><%= attrName %></td>
<td><%= attrType %></td>
<td><%= access %></td>
<td>
<%
if( attrInfo.isWritable() )
{
String readonly = attrResult.editor == null ? "readonly" : "";
if( attrType.equals("boolean") || attrType.equals("java.lang.Boolean") )
{
// Boolean true/false radio boxes
Boolean value = Boolean.valueOf(attrValue);
String trueChecked = (value == Boolean.TRUE ? "checked" : "");
String falseChecked = (value == Boolean.FALSE ? "checked" : "");
%>
<input type="radio" name="<%= attrName %>" value="True" <%=trueChecked%>>True
<input type="radio" name="<%= attrName %>" value="False" <%=falseChecked%>>False
<%
}
else if( attrInfo.isReadable() )
{ // Text fields for read-write string values
%>
<input type="text" name="<%= attrName %>" value="<%= (attrValue != null ? attrValue : "") %>" <%= readonly %>>
<%
}
else
{ // Empty text fields for write-only
%>
<input type="text" name="<%= attrName %>" <%= readonly %>>
<%
}
}
else
{
if( attrType.equals("[Ljavax.management.ObjectName;") )
{
// Array of Object Names
ObjectName[] names = (ObjectName[]) Server.getMBeanAttributeObject(objectNameString, attrName);
if( names != null )
{
%>
<table>
<%
for( int i = 0; i < names.length; i++ )
{
%>
<tr><td>
<a href="HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(( names[ i ] + "" )) %>"><%= ( names[ i ] + "" ) %></a>
</td></tr>
<%
}
%>
</table>
<%
}
}
// Array of some objects
else if( attrType.endsWith("[]"))
{
Object arrayObject = Server.getMBeanAttributeObject(objectNameString, attrName);
if (arrayObject != null) {
%>
<table>
<%
for (int i = 0; i < Array.getLength(arrayObject); ++i) {
%>
<tr><td><%=Array.get(arrayObject,i)%></td></tr>
<%
}
%>
</table>
<%
}
}
else
{
// Just the value string
%>
<%= attrValue %>
<%
}
}
if( attrType.equals("javax.management.ObjectName") )
{
// Add a link to the mbean
if( attrValue != null )
{
%>
<a href="HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(attrValue) %>">View MBean</a>
<%
}
}
%>
</td>
<td><%= attrDescription%></td>
</tr>
<%
}
%>
</table>
<% if( hasWriteable )
{
%>
<input type="submit" value="Apply Changes">
<%
}
%>
</form>
<hr>
<h3>List of MBean operations:</h3>
<%
for(int a = 0; a < operationInfo.length; a ++)
{
MBeanOperationInfo opInfo = operationInfo[a];
boolean accept = true;
if (opInfo instanceof ModelMBeanOperationInfo)
{
Descriptor desc = ((ModelMBeanOperationInfo)opInfo).getDescriptor();
String role = (String)desc.getFieldValue("role");
if ("getter".equals(role) || "setter".equals(role))
{
accept = false;
}
}
if (accept)
{
MBeanParameterInfo[] sig = opInfo.getSignature();
%>
<form method="post" action="HtmlAdaptor">
<input type="hidden" name="action" value="invokeOp">
<input type="hidden" name="name" value="<%= objectNameString %>">
<input type="hidden" name="methodIndex" value="<%= a %>">
<hr align='left' width='80'>
<h4><%= opInfo.getReturnType() + " " + opInfo.getName() + "()" %></h4>
<p><%= fixDescription(opInfo.getDescription())%></p>
<%
if( sig.length > 0 )
{
%>
<table cellspacing="2" cellpadding="2" border="1">
<tr class="OperationHeader">
<th>Param</th>
<th>ParamType</th>
<th>ParamValue</th>
<th>ParamDescription</th>
</tr>
<%
for(int p = 0; p < sig.length; p ++)
{
MBeanParameterInfo paramInfo = sig[p];
String pname = paramInfo.getName();
String ptype = paramInfo.getType();
if( pname == null || pname.length() == 0 || pname.equals(ptype) )
{
pname = "arg"+p;
}
%>
<tr>
<td><%= pname %></td>
<td><%= ptype %></td>
<td>
<%
if( ptype.equals("boolean") || ptype.equals("java.lang.Boolean") )
{
// Boolean true/false radio boxes
%>
<input type="radio" name="arg<%= p%>" value="True"checked>True
<input type="radio" name="arg<%= p%>" value="False">False
<%
}
else
{
%>
<input type="text" name="arg<%= p%>">
<%
}
%>
</td>
<td><%= fixDescription(paramInfo.getDescription())%></td>
</tr>
<%
}
%>
</table>
<%
}
%>
<input type="submit" value="Invoke">
</form>
<%
}
}
%>
</td></tr>
</table>
</body>
</html>

View File

@ -0,0 +1,146 @@
body {
margin: 13px 0px 10px 0px;
background-color: #ffffff;
font-size: 12px;
font-family: verdana, arial, "sans-serif";
color: #606060;
}
td {
font-size: 12px;
font-family: verdana, arial, "sans-serif";
color: #606060;
}
input {
font-size: 13px;
font-family: verdana, arial, "sans-serif";
color: #FF5906;
background-color: #f0f0f0;
border: 1px solid #cccccc;
}
img {
border: 0px;
}
p {
margin: 10px 30px 10px 20px
}
h3 {
color: #FF5906;
font-size: 13px;
font-family: verdana, arial, "sans-serif";
margin: 10px 30px 10px 20px;
}
h4 {
color: #999999;
font-size: 13px;
font-family: verdana, arial, "sans-serif";
margin: 10px 30px 10px 20px;
}
table {
border: 0px #999999;
}
a {
text-decoration : none;
}
a:link {
color: #FF5906;
}
a:visited {
color: #FF5906;
}
a:active {
background-color:transparent;
}
a:hover {
text-decoration : underline;
}
a.soft, a.soft:visited, a.soft:link {
TEXT-DECORATION: none;
COLOR: #000000;
}
a.soft:hover {
TEXT-DECORATION: underline;
BACKGROUND-COLOR: transparent;
COLOR: #000000
}
#header {
background-color: #FF7A22;
background-image: url("header_bg.jpg");
background-repeat: no-repeat;
background-position: 226px 0px;
width: 100%;
height: 80px;
}
#header #banner {
float: right;
margin: 8px 5px 0px 0px;
}
#logo {
position: absolute;
top: 4px;
left: 4px;
z-index: 200;
}
#services {
position: absolute;
top: 16px;
right: 10px;
z-index: 200;
}
#filter {
position: absolute;
top: 65px;
right: 30px;
z-index: 220;
}
#filter_label {
position: absolute;
top: 61px;
right: 215px;
z-index: 220;
}
#apply {
position: absolute;
top: -5px;
right: -30px;
z-index: 220;
border: none;
}
#navigation_bar {
background-color: #f0f0f0;
border-bottom: 1px dotted #999999;
height: 20px;
}
#separator_bar {
background-color: #ffffff;
border-bottom: 1px dotted #999999;
height: 20px;
}
#footer {
clear: both;
border-top: 1px dotted #999999;
}
#footer_bar {
height: 20px;
width: 100%;
background-color: #FF7A22;
}
.attribute_link a {
color: #606060;
text-decoration: none;
}
.attribute_link a:hover {
color: #606060;
border-bottom: 1px dotted #999999;
}
.hide {
display: none;
}
.spacer {
clear: both;
}
.spacer hr {
display: none;
}
.center {
text-align: center;
}

View File

@ -0,0 +1,64 @@
BODY {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
background-color : White;
}
H1{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 25px;
font-weight: bold;
color: #000099}
H2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 20px;
font-weight: bold;
color: #000000
}
H3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 17px;
font-weight: bold;
color: #000000
}
TH {
background-color : #000099;
color: #DEB887;
font-weight: bold;
}.bg_table {
background-color : #DEB887;
}
}.bg_cell{
background-color : #ffffff;
}
A:ACTIVE {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color:Red;
background-color: #DEB887;
text-decoration : underline;
font-weight:bold;
}
A:HOVER {
font-family:Arial, Helvetica, sans-serif;
font-size: 14px;
color:Red;
text-decoration : underline;
font-weight:bold;
}
A:LINK {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color:#000099;
text-decoration : underline;
font-weight:bold;
}
A:VISITED {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color:Purple;
text-decoration : underline;
font-weight:bold;
}

View File

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: jmx-invoker-service.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
<server>
<!-- The JRMP invoker proxy configuration for the InvokerAdaptorService -->
<mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
name="jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory">
<!-- Use the standard JRMPInvoker from conf/jboss-service.xxml -->
<depends optional-attribute-name="InvokerName">jboss:service=invoker,type=jrmp</depends>
<!-- The target MBean is the InvokerAdaptorService configured below -->
<depends optional-attribute-name="TargetName">jboss.jmx:type=adaptor,name=Invoker</depends>
<!-- Where to bind the RMIAdaptor proxy -->
<attribute name="JndiName">jmx/invoker/RMIAdaptor</attribute>
<!-- The RMI compabitle MBeanServer interface -->
<attribute name="ExportedInterfaces">org.jboss.jmx.adaptor.rmi.RMIAdaptor,
org.jboss.jmx.adaptor.rmi.RMIAdaptorExt
</attribute>
<attribute name="ClientInterceptors">
<interceptors>
<interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
<interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
<interceptor>org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor</interceptor>
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
</interceptors>
</attribute>
</mbean>
<!-- Create a mapping from the legacy jmx-rmi-adaptor.sar binding to the
jmx-invoker-adaptor-server.sar JndiName specified above for backwards
portability.
-->
<mbean code="org.jboss.naming.NamingAlias" name="jboss.jmx:alias=jmx/rmi/RMIAdaptor">
<attribute name="FromName">jmx/rmi/RMIAdaptor</attribute>
<attribute name="ToName">jmx/invoker/RMIAdaptor</attribute>
</mbean>
<!-- This is the service that handles the RMIAdaptor invocations by routing
them to the MBeanServer the service is deployed under. -->
<mbean code="org.jboss.jmx.connector.invoker.InvokerAdaptorService"
name="jboss.jmx:type=adaptor,name=Invoker"
xmbean-dd="">
<xmbean>
<description>The JMX Detached Invoker Service</description>
<class>org.jboss.jmx.connector.invoker.InvokerAdaptorService</class>
<!-- Attributes -->
<attribute access="read-only" getMethod="getName">
<description>The class name of the MBean</description>
<name>Name</name>
<type>java.lang.String</type>
</attribute>
<attribute access="read-only" getMethod="getState">
<description>The status of the MBean</description>
<name>State</name>
<type>int</type>
</attribute>
<attribute access="read-only" getMethod="getStateString">
<description>The status of the MBean in text form</description>
<name>StateString</name>
<type>java.lang.String</type>
</attribute>
<attribute access="read-write" getMethod="getExportedInterfaces" setMethod="setExportedInterfaces">
<description>The interfaces the invoker proxy supports</description>
<name>ExportedInterfaces</name>
<type>[Ljava.lang.Class;</type>
</attribute>
<attribute access="read-only" getMethod="getMethodMap">
<description>Map(Long hash, Method) of the proxy interface methods</description>
<name>MethodMap</name>
<type>java.util.Map</type>
</attribute>
<!-- Operations -->
<operation>
<description>The start lifecycle operation</description>
<name>start</name>
</operation>
<operation>
<description>The stop lifecycle operation</description>
<name>stop</name>
</operation>
<operation>
<description>The detyped lifecycle operation (for internal use only)</description>
<name>jbossInternalLifecycle</name>
<parameter>
<description>The lifecycle operation</description>
<name>method</name>
<type>java.lang.String</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>The detached invoker entry point</description>
<name>invoke</name>
<parameter>
<description>The method invocation context</description>
<name>invocation</name>
<type>org.jboss.invocation.Invocation</type>
</parameter>
<return-type>java.lang.Object</return-type>
<!-- Uncomment to require authenticated users
<descriptors>
<interceptors>
<interceptor code="org.jboss.jmx.connector.invoker.AuthenticationInterceptor"
securityDomain="java:/jaas/jmx-console"/>
</interceptors>
</descriptors>
-->
</operation>
</xmbean>
<attribute name="ExportedInterfaces">org.jboss.jmx.adaptor.rmi.RMIAdaptor,
org.jboss.jmx.adaptor.rmi.RMIAdaptorExt
</attribute>
</mbean>
</server>

View File

@ -0,0 +1,4 @@
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.2
Created-By: 1.4.2_05-b04 (Sun Microsystems Inc.)

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== -->
<!-- -->
<!-- Console Service Configuration -->
<!-- -->
<!-- ===================================================================== -->
<server>
<!-- Isolate the console mgr classes from other deployments -->
<loader-repository>
jboss.console:sar=console-mgr.sar
<loader-repository-config>
java2ParentDelegation=true
</loader-repository-config>
</loader-repository>
<mbean code="org.jboss.console.manager.PluginManager"
name="jboss.admin:service=PluginManager">
<!-- The RMIAdaptor provider service -->
<depends>jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory</depends>
<attribute name="MainLogoUrl">/web-console/images/jboss.gif</attribute>
<attribute name="MainLinkUrl">/web-console/ServerInfo.jsp</attribute>
<attribute name="EnableShutdown">true</attribute>
<attribute name="JndiName">console/PluginManager</attribute>
</mbean>
<mbean code="org.jboss.console.manager.DeploymentFileRepository"
name="jboss.admin:service=DeploymentFileRepository">
<attribute name="BaseDir">./deploy/management</attribute>
</mbean>
</server>

View File

@ -0,0 +1,71 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,java.util.*,
org.jboss.aop.advice.AdviceBinding" %>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String name = request.getParameter("binding");
AdviceBinding binding = (AdviceBinding)AspectManager.instance().getBindings().get(name);
%>
<hr class="hide"/>
<center>
<h4 style="text-align: center"><%=name%></h4>
<div id="content">
<div class="content_block" style="width: 100%">
<h3>Advice Binding</h3>
<p>&nbsp;</p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
<tr>
<td width="50%" align="center" colspan="2">
<p align="left"><font size="1"><b>Pointcut Expression: </b><%=binding.getPointcut().getExpr()%></font></p>
<% if (binding.getCFlowString() != null) {
%>
<p align="left"><font size="1"><b>CFlow Expression: </b><%=binding.getCFlowString()%></font></p>
<% } %>
</td>
</tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="spacer"><hr/></div>
</div>
</center>
<!-- content end -->
<hr class="hide"/>
<!-- footer begin -->
<div id="footer">
<div id="credits">JBoss™ Management Console</div>
<div id="footer_bar">&nbsp;</div>
</div>
<!-- footer end -->
</body>
</html>

View File

@ -0,0 +1,38 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,java.util.*"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String classname = request.getParameter("classname");
String group = request.getParameter("group");
ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
HashMap groupAttrs = advisor.getClassMetaData().tag(group);
%>
<hr class="hide"/>
<center>
<div id="content">
<div class="content_block" style="width: 100%">
<h3>Metadata for class <%= classname %></h3>
<p>&nbsp;</p>
<%@ include file="AOPMetaData.jsp" %>

View File

@ -0,0 +1,84 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
java.lang.reflect.Constructor,
org.jboss.console.plugins.AOPLister"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String classname = request.getParameter("classname");
int idx = Integer.parseInt(request.getParameter("constructor"));
ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
Constructor constructor = advisor.getConstructors()[idx];
Interceptor[] interceptors = advisor.getConstructorInterceptors()[idx];
%>
<hr class="hide"/>
<center>
<div id="content">
<div class="content_block" style="width: 100%">
<h3><%=classname%></h3>
<p>&nbsp;</p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
<tr>
<td width="50%" align="center" colspan="2">
<h4 style="text-align: center"><font size="3">Constructor Chain for <%=AOPLister.shortenConstructor(classname, constructor)%></font></h4>
</td>
</tr>
<tr>
<td>
<h4>Type</h4>
</td>
<td>
<h4>Description</h4>
</td>
</tr>
<%
if (interceptors != null)
{
String chain = AOPLister.outputChain(interceptors);
%>
<%=chain%>
<% } %>
</table>
<p>&nbsp;</p>
<p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="spacer"><hr/></div>
</div>
</center>
<!-- content end -->
<hr class="hide"/>
<!-- footer begin -->
<div id="footer">
<div id="credits">JBoss Management Console</div>
<div id="footer_bar">&nbsp;</div>
</div>
<!-- footer end -->
</body>
</html>

View File

@ -0,0 +1,91 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
java.lang.reflect.Constructor,
org.jboss.console.plugins.AOPLister,
gnu.trove.TLongObjectHashMap"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String classname = request.getParameter("classname");
int idx = Integer.parseInt(request.getParameter("index"));
String calledClassname = request.getParameter("calledclassname");
long hash = Long.parseLong(request.getParameter("hash"));
ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
Constructor constructor = advisor.getConstructors()[idx];
HashMap called = advisor.getConCalledByConInterceptors()[idx];
TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname);
CallerConstructorInfo info = (CallerConstructorInfo)map.get(hash);
Interceptor[] interceptors = info.interceptors;
%>
<hr class="hide"/>
<center>
<div id="content">
<div class="content_block" style="width: 100%">
<h3><%=classname%></h3>
<p>&nbsp;</p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
<tr>
<td width="50%" align="center" colspan="2">
<h4 style="text-align: center"><font size="3">Constructor Caller: <%=AOPLister.shortenConstructor(classname, constructor)%></font></h4>
<h4 style="text-align: center"><font size="3">Called Constructor: <%=info.constructor.toString()%></font></h4>
</td>
</tr>
<tr>
<td>
<h4>Type</h4>
</td>
<td>
<h4>Description</h4>
</td>
</tr>
<%
if (interceptors != null)
{
String chain = AOPLister.outputChain(interceptors);
%>
<%=chain%>
<% } %>
</table>
<p>&nbsp;</p>
<p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="spacer"><hr/></div>
</div>
</center>
<!-- content end -->
<hr class="hide"/>
<!-- footer begin -->
<div id="footer">
<div id="credits">JBoss Management Console</div>
<div id="footer_bar">&nbsp;</div>
</div>
<!-- footer end -->
</body>
</html>

View File

@ -0,0 +1,53 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,java.util.*,java.lang.reflect.*,
org.jboss.aop.metadata.ConstructorMetaData"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String classname = request.getParameter("classname");
String group = request.getParameter("group");
String con = request.getParameter("constructor");
ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
HashMap groupAttrs = new HashMap();
ConstructorMetaData metaData = advisor.getConstructorMetaData();
Iterator conit = metaData.getConstructors();
while (conit.hasNext())
{
String constructor = (String)conit.next();
if (constructor.equals(con))
{
groupAttrs = metaData.getConstructorMetaData(constructor).tag(group);
break;
}
}
%>
<hr class="hide"/>
<center>
<div id="content">
<div class="content_block" style="width: 100%">
<h3>Metadata for constructor <%=con%></h3>
<p>&nbsp;</p>
<%@ include file="AOPMetaData.jsp" %>

View File

@ -0,0 +1,91 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
java.lang.reflect.Constructor,
org.jboss.console.plugins.AOPLister,
gnu.trove.TLongObjectHashMap"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String classname = request.getParameter("classname");
int idx = Integer.parseInt(request.getParameter("index"));
String calledClassname = request.getParameter("calledclassname");
long hash = Long.parseLong(request.getParameter("hash"));
ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
Constructor constructor = advisor.getConstructors()[idx];
HashMap called = advisor.getMethodCalledByConInterceptors()[idx];
TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname);
CallerMethodInfo info = (CallerMethodInfo)map.get(hash);
Interceptor[] interceptors = info.interceptors;
%>
<hr class="hide"/>
<center>
<div id="content">
<div class="content_block" style="width: 100%">
<h3><%=classname%></h3>
<p>&nbsp;</p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
<tr>
<td width="50%" align="center" colspan="2">
<h4 style="text-align: center"><font size="3">Constructor Caller: <%=AOPLister.shortenConstructor(classname, constructor)%></font></h4>
<h4 style="text-align: center"><font size="3">Called Method: <%=info.method.toString()%></font></h4>
</td>
</tr>
<tr>
<td>
<h4>Type</h4>
</td>
<td>
<h4>Description</h4>
</td>
</tr>
<%
if (interceptors != null)
{
String chain = AOPLister.outputChain(interceptors);
%>
<%=chain%>
<% } %>
</table>
<p>&nbsp;</p>
<p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="spacer"><hr/></div>
</div>
</center>
<!-- content end -->
<hr class="hide"/>
<!-- footer begin -->
<div id="footer">
<div id="credits">JBoss Management Console</div>
<div id="footer_bar">&nbsp;</div>
</div>
<!-- footer end -->
</body>
</html>

View File

@ -0,0 +1,38 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,java.util.*"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String classname = request.getParameter("classname");
String group = request.getParameter("group");
ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
HashMap groupAttrs = advisor.getDefaultMetaData().tag(group);
%>
<hr class="hide"/>
<center>
<div id="content">
<div class="content_block" style="width: 100%">
<h3><%=classname%> Default MetaData </h3>
<p>&nbsp;</p>
<%@ include file="AOPMetaData.jsp" %>

View File

@ -0,0 +1,84 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
org.jboss.console.plugins.AOPLister"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String classname = request.getParameter("classname");
int idx = Integer.parseInt(request.getParameter("field"));
ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
Field field = advisor.getAdvisedFields()[idx];
boolean read = request.getParameter("mode").equals("read");
Interceptor[] interceptors = read ? advisor.getFieldReadInterceptors()[idx] : advisor.getFieldWriteInterceptors()[idx];
%>
<hr class="hide"/>
<center>
<div id="content">
<div class="content_block" style="width: 100%">
<h3><%=classname%></h3>
<p>&nbsp;</p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
<tr>
<td width="50%" align="center" colspan="2">
<h4 style="text-align: center"><font size="3">Field <%= (read) ? "Read" : "Write" %> Chain for <%=AOPLister.shortenField(classname, field)%></font></h4>
</td>
</tr>
<tr>
<td>
<h4>Type</h4>
</td>
<td>
<h4>Description</h4>
</td>
</tr>
<%
if (interceptors != null)
{
String chain = AOPLister.outputChain(interceptors);
%>
<%=chain%>
<% } %>
</table>
<p>&nbsp;</p>
<p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="spacer"><hr/></div>
</div>
</center>
<!-- content end -->
<hr class="hide"/>
<!-- footer begin -->
<div id="footer">
<div id="credits">JBoss Management Console</div>
<div id="footer_bar">&nbsp;</div>
</div>
<!-- footer end -->
</body>
</html>

View File

@ -0,0 +1,39 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,java.util.*"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String classname = request.getParameter("classname");
String group = request.getParameter("group");
String field = request.getParameter("field");
ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
HashMap groupAttrs = advisor.getFieldMetaData().getFieldMetaData(field).tag(group);
%>
<hr class="hide"/>
<center>
<div id="content">
<div class="content_block" style="width: 100%">
<h3>Metadata for field <%=field%></h3>
<p>&nbsp;</p>
<%@ include file="AOPMetaData.jsp" %>

View File

@ -0,0 +1,105 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,java.util.*,
org.jboss.aop.introduction.InterfaceIntroduction"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String name = request.getParameter("pointcut");
InterfaceIntroduction introduction = AspectManager.instance().getInterfaceIntroduction(name);
%>
<hr class="hide"/>
<center> <h4 style="text-align: center"><%=name%></h4>
<div id="content">
<div class="content_block" style="width: 100%">
<h3>Introduction Pointcut</h3>
<p>&nbsp;</p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
<tr>
<td width="50%" align="center" colspan="2">
<p align="left"><font size="1"><b>Class Expression: </b><%=introduction.getClassExpr()%></font></p>
</td>
</tr>
<%
Iterator mixins = introduction.getMixins().iterator();
while (mixins.hasNext()) {
InterfaceIntroduction.Mixin mixin = (InterfaceIntroduction.Mixin)mixins.next();
String[] interfaces = mixin.getInterfaces();
String initializer = (mixin.getConstruction() == null) ? ("new " + mixin.getClassName() + "()") : mixin.getConstruction();
%>
<tr>
<td>
<p align="left"><h4>Mixin Class</h4></p>
<p align="left"><font size="1"><%=mixin.getClassName()%></font></p>
<p align="left"><h4>Mixin Initializer</h4></p>
<p align="left"><font size="1"><%=initializer%></font></p>
</td>
<td>
<p align="left"><h4>Interfaces</h4></p>
<%
for (int j = 0; j < interfaces.length; j++) {
%>
<p align="left"><font size="1"><%=interfaces[j]%></font></p>
<% } %>
</td>
</tr>
<% } %>
<%
String[] interfaces = introduction.getInterfaces();
if (interfaces != null && interfaces.length > 0) {
%>
<tr>
<td colspan="2">
<p align="left"><h4>Other Interfaces</h4></p>
<%
for (int j = 0; j < interfaces.length; j++) {
%>
<p align="left"><font size="1"><%=interfaces[j]%></font></p>
<% } %>
</td>
</tr>
<% }%>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="spacer"><hr/></div>
</div>
</center>
<!-- content end -->
<hr class="hide"/>
<!-- footer begin -->
<div id="footer">
<div id="credits">JBoss™ Management Console</div>
<div id="footer_bar">&nbsp;</div>
</div>
<!-- footer end -->
</body>
</html>

View File

@ -0,0 +1,79 @@
<%@ page import="java.util.Iterator,
java.util.Map,
org.jboss.aop.metadata.SimpleMetaData,
org.jboss.aop.metadata.MetaDataResolver" %>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
<tr>
<td width="50%" align="center" colspan="4">
<h4 style="text-align: center"><font size="3"><%=group%></font></h4>
</td>
</tr>
<tr>
<td>
<h4>Attribute Name</h4>
</td>
<td>
<h4>Type</h4>
</td>
<td>
<h4>Value (as String)</h4>
</td>
<td>
<h4>Serialization</h4>
</td>
</tr>
<%
boolean hasValues = false;
Iterator it = groupAttrs.entrySet().iterator();
while (it.hasNext())
{
Map.Entry entry = (Map.Entry)it.next();
String attr = (String)entry.getKey();
if (!attr.equals(MetaDataResolver.EMPTY_TAG))
{
hasValues = true;
SimpleMetaData.MetaDataValue value = (SimpleMetaData.MetaDataValue)entry.getValue();
%>
<tr>
<td><font size="1"><%=attr%></font>
<td><font size="1"><%=value.value.getClass().getName()%></font>
<td><font size="1"><%=value.value.toString()%></font>
<td><font size="1"><%=value.type%></font>
</td>
</tr>
<% }
}
if (!hasValues)
{
%>
<tr>
<td colspan="4">empty</td>
</tr>
<% }
%>
</table>
<p>&nbsp;</p>
<p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="spacer"><hr/></div>
</div>
</center>
<!-- content end -->
<hr class="hide"/>
<!-- footer begin -->
<div id="footer">
<div id="credits">JBoss™ Management Console</div>
<div id="footer_bar">&nbsp;</div>
</div>
<!-- footer end -->
</body>
</html>

View File

@ -0,0 +1,86 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,gnu.trove.TLongObjectHashMap,
java.lang.reflect.Method,
org.jboss.console.plugins.AOPLister"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String classname = request.getParameter("classname");
long hash = Long.parseLong(request.getParameter("method"));
ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
TLongObjectHashMap methodChains = advisor.getMethodInterceptors();
MethodInfo info = (MethodInfo)methodChains.get(hash);
Interceptor[] interceptors = info.interceptors;
Method method = (Method)advisor.getAdvisedMethods().get(hash);
%>
<hr class="hide"/>
<center>
<div id="content">
<div class="content_block" style="width: 100%">
<h3><%=classname%></h3>
<p>&nbsp;</p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
<tr>
<td width="50%" align="center" colspan="2">
<h4 style="text-align: center"><font size="3">Method Chain for <%=AOPLister.shortenMethod(classname, method)%></font></h4>
</td>
</tr>
<tr>
<td>
<h4>Type</h4>
</td>
<td>
<h4>Description</h4>
</td>
</tr>
<%
if (interceptors != null)
{
String chain = AOPLister.outputChain(interceptors);
%>
<%=chain%>
<% } %>
</table>
<p>&nbsp;</p>
<p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="spacer"><hr/></div>
</div>
</center>
<!-- content end -->
<hr class="hide"/>
<!-- footer begin -->
<div id="footer">
<div id="credits">JBoss Management Console</div>
<div id="footer_bar">&nbsp;</div>
</div>
<!-- footer end -->
</body>
</html>

View File

@ -0,0 +1,92 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
java.lang.reflect.Constructor,
org.jboss.console.plugins.AOPLister,
gnu.trove.TLongObjectHashMap,
java.lang.reflect.Method"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String classname = request.getParameter("classname");
String calledClassname = request.getParameter("calledclassname");
long hash = Long.parseLong(request.getParameter("hash"));
long callingHash = Long.parseLong(request.getParameter("callinghash"));
ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
Method method = (Method)advisor.getAdvisedMethods().get(callingHash);
HashMap called = (HashMap)advisor.getConCalledByMethodInterceptors().get(callingHash);
TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname);
CallerConstructorInfo info = (CallerConstructorInfo)map.get(hash);
Interceptor[] interceptors = info.interceptors;
%>
<hr class="hide"/>
<center>
<div id="content">
<div class="content_block" style="width: 100%">
<h3><%=classname%></h3>
<p>&nbsp;</p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
<tr>
<td width="50%" align="center" colspan="2">
<h4 style="text-align: center"><font size="3">Method Caller: <%=AOPLister.shortenMethod(classname, method)%></font></h4>
<h4 style="text-align: center"><font size="3">Called Constructor: <%=info.constructor.toString()%></font></h4>
</td>
</tr>
<tr>
<td>
<h4>Type</h4>
</td>
<td>
<h4>Description</h4>
</td>
</tr>
<%
if (interceptors != null)
{
String chain = AOPLister.outputChain(interceptors);
%>
<%=chain%>
<% } %>
</table>
<p>&nbsp;</p>
<p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="spacer"><hr/></div>
</div>
</center>
<!-- content end -->
<hr class="hide"/>
<!-- footer begin -->
<div id="footer">
<div id="credits">JBoss Management Console</div>
<div id="footer_bar">&nbsp;</div>
</div>
<!-- footer end -->
</body>
</html>

View File

@ -0,0 +1,39 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,java.util.*"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String classname = request.getParameter("classname");
String group = request.getParameter("group");
String method = request.getParameter("method");
ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
HashMap groupAttrs = advisor.getMethodMetaData().getMethodMetaData(method).tag(group);
%>
<hr class="hide"/>
<center>
<div id="content">
<div class="content_block" style="width: 100%">
<h3>Metadata for method <%=method%></h3>
<p>&nbsp;</p>
<%@ include file="AOPMetaData.jsp" %>

View File

@ -0,0 +1,92 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
java.lang.reflect.Constructor,
org.jboss.console.plugins.AOPLister,
gnu.trove.TLongObjectHashMap,
java.lang.reflect.Method"%>
<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
<%
String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Management Console - AOP Pointcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link
</head>
<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
<body>
<!-- header begin -->
<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
<div id="header">
&nbsp;</div>
<div id="navigation_bar">
</div>
<!-- header end -->
<%
String classname = request.getParameter("classname");
String calledClassname = request.getParameter("calledclassname");
long hash = Long.parseLong(request.getParameter("hash"));
long callingHash = Long.parseLong(request.getParameter("callinghash"));
ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
Method method = (Method)advisor.getAdvisedMethods().get(callingHash);
HashMap called = (HashMap)advisor.getMethodCalledByMethodInterceptors().get(callingHash);
TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname);
CallerMethodInfo info = (CallerMethodInfo)map.get(hash);
Interceptor[] interceptors = info.interceptors;
%>
<hr class="hide"/>
<center>
<div id="content">
<div class="content_block" style="width: 100%">
<h3><%=classname%></h3>
<p>&nbsp;</p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
<tr>
<td width="50%" align="center" colspan="2">
<h4 style="text-align: center"><font size="3">Method Caller: <%=AOPLister.shortenMethod(classname, method)%></font></h4>
<h4 style="text-align: center"><font size="3">Called Method: <%=info.method.toString()%></font></h4>
</td>
</tr>
<tr>
<td>
<h4>Type</h4>
</td>
<td>
<h4>Description</h4>
</td>
</tr>
<%
if (interceptors != null)
{
String chain = AOPLister.outputChain(interceptors);
%>
<%=chain%>
<% } %>
</table>
<p>&nbsp;</p>
<p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="spacer"><hr/></div>
</div>
</center>
<!-- content end -->
<hr class="hide"/>
<!-- footer begin -->
<div id="footer">
<div id="credits">JBoss Management Console</div>
<div id="footer_bar">&nbsp;</div>
</div>
<!-- footer end -->
</body>
</html>

View File

@ -0,0 +1,42 @@
<%@ taglib uri="/webconsole" prefix="jb" %>
<jb:mbean id="ejb" intf="org.jboss.management.j2ee.StatelessSessionBeanMBean" />
<%
String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name");
String containerUrl = "jboss.j2ee:service=EJB,jndiName=" + ejbName;
containerUrl = java.net.URLEncoder.encode(containerUrl);
containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl;
%>
<html>
<META HTTP-EQUIV="expires" CONTENT="0"/>
<head>
<title>EJB: <%=ejbName%></title>
</head>
<body>
<h1><center>EJB '<%=ejbName%>'</center></h1>
<p/>
<p/>
<table border="1">
<tr>
<td><b>Management Object Name:</b></td>
</tr>
<tr>
<td><%=ejb.getobjectName()%>&nbsp;</td>
</tr>
<tr>
<td><b>Provides Statistics:</b></td>
</tr>
<tr>
<td><%=ejb.isstatisticsProvider()%>&nbsp;</td>
</tr>
</table>
<a href="<%=containerUrl%>">Visit associated container MBean...</a>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More