intermax 추가
This commit is contained in:
299
intermax/23.12.07.02/ant/bin/ant
Executable file
299
intermax/23.12.07.02/ant/bin/ant
Executable file
@@ -0,0 +1,299 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Copyright 2001-2005 The Apache Software Foundation
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Extract launch and ant arguments, (see details below).
|
||||
ant_exec_args=
|
||||
no_config=false
|
||||
use_jikes_default=false
|
||||
ant_exec_debug=false
|
||||
show_help=false
|
||||
for arg in "$@" ; do
|
||||
if [ "$arg" = "--noconfig" ] ; then
|
||||
no_config=true
|
||||
elif [ "$arg" = "--usejikes" ] ; then
|
||||
use_jikes_default=true
|
||||
elif [ "$arg" = "--execdebug" ] ; then
|
||||
ant_exec_debug=true
|
||||
elif [ my"$arg" = my"--h" -o my"$arg" = my"--help" ] ; then
|
||||
show_help=true
|
||||
ant_exec_args="$ant_exec_args -h"
|
||||
else
|
||||
if [ my"$arg" = my"-h" -o my"$arg" = my"-help" ] ; then
|
||||
show_help=true
|
||||
fi
|
||||
ant_exec_args="$ant_exec_args \"$arg\""
|
||||
fi
|
||||
done
|
||||
|
||||
# Source/default ant configuration
|
||||
if $no_config ; then
|
||||
rpm_mode=false
|
||||
usejikes=$use_jikes_default
|
||||
else
|
||||
# load system-wide ant configuration
|
||||
if [ -f "/etc/ant.conf" ] ; then
|
||||
. /etc/ant.conf
|
||||
fi
|
||||
|
||||
# load user ant configuration
|
||||
if [ -f "$HOME/.ant/ant.conf" ] ; then
|
||||
. $HOME/.ant/ant.conf
|
||||
fi
|
||||
if [ -f "$HOME/.antrc" ] ; then
|
||||
. "$HOME/.antrc"
|
||||
fi
|
||||
|
||||
# provide default configuration values
|
||||
if [ -z "$rpm_mode" ] ; then
|
||||
rpm_mode=false
|
||||
fi
|
||||
if [ -z "$usejikes" ] ; then
|
||||
usejikes=$use_jikes_default
|
||||
fi
|
||||
fi
|
||||
|
||||
# Setup Java environment in rpm mode
|
||||
if $rpm_mode ; then
|
||||
if [ -f /usr/share/java-utils/java-functions ] ; then
|
||||
. /usr/share/java-utils/java-functions
|
||||
set_jvm
|
||||
set_javacmd
|
||||
fi
|
||||
fi
|
||||
|
||||
# OS specific support. $var _must_ be set to either true or false.
|
||||
cygwin=false;
|
||||
darwin=false;
|
||||
case "`uname`" in
|
||||
CYGWIN*) cygwin=true ;;
|
||||
Darwin*) darwin=true
|
||||
if [ -z "$JAVA_HOME" ] ; then
|
||||
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$ANT_HOME" -o ! -d "$ANT_HOME" ] ; then
|
||||
## resolve links - $0 may be a link to ant's home
|
||||
PRG="$0"
|
||||
progname=`basename "$0"`
|
||||
|
||||
# need this for relative symlinks
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
|
||||
ANT_HOME=`dirname "$PRG"`/..
|
||||
|
||||
# make it fully qualified
|
||||
ANT_HOME=`cd "$ANT_HOME" && pwd`
|
||||
fi
|
||||
|
||||
# For Cygwin, ensure paths are in UNIX format before anything is touched
|
||||
if $cygwin ; then
|
||||
[ -n "$ANT_HOME" ] &&
|
||||
ANT_HOME=`cygpath --unix "$ANT_HOME"`
|
||||
[ -n "$JAVA_HOME" ] &&
|
||||
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
||||
fi
|
||||
|
||||
# set ANT_LIB location
|
||||
ANT_LIB="${ANT_HOME}/lib"
|
||||
|
||||
if [ -z "$JAVACMD" ] ; then
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
else
|
||||
JAVACMD=`which java 2> /dev/null `
|
||||
if [ -z "$JAVACMD" ] ; then
|
||||
JAVACMD=java
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
echo "Error: JAVA_HOME is not defined correctly."
|
||||
echo " We cannot execute $JAVACMD"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Build local classpath using just the launcher in non-rpm mode or
|
||||
# use the Jpackage helper in rpm mode with basic and default jars
|
||||
# specified in the ant.conf configuration. Because the launcher is
|
||||
# used, libraries linked in ANT_HOME will also be include, but this
|
||||
# is discouraged as it is not java-version safe. A user should
|
||||
# request optional jars and their dependencies via the OPT_JAR_LIST
|
||||
# variable
|
||||
if $rpm_mode && [ -f /usr/bin/build-classpath ] ; then
|
||||
LOCALCLASSPATH="$(/usr/bin/build-classpath ant ant-launcher jaxp_parser_impl xml-commons-apis)"
|
||||
# If the user requested to try to add some other jars to the classpath
|
||||
if [ -n "$OPT_JAR_LIST" ] ; then
|
||||
_OPTCLASSPATH="$(/usr/bin/build-classpath $OPT_JAR_LIST 2> /dev/null)"
|
||||
if [ -n "$_OPTCLASSPATH" ] ; then
|
||||
LOCALCLASSPATH="$LOCALCLASSPATH:$_OPTCLASSPATH"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Explicitly add javac path to classpath, assume JAVA_HOME set
|
||||
# properly in rpm mode
|
||||
if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then
|
||||
LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar"
|
||||
fi
|
||||
if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then
|
||||
LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip"
|
||||
fi
|
||||
|
||||
# if CLASSPATH_OVERRIDE env var is set, LOCALCLASSPATH will be
|
||||
# user CLASSPATH first and ant-found jars after.
|
||||
# In that case, the user CLASSPATH will override ant-found jars
|
||||
#
|
||||
# if CLASSPATH_OVERRIDE is not set, we'll have the normal behaviour
|
||||
# with ant-found jars first and user CLASSPATH after
|
||||
if [ -n "$CLASSPATH" ] ; then
|
||||
# merge local and specified classpath
|
||||
if [ -z "$LOCALCLASSPATH" ] ; then
|
||||
LOCALCLASSPATH="$CLASSPATH"
|
||||
elif [ -n "$CLASSPATH_OVERRIDE" ] ; then
|
||||
LOCALCLASSPATH="$CLASSPATH:$LOCALCLASSPATH"
|
||||
else
|
||||
LOCALCLASSPATH="$LOCALCLASSPATH:$CLASSPATH"
|
||||
fi
|
||||
|
||||
# remove class path from launcher -cp option
|
||||
CLASSPATH=""
|
||||
fi
|
||||
else
|
||||
# not using rpm_mode; use launcher to determine classpaths
|
||||
if [ -z "$LOCALCLASSPATH" ] ; then
|
||||
LOCALCLASSPATH=$ANT_LIB/ant-launcher.jar
|
||||
else
|
||||
LOCALCLASSPATH=$ANT_LIB/ant-launcher.jar:$LOCALCLASSPATH
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
# OSX hack to make Ant work with jikes
|
||||
if $darwin ; then
|
||||
OSXHACK="${JAVA_HOME}/../Classes"
|
||||
if [ -d "${OSXHACK}" ] ; then
|
||||
for i in "${OSXHACK}"/*.jar
|
||||
do
|
||||
JIKESPATH="$JIKESPATH:$i"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Allow Jikes support (off by default)
|
||||
if $usejikes; then
|
||||
ANT_OPTS="$ANT_OPTS -Dbuild.compiler=jikes"
|
||||
fi
|
||||
|
||||
# For Cygwin, switch paths to appropriate format before running java
|
||||
# For PATHs convert to unix format first, then to windows format to ensure
|
||||
# both formats are supported. Probably this will fail on directories with ;
|
||||
# in the name in the path. Let's assume that paths containing ; are more
|
||||
# rare than windows style paths on cygwin.
|
||||
if $cygwin; then
|
||||
if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then
|
||||
format=mixed
|
||||
else
|
||||
format=windows
|
||||
fi
|
||||
ANT_HOME=`cygpath --$format "$ANT_HOME"`
|
||||
ANT_LIB=`cygpath --$format "$ANT_LIB"`
|
||||
JAVA_HOME=`cygpath --$format "$JAVA_HOME"`
|
||||
LCP_TEMP=`cygpath --path --unix "$LOCALCLASSPATH"`
|
||||
LOCALCLASSPATH=`cygpath --path --$format "$LCP_TEMP"`
|
||||
if [ -n "$CLASSPATH" ] ; then
|
||||
CP_TEMP=`cygpath --path --unix "$CLASSPATH"`
|
||||
CLASSPATH=`cygpath --path --$format "$CP_TEMP"`
|
||||
fi
|
||||
CYGHOME=`cygpath --$format "$HOME"`
|
||||
fi
|
||||
|
||||
# Show script help if requested
|
||||
if $show_help ; then
|
||||
echo $0 '[script options] [options] [target [target2 [target3] ..]]'
|
||||
echo 'Script Options:'
|
||||
echo ' --help, --h print this message and ant help'
|
||||
echo ' --noconfig suppress sourcing of /etc/ant.conf,'
|
||||
echo ' $HOME/.ant/ant.conf, and $HOME/.antrc'
|
||||
echo ' configuration files'
|
||||
echo ' --usejikes enable use of jikes by default, unless'
|
||||
echo ' set explicitly in configuration files'
|
||||
echo ' --execdebug print ant exec line generated by this'
|
||||
echo ' launch script'
|
||||
echo ' '
|
||||
fi
|
||||
# add a second backslash to variables terminated by a backslash under cygwin
|
||||
if $cygwin; then
|
||||
case "$ANT_HOME" in
|
||||
*\\ )
|
||||
ANT_HOME="$ANT_HOME\\"
|
||||
;;
|
||||
esac
|
||||
case "$CYGHOME" in
|
||||
*\\ )
|
||||
CYGHOME="$CYGHOME\\"
|
||||
;;
|
||||
esac
|
||||
case "$JIKESPATH" in
|
||||
*\\ )
|
||||
JIKESPATH="$JIKESPATH\\"
|
||||
;;
|
||||
esac
|
||||
case "$LOCALCLASSPATH" in
|
||||
*\\ )
|
||||
LOCALCLASSPATH="$LOCALCLASSPATH\\"
|
||||
;;
|
||||
esac
|
||||
case "$CLASSPATH" in
|
||||
*\\ )
|
||||
CLASSPATH="$CLASSPATH\\"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
# Execute ant using eval/exec to preserve spaces in paths,
|
||||
# java options, and ant args
|
||||
ant_sys_opts=
|
||||
if [ -n "$CYGHOME" ]; then
|
||||
if [ -n "$JIKESPATH" ]; then
|
||||
ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\" -Dcygwin.user.home=\"$CYGHOME\""
|
||||
else
|
||||
ant_sys_opts="-Dcygwin.user.home=\"$CYGHOME\""
|
||||
fi
|
||||
else
|
||||
if [ -n "$JIKESPATH" ]; then
|
||||
ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\""
|
||||
fi
|
||||
fi
|
||||
ant_exec_command="exec \"$JAVACMD\" $ANT_OPTS -classpath \"$LOCALCLASSPATH\" -Dant.home=\"$ANT_HOME\" -Dant.library.dir=\"$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -cp \"$CLASSPATH\" $ant_exec_args"
|
||||
if $ant_exec_debug ; then
|
||||
echo $ant_exec_command
|
||||
fi
|
||||
eval $ant_exec_command
|
||||
126
intermax/23.12.07.02/ant/bin/ant.bat
Executable file
126
intermax/23.12.07.02/ant/bin/ant.bat
Executable file
@@ -0,0 +1,126 @@
|
||||
@echo off
|
||||
|
||||
REM Copyright 2001,2004-2005 The Apache Software Foundation
|
||||
REM
|
||||
REM Licensed under the Apache License, Version 2.0 (the "License");
|
||||
REM you may not use this file except in compliance with the License.
|
||||
REM You may obtain a copy of the License at
|
||||
REM
|
||||
REM http://www.apache.org/licenses/LICENSE-2.0
|
||||
REM
|
||||
REM Unless required by applicable law or agreed to in writing, software
|
||||
REM distributed under the License is distributed on an "AS IS" BASIS,
|
||||
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
REM See the License for the specific language governing permissions and
|
||||
REM limitations under the License.
|
||||
|
||||
if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat"
|
||||
|
||||
if "%OS%"=="Windows_NT" @setlocal
|
||||
if "%OS%"=="WINNT" @setlocal
|
||||
|
||||
rem %~dp0 is expanded pathname of the current script under NT
|
||||
set DEFAULT_ANT_HOME=%~dp0..
|
||||
|
||||
if "%ANT_HOME%"=="" set ANT_HOME=%DEFAULT_ANT_HOME%
|
||||
set DEFAULT_ANT_HOME=
|
||||
|
||||
set _USE_CLASSPATH=yes
|
||||
|
||||
rem Slurp the command line arguments. This loop allows for an unlimited number
|
||||
rem of arguments (up to the command line limit, anyway).
|
||||
set ANT_CMD_LINE_ARGS=%1
|
||||
if ""%1""=="""" goto doneStart
|
||||
shift
|
||||
:setupArgs
|
||||
if ""%1""=="""" goto doneStart
|
||||
if ""%1""==""-noclasspath"" goto clearclasspath
|
||||
set ANT_CMD_LINE_ARGS=%ANT_CMD_LINE_ARGS% %1
|
||||
shift
|
||||
goto setupArgs
|
||||
|
||||
rem here is there is a -noclasspath in the options
|
||||
:clearclasspath
|
||||
set _USE_CLASSPATH=no
|
||||
shift
|
||||
goto setupArgs
|
||||
|
||||
rem This label provides a place for the argument list loop to break out
|
||||
rem and for NT handling to skip to.
|
||||
|
||||
:doneStart
|
||||
rem find ANT_HOME if it does not exist due to either an invalid value passed
|
||||
rem by the user or the %0 problem on Windows 9x
|
||||
if exist "%ANT_HOME%\lib\ant.jar" goto checkJava
|
||||
|
||||
rem check for ant in Program Files
|
||||
if not exist "%ProgramFiles%\ant" goto checkSystemDrive
|
||||
set ANT_HOME=%ProgramFiles%\ant
|
||||
goto checkJava
|
||||
|
||||
:checkSystemDrive
|
||||
rem check for ant in root directory of system drive
|
||||
if not exist %SystemDrive%\ant\lib\ant.jar goto checkCDrive
|
||||
set ANT_HOME=%SystemDrive%\ant
|
||||
goto checkJava
|
||||
|
||||
:checkCDrive
|
||||
rem check for ant in C:\ant for Win9X users
|
||||
if not exist C:\ant\lib\ant.jar goto noAntHome
|
||||
set ANT_HOME=C:\ant
|
||||
goto checkJava
|
||||
|
||||
:noAntHome
|
||||
echo ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.
|
||||
goto end
|
||||
|
||||
:checkJava
|
||||
set _JAVACMD=%JAVACMD%
|
||||
|
||||
if "%JAVA_HOME%" == "" goto noJavaHome
|
||||
if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
|
||||
if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe
|
||||
goto checkJikes
|
||||
|
||||
:noJavaHome
|
||||
if "%_JAVACMD%" == "" set _JAVACMD=java.exe
|
||||
|
||||
:checkJikes
|
||||
if not "%JIKESPATH%"=="" goto runAntWithJikes
|
||||
|
||||
:runAnt
|
||||
if "%_USE_CLASSPATH%"=="no" goto runAntNoClasspath
|
||||
if not "%CLASSPATH%"=="" goto runAntWithClasspath
|
||||
"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS%
|
||||
goto end
|
||||
|
||||
:runAntNoClasspath
|
||||
"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS%
|
||||
goto end
|
||||
|
||||
:runAntWithClasspath
|
||||
"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS%
|
||||
goto end
|
||||
|
||||
:runAntWithJikes
|
||||
if "%_USE_CLASSPATH%"=="no" goto runAntWithJikesNoClasspath
|
||||
if not "%CLASSPATH%"=="" goto runAntWithJikesAndClasspath
|
||||
|
||||
:runAntWithJikesNoClasspath
|
||||
"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS%
|
||||
goto end
|
||||
|
||||
:runAntWithJikesAndClasspath
|
||||
"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS%
|
||||
goto end
|
||||
|
||||
:end
|
||||
set _JAVACMD=
|
||||
set ANT_CMD_LINE_ARGS=
|
||||
|
||||
if "%OS%"=="Windows_NT" @endlocal
|
||||
if "%OS%"=="WINNT" @endlocal
|
||||
|
||||
:mainEnd
|
||||
if exist "%HOME%\antrc_post.bat" call "%HOME%\antrc_post.bat"
|
||||
|
||||
92
intermax/23.12.07.02/ant/bin/ant.cmd
Executable file
92
intermax/23.12.07.02/ant/bin/ant.cmd
Executable file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
Copyright 2003-2004 The Apache Software Foundation
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
Run ant
|
||||
*/
|
||||
|
||||
'@echo off'
|
||||
parse arg mode envarg '::' antarg
|
||||
|
||||
if mode\='.' & mode\='..' & mode\='/' then do
|
||||
envarg = mode envarg
|
||||
mode = ''
|
||||
end
|
||||
|
||||
if antarg = '' then do
|
||||
antarg = envarg
|
||||
envarg = ''
|
||||
end
|
||||
|
||||
x = setlocal()
|
||||
|
||||
env="OS2ENVIRONMENT"
|
||||
antenv = _getenv_('antenv')
|
||||
if _testenv_() = 0 then interpret 'call "' || antenv || '"' '"' || envarg || '"'
|
||||
|
||||
if mode = '' then mode = _getenv_('ANT_MODE' '..')
|
||||
if mode \= '/' then do
|
||||
runrc = _getenv_('runrc')
|
||||
antrc = _getenv_('antrc' 'antrc.cmd')
|
||||
if mode = '..' then mode = '-r'
|
||||
else mode = ''
|
||||
interpret 'call "' || runrc || '"' antrc '"' || mode || '"'
|
||||
end
|
||||
|
||||
if _testenv_() = 0 then do
|
||||
say 'Ant environment is not set properly'
|
||||
x = endlocal()
|
||||
exit 16
|
||||
end
|
||||
|
||||
settings = '-Dant.home=' || ANT_HOME '-Djava.home=' || JAVA_HOME
|
||||
|
||||
java = _getenv_('javacmd' 'java')
|
||||
opts = value('ANT_OPTS',,env)
|
||||
args = value('ANT_ARGS',,env)
|
||||
lcp = value('LOCALCLASSPATH',,env)
|
||||
cp = value('CLASSPATH',,env)
|
||||
if value('ANT_USE_CP',,env) \= '' then do
|
||||
if lcp \= '' & right(lcp, 1) \= ';' then lcp = lcp || ';'
|
||||
lcp = lcp || cp
|
||||
'SET CLASSPATH='
|
||||
end
|
||||
if lcp\='' then lcp = '-classpath' lcp
|
||||
|
||||
cmd = java opts lcp '-jar' ANT_HOME ||'\lib\ant-launcher.jar' settings args antarg
|
||||
launcher = stream(ANT_HOME ||'\lib\ant-launcher.jar', 'C', 'query exists')
|
||||
if launcher = '' then entry = 'org.apache.tools.ant.Main'
|
||||
else entry = 'org.apache.tools.ant.launch.Launcher'
|
||||
java opts lcp entry settings args antarg
|
||||
|
||||
x = endlocal()
|
||||
|
||||
return rc
|
||||
|
||||
_testenv_: procedure expose env ANT_HOME JAVA_HOME
|
||||
ANT_HOME = value('ANT_HOME',,env)
|
||||
if ANT_HOME = '' then return 0
|
||||
JAVA_HOME = value('JAVA_HOME',,env)
|
||||
if JAVA_HOME = '' then return 0
|
||||
cp = translate(value('CLASSPATH',,env))
|
||||
if pos(translate(ANT_HOME), cp) = 0 then return 0
|
||||
if pos(translate(JAVA_HOME), cp) = 0 then return 0
|
||||
return 1
|
||||
|
||||
_getenv_: procedure expose env
|
||||
parse arg envar default
|
||||
if default = '' then default = envar
|
||||
var = value(translate(envar),,env)
|
||||
if var = '' then var = default
|
||||
return var
|
||||
26
intermax/23.12.07.02/ant/bin/antRun
Executable file
26
intermax/23.12.07.02/ant/bin/antRun
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright 2001-2002,2004 The Apache Software Foundation
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
|
||||
# Args: DIR command
|
||||
cd "$1"
|
||||
CMD="$2"
|
||||
shift
|
||||
shift
|
||||
|
||||
exec "$CMD" "$@"
|
||||
47
intermax/23.12.07.02/ant/bin/antRun.bat
Executable file
47
intermax/23.12.07.02/ant/bin/antRun.bat
Executable file
@@ -0,0 +1,47 @@
|
||||
@echo off
|
||||
|
||||
REM
|
||||
REM Copyright 2001-2002,2004-2005 The Apache Software Foundation
|
||||
REM
|
||||
REM Licensed under the Apache License, Version 2.0 (the "License");
|
||||
REM you may not use this file except in compliance with the License.
|
||||
REM You may obtain a copy of the License at
|
||||
REM
|
||||
REM http://www.apache.org/licenses/LICENSE-2.0
|
||||
REM
|
||||
REM Unless required by applicable law or agreed to in writing, software
|
||||
REM distributed under the License is distributed on an "AS IS" BASIS,
|
||||
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
REM See the License for the specific language governing permissions and
|
||||
REM limitations under the License.
|
||||
REM
|
||||
REM
|
||||
|
||||
if "%OS%"=="Windows_NT" @setlocal
|
||||
if "%OS%"=="WINNT" @setlocal
|
||||
|
||||
if ""%1""=="""" goto runCommand
|
||||
|
||||
rem Change drive and directory to %1
|
||||
if "%OS%"=="Windows_NT" cd /d ""%1""
|
||||
if not "%OS%"=="Windows_NT" cd ""%1""
|
||||
shift
|
||||
|
||||
rem Slurp the command line arguments. This loop allows for an unlimited number
|
||||
rem of agruments (up to the command line limit, anyway).
|
||||
set ANT_RUN_CMD=%1
|
||||
if ""%1""=="""" goto runCommand
|
||||
shift
|
||||
:loop
|
||||
if ""%1""=="""" goto runCommand
|
||||
set ANT_RUN_CMD=%ANT_RUN_CMD% %1
|
||||
shift
|
||||
goto loop
|
||||
|
||||
:runCommand
|
||||
rem echo %ANT_RUN_CMD%
|
||||
%ANT_RUN_CMD%
|
||||
|
||||
if "%OS%"=="Windows_NT" @endlocal
|
||||
if "%OS%"=="WINNT" @endlocal
|
||||
|
||||
65
intermax/23.12.07.02/ant/bin/antRun.pl
Executable file
65
intermax/23.12.07.02/ant/bin/antRun.pl
Executable file
@@ -0,0 +1,65 @@
|
||||
#!/usr/bin/perl
|
||||
#
|
||||
# Copyright 2001,2003-2004 The Apache Software Foundation
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#######################################################################
|
||||
#
|
||||
# antRun.pl
|
||||
#
|
||||
# wrapper script for invoking commands on a platform with Perl installed
|
||||
# this is akin to antRun.bat, and antRun the SH script
|
||||
#
|
||||
# created: 2001-10-18
|
||||
# author: Jeff Tulley jtulley@novell.com
|
||||
#######################################################################
|
||||
#be fussy about variables
|
||||
use strict;
|
||||
|
||||
#turn warnings on during dev; generates a few spurious uninitialised var access warnings
|
||||
#use warnings;
|
||||
|
||||
#and set $debug to 1 to turn on trace info (currently unused)
|
||||
my $debug=1;
|
||||
|
||||
#######################################################################
|
||||
# change drive and directory to "%1"
|
||||
my $ANT_RUN_CMD = @ARGV[0];
|
||||
|
||||
# assign current run command to "%2"
|
||||
chdir (@ARGV[0]) || die "Can't cd to $ARGV[0]: $!\n";
|
||||
if ($^O eq "NetWare") {
|
||||
# There is a bug in Perl 5 on NetWare, where chdir does not
|
||||
# do anything. On NetWare, the following path-prefixed form should
|
||||
# always work. (afaict)
|
||||
$ANT_RUN_CMD .= "/".@ARGV[1];
|
||||
}
|
||||
else {
|
||||
$ANT_RUN_CMD = @ARGV[1];
|
||||
}
|
||||
|
||||
# dispose of the first two arguments, leaving only the command's args.
|
||||
shift;
|
||||
shift;
|
||||
|
||||
# run the command
|
||||
my $returnValue = system $ANT_RUN_CMD, @ARGV;
|
||||
if ($returnValue eq 0) {
|
||||
exit 0;
|
||||
}
|
||||
else {
|
||||
# only 0 and 1 are widely recognized as exit values
|
||||
# so change the exit value to 1
|
||||
exit 1;
|
||||
}
|
||||
99
intermax/23.12.07.02/ant/bin/antenv.cmd
Executable file
99
intermax/23.12.07.02/ant/bin/antenv.cmd
Executable file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
Copyright 2003-2004 The Apache Software Foundation
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
Ant environment
|
||||
*/
|
||||
|
||||
'@echo off'
|
||||
call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs"
|
||||
call SysLoadFuncs
|
||||
|
||||
/* Prepare the parameters for later use */
|
||||
parse arg argv
|
||||
mode = ''
|
||||
args = ''
|
||||
opts = ''
|
||||
cp = ''
|
||||
lcp = ''
|
||||
|
||||
do i = 1 to words(argv)
|
||||
param = word(argv, i)
|
||||
select
|
||||
when param='-lcp' then mode = 'l'
|
||||
when param='-cp' | param='-classpath' then mode = 'c'
|
||||
when abbrev('-opts', param, 4) then mode = 'o'
|
||||
when abbrev('-args', param, 4) then mode = 'a'
|
||||
otherwise
|
||||
select
|
||||
when mode = 'a' then args = space(args param, 1)
|
||||
when mode = 'c' then cp = space(cp param, 1)
|
||||
when mode = 'l' then lcp = space(lcp param, 1)
|
||||
when mode = 'o' then opts = space(opts param, 1)
|
||||
otherwise
|
||||
say 'Option' param 'ignored'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
env="OS2ENVIRONMENT"
|
||||
antconf = _getenv_('antconf' 'antconf.cmd')
|
||||
runrc = _getenv_('runrc')
|
||||
interpret 'call "' || runrc || '"' '"' || antconf || '"' 'ETC'
|
||||
ANT_HOME = value('ANT_HOME',,env)
|
||||
JAVA_HOME = value('JAVA_HOME',,env)
|
||||
classpath = value('CLASSPATH',,env)
|
||||
classes = stream(JAVA_HOME || "\lib\classes.zip", "C", "QUERY EXISTS")
|
||||
if classes \= '' then classpath = prepend(classpath classes)
|
||||
classes = stream(JAVA_HOME || "\lib\tools.jar", "C", "QUERY EXISTS")
|
||||
if classes \= '' then classpath = prepend(classpath classes)
|
||||
|
||||
classpath = prepend(classpath ANT_HOME || '\lib\ant-launcher.jar')
|
||||
'SET CLASSPATH=' || classpath
|
||||
|
||||
/* Setting classpathes, options and arguments */
|
||||
envset = _getenv_('envset')
|
||||
if cp\='' then interpret 'call "' || envset || '"' '"; CLASSPATH"' '"' || cp || '"'
|
||||
if lcp\='' then interpret 'call "' || envset || '"' '"; LOCALCLASSPATH"' '"' || lcp || '"'
|
||||
if opts\='' then interpret 'call "' || envset || '"' '"-D ANT_OPTS"' '"' || opts || '"'
|
||||
if args\='' then interpret 'call "' || envset || '"' '"ANT_ARGS"' '"' || args || '"'
|
||||
|
||||
exit 0
|
||||
|
||||
addpath: procedure
|
||||
parse arg path elem
|
||||
if elem = '' then do
|
||||
if path\='' & right(path, 1)\=';' then path = path || ';'
|
||||
return path
|
||||
end
|
||||
if substr(path, length(path)) = ';' then glue = ''
|
||||
else glue = ';'
|
||||
if pos(translate(elem), translate(path)) = 0 then path = path || glue || elem || ';'
|
||||
return path
|
||||
|
||||
prepend: procedure
|
||||
parse arg path elem
|
||||
if elem = '' then do
|
||||
if path\='' & right(path, 1)\=';' then path = path || ';'
|
||||
return path
|
||||
end
|
||||
if pos(translate(elem), translate(path)) = 0 then path = elem || ';' || path
|
||||
return path
|
||||
|
||||
_getenv_: procedure expose env
|
||||
parse arg envar default
|
||||
if default = '' then default = envar
|
||||
var = value(translate(envar),,env)
|
||||
if var = '' then var = default
|
||||
return var
|
||||
113
intermax/23.12.07.02/ant/bin/complete-ant-cmd.pl
Executable file
113
intermax/23.12.07.02/ant/bin/complete-ant-cmd.pl
Executable file
@@ -0,0 +1,113 @@
|
||||
#!/usr/bin/perl
|
||||
#
|
||||
# Copyright 2001,2004 The Apache Software Foundation
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
# A script to allow Bash or Z-Shell to complete an Ant command-line.
|
||||
#
|
||||
# To install for Bash 2.0 or better, add the following to ~/.bashrc:
|
||||
#
|
||||
# $ complete -C complete-ant-cmd ant build.sh
|
||||
#
|
||||
# To install for Z-Shell 2.5 or better, add the following to ~/.zshrc:
|
||||
#
|
||||
# function ant_complete () {
|
||||
# local args_line args
|
||||
# read -l args_line
|
||||
# set -A args $args_line
|
||||
# set -A reply $(COMP_LINE=$args_line complete-ant-cmd ${args[1]} $1)
|
||||
# }
|
||||
# compctl -K ant_complete ant build.sh
|
||||
#
|
||||
# @author Mike Williams <mikew@cortexebusiness.com.au>
|
||||
|
||||
my $cmdLine = $ENV{'COMP_LINE'};
|
||||
my $antCmd = $ARGV[0];
|
||||
my $word = $ARGV[1];
|
||||
|
||||
my @completions;
|
||||
if ($word =~ /^-/) {
|
||||
list( restrict( $word, getArguments() ));
|
||||
} elsif ($cmdLine =~ /-(f|buildfile)\s+\S*$/) {
|
||||
list( getBuildFiles($word) );
|
||||
} else {
|
||||
list( restrict( $word, getTargets() ));
|
||||
}
|
||||
|
||||
exit(0);
|
||||
|
||||
sub list {
|
||||
for (@_) {
|
||||
print "$_\n";
|
||||
}
|
||||
}
|
||||
|
||||
sub restrict {
|
||||
my ($word, @completions) = @_;
|
||||
grep( /^\Q$word\E/, @completions );
|
||||
}
|
||||
|
||||
sub getArguments {
|
||||
qw(-buildfile -debug -emacs -f -find -help -listener -logfile
|
||||
-logger -projecthelp -quiet -verbose -version);
|
||||
}
|
||||
|
||||
|
||||
sub getBuildFiles {
|
||||
my ($word) = @_;
|
||||
grep( /\.xml$/, glob( "$word*" ));
|
||||
}
|
||||
|
||||
sub getTargets {
|
||||
|
||||
# Look for build-file
|
||||
my $buildFile = 'build.xml';
|
||||
if ($cmdLine =~ /-(f|buildfile)\s+(\S+)/) {
|
||||
$buildFile = $2;
|
||||
}
|
||||
return () unless (-f $buildFile);
|
||||
|
||||
# Run "ant -projecthelp" to list targets. Keep a cache of results in a
|
||||
# cache-file.
|
||||
my $cacheFile = $buildFile;
|
||||
$cacheFile =~ s|(.*/)?(.*)|${1}.ant-targets-${2}|;
|
||||
if ((!-e $cacheFile) || (-M $buildFile) < (-M $cacheFile)) {
|
||||
open( CACHE, '>'.$cacheFile ) || die "can\'t write $cacheFile: $!\n";
|
||||
open( HELP, "$antCmd -projecthelp -f '$buildFile'|" ) || return();
|
||||
my %targets;
|
||||
while( <HELP> ) {
|
||||
if (/^\s+(\S+)/) {
|
||||
$targets{$1}++;
|
||||
}
|
||||
}
|
||||
my @targets = sort keys %targets;
|
||||
for (@targets) { print CACHE "$_\n"; }
|
||||
return @targets;
|
||||
}
|
||||
|
||||
# Read the target-cache
|
||||
open( CACHE, $cacheFile ) || die "can\'t read $cacheFile: $!\n";
|
||||
my @targets;
|
||||
while (<CACHE>) {
|
||||
chop;
|
||||
s/\r$//; # for Cygwin
|
||||
push( @targets, $_ );
|
||||
}
|
||||
close( CACHE );
|
||||
@targets;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
130
intermax/23.12.07.02/ant/bin/envset.cmd
Executable file
130
intermax/23.12.07.02/ant/bin/envset.cmd
Executable file
@@ -0,0 +1,130 @@
|
||||
/*
|
||||
|
||||
Copyright 2003-2004 The Apache Software Foundation
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
SET environment variables
|
||||
First optional parameter:
|
||||
; parameters are considered parts of a path variable, semicolons are
|
||||
appended to each element if not already present
|
||||
-D parameters are properties for Java or Makefile etc., -D will be
|
||||
prepended and the parameters will be separated by a space
|
||||
=D the same as above but equal sign is not required
|
||||
, parameters should be comma separated in the environment variable
|
||||
- parameters should be separated by the next parameter
|
||||
Other values mean that the first parameter is missing and the environment
|
||||
variable will be set to the space separated parameters
|
||||
|
||||
Second parameter: name of the environment variable
|
||||
|
||||
Next parameters: values
|
||||
; implies that the equal sign is considered a part of the parameter and is
|
||||
not interpreted
|
||||
|
||||
-D requires parameters in the form name=value. If the equal sign is not found,
|
||||
the parameters are changed to name=expanded_name
|
||||
|
||||
Other options have optional equal sign. If it is found, only the part after
|
||||
the equal sign will be oprionally expanded.
|
||||
|
||||
If the parameter is the minus sign, the next parameter will not be expanded.
|
||||
If the parameter is a single dot, it will be replaced with the value of the
|
||||
environment variable as it existed before envset was invoked.
|
||||
|
||||
For other parameters the batch looks for the environment variable with the
|
||||
same name (in uppercase). If it is found, it forms the expanded_name. If
|
||||
the environment variable with such a name does not exist, the expanded_name
|
||||
will hold the parameter name without case conversion.
|
||||
*/
|
||||
|
||||
parse arg mode envar args
|
||||
|
||||
equal = 0
|
||||
sep = ' '
|
||||
|
||||
/* Parse command line parameters */
|
||||
select
|
||||
when mode='-' then do
|
||||
sep = envar
|
||||
parse var args envar args
|
||||
end
|
||||
when mode=';' then do
|
||||
sep = ''
|
||||
equal = -1
|
||||
end
|
||||
when mode='-D' then equal = 1
|
||||
when mode='=D' then mode = '-D'
|
||||
when mode=',' then sep = ','
|
||||
otherwise
|
||||
args = envar args
|
||||
envar = mode
|
||||
mode = ''
|
||||
end
|
||||
|
||||
env = 'OS2ENVIRONMENT'
|
||||
envar = translate(envar)
|
||||
orig = value(envar,,env)
|
||||
newval = ''
|
||||
expand = 1
|
||||
|
||||
/* for each parameter... */
|
||||
do i = 1 to words(args)
|
||||
if expand > 0 & word(args, i) = '-' then expand = 0
|
||||
else call addval word(args, i)
|
||||
end
|
||||
|
||||
/* Optionally enclose path variable by quotes */
|
||||
if mode = ';' & pos(' ', newval) > 0 then newval = '"' || newval || '"'
|
||||
|
||||
/* Set the new value, 'SET' cannot be used since it does not allow '=' */
|
||||
x = value(envar, newval, env)
|
||||
exit 0
|
||||
|
||||
addval: procedure expose sep equal orig expand newval mode env
|
||||
parse arg var
|
||||
|
||||
if var = '.' then expvar = orig
|
||||
else do
|
||||
if equal >= 0 then do
|
||||
parse var var name '=' val
|
||||
if val = '' then var = name
|
||||
else var = val
|
||||
end
|
||||
if expand = 0 then expvar = var
|
||||
else expvar = value(translate(var),,env)
|
||||
if expvar = '' then expvar = var
|
||||
if equal >= 0 then do
|
||||
if val = '' then do
|
||||
parse var expvar key '=' val
|
||||
if val <> '' then name = key
|
||||
else do
|
||||
if equal > 0 then val = key
|
||||
else name = key
|
||||
end
|
||||
end
|
||||
else val = expvar
|
||||
if pos(' ', val) > 0 | pos('=', val) > 0 then val = '"' || val || '"'
|
||||
if val = '' then expvar = name
|
||||
else expvar = name || '=' || val
|
||||
end
|
||||
if mode = '-D' then expvar = '-D' || expvar
|
||||
if mode = ';' then do
|
||||
if right(expvar, 1) <> ';' then expvar = expvar || ';'
|
||||
end
|
||||
end
|
||||
|
||||
if newval = '' then newval = expvar
|
||||
else newval = newval || sep || expvar
|
||||
expand = 1
|
||||
return
|
||||
30
intermax/23.12.07.02/ant/bin/lcp.bat
Executable file
30
intermax/23.12.07.02/ant/bin/lcp.bat
Executable file
@@ -0,0 +1,30 @@
|
||||
REM
|
||||
REM Copyright 2001-2004 The Apache Software Foundation
|
||||
REM
|
||||
REM Licensed under the Apache License, Version 2.0 (the "License");
|
||||
REM you may not use this file except in compliance with the License.
|
||||
REM You may obtain a copy of the License at
|
||||
REM
|
||||
REM http://www.apache.org/licenses/LICENSE-2.0
|
||||
REM
|
||||
REM Unless required by applicable law or agreed to in writing, software
|
||||
REM distributed under the License is distributed on an "AS IS" BASIS,
|
||||
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
REM See the License for the specific language governing permissions and
|
||||
REM limitations under the License.
|
||||
REM
|
||||
REM
|
||||
|
||||
set _CLASSPATHCOMPONENT=%1
|
||||
if ""%1""=="""" goto gotAllArgs
|
||||
shift
|
||||
|
||||
:argCheck
|
||||
if ""%1""=="""" goto gotAllArgs
|
||||
set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1
|
||||
shift
|
||||
goto argCheck
|
||||
|
||||
:gotAllArgs
|
||||
set LOCALCLASSPATH=%_CLASSPATHCOMPONENT%;%LOCALCLASSPATH%
|
||||
|
||||
152
intermax/23.12.07.02/ant/bin/runant.pl
Executable file
152
intermax/23.12.07.02/ant/bin/runant.pl
Executable file
@@ -0,0 +1,152 @@
|
||||
#!/usr/bin/perl
|
||||
#
|
||||
# Copyright 2000-2004 The Apache Software Foundation
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#######################################################################
|
||||
#
|
||||
# runant.pl
|
||||
#
|
||||
# wrapper script for invoking ant in a platform with Perl installed
|
||||
# this may include cgi-bin invocation, which is considered somewhat daft.
|
||||
# (slo: that should be a separate file which can be derived from this
|
||||
# and returns the XML formatted output)
|
||||
#
|
||||
# the code is not totally portable due to classpath and directory splitting
|
||||
# issues. oops. (NB, use File::Spec::Functions will help and the code is
|
||||
# structured for the catfile() call, but because of perl version funnies
|
||||
# the code is not included.
|
||||
#
|
||||
# created: 2000-8-24
|
||||
# author: Steve Loughran steve_l@sourceforge.net
|
||||
#######################################################################
|
||||
#
|
||||
# Assumptions:
|
||||
#
|
||||
# - the "java" executable/script is on the command path
|
||||
# - ANT_HOME has been set
|
||||
# - target platform uses ":" as classpath separator or perl indicates it is dos/win32
|
||||
# - target platform uses "/" as directory separator.
|
||||
|
||||
#be fussy about variables
|
||||
use strict;
|
||||
|
||||
#platform specifics (disabled)
|
||||
#use File::Spec::Functions;
|
||||
|
||||
#turn warnings on during dev; generates a few spurious uninitialised var access warnings
|
||||
#use warnings;
|
||||
|
||||
#and set $debug to 1 to turn on trace info
|
||||
my $debug=1;
|
||||
|
||||
#######################################################################
|
||||
#
|
||||
# check to make sure environment is setup
|
||||
#
|
||||
|
||||
my $HOME = $ENV{ANT_HOME};
|
||||
if ($HOME eq "")
|
||||
{
|
||||
die "\n\nANT_HOME *MUST* be set!\n\n";
|
||||
}
|
||||
|
||||
my $JAVACMD = $ENV{JAVACMD};
|
||||
$JAVACMD = "java" if $JAVACMD eq "";
|
||||
|
||||
my $onnetware = 0;
|
||||
if ($^O eq "NetWare")
|
||||
{
|
||||
$onnetware = 1;
|
||||
}
|
||||
|
||||
my $oncygwin = ($^O eq "cygwin");
|
||||
|
||||
#ISSUE: what java wants to split up classpath varies from platform to platform
|
||||
#and perl is not too hot at hinting which box it is on.
|
||||
#here I assume ":" 'cept on win32, dos, and netware. Add extra tests here as needed.
|
||||
my $s=":";
|
||||
if(($^O eq "MSWin32") || ($^O eq "dos") || ($^O eq "cygwin") ||
|
||||
($onnetware == 1))
|
||||
{
|
||||
$s=";";
|
||||
}
|
||||
|
||||
#build up standard classpath
|
||||
my $localpath = "$HOME/lib/ant-launcher.jar";
|
||||
#set JVM options and Ant arguments, if any
|
||||
my @ANT_OPTS=split(" ", $ENV{ANT_OPTS});
|
||||
my @ANT_ARGS=split(" ", $ENV{ANT_ARGS});
|
||||
|
||||
#jikes
|
||||
if($ENV{JIKESPATH} ne "")
|
||||
{
|
||||
push @ANT_OPTS, "-Djikes.class.path=$ENV{JIKESPATH}";
|
||||
}
|
||||
|
||||
#construct arguments to java
|
||||
my @ARGS;
|
||||
push @ARGS, @ANT_OPTS;
|
||||
|
||||
my $CYGHOME = "";
|
||||
|
||||
my $classpath=$ENV{CLASSPATH};
|
||||
if ($oncygwin == 1) {
|
||||
$localpath = `cygpath --path --windows $localpath`;
|
||||
chomp ($localpath);
|
||||
if (! $classpath eq "")
|
||||
{
|
||||
$classpath = `cygpath --path --windows "$classpath"`;
|
||||
chomp ($classpath);
|
||||
}
|
||||
$HOME = `cygpath --path --windows $HOME`;
|
||||
chomp ($HOME);
|
||||
$CYGHOME = `cygpath --path --windows $ENV{HOME}`;
|
||||
chomp ($CYGHOME);
|
||||
}
|
||||
push @ARGS, "-classpath", "$localpath";
|
||||
push @ARGS, "-Dant.home=$HOME";
|
||||
if ( ! $CYGHOME eq "" )
|
||||
{
|
||||
push @ARGS, "-Dcygwin.user.home=\"$CYGHOME\""
|
||||
}
|
||||
push @ARGS, "org.apache.tools.ant.launch.Launcher", @ANT_ARGS;
|
||||
push @ARGS, @ARGV;
|
||||
if (! $classpath eq "")
|
||||
{
|
||||
if ($onnetware == 1)
|
||||
{
|
||||
# make classpath literally $CLASSPATH
|
||||
# this is to avoid pushing us over the 512 character limit
|
||||
# even skip the ; - that is already in $localpath
|
||||
push @ARGS, "-lib", "\$CLASSPATH";
|
||||
}
|
||||
else
|
||||
{
|
||||
push @ARGS, "-lib", "$classpath";
|
||||
}
|
||||
}
|
||||
print "\n $JAVACMD @ARGS\n\n" if ($debug);
|
||||
|
||||
my $returnValue = system $JAVACMD, @ARGS;
|
||||
if ($returnValue eq 0)
|
||||
{
|
||||
exit 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
# only 0 and 1 are widely recognized as exit values
|
||||
# so change the exit value to 1
|
||||
exit 1;
|
||||
}
|
||||
100
intermax/23.12.07.02/ant/bin/runant.py
Executable file
100
intermax/23.12.07.02/ant/bin/runant.py
Executable file
@@ -0,0 +1,100 @@
|
||||
#!/usr/bin/python
|
||||
# Copyright 2001,2003-2004 The Apache Software Foundation
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
"""
|
||||
|
||||
runant.py
|
||||
|
||||
This script is a translation of the runant.pl written by Steve Loughran.
|
||||
It runs ant with/out arguments, it should be quite portable (thanks to
|
||||
the python os library)
|
||||
This script has been tested with Python2.0/Win2K
|
||||
|
||||
created: 2001-04-11
|
||||
author: Pierre Dittgen pierre.dittgen@criltelecom.com
|
||||
|
||||
Assumptions:
|
||||
|
||||
- the "java" executable/script is on the command path
|
||||
"""
|
||||
import os, os.path, string, sys
|
||||
|
||||
# Change it to 1 to get extra debug information
|
||||
debug = 0
|
||||
|
||||
#######################################################################
|
||||
|
||||
# If ANT_HOME is not set default to script's parent directory
|
||||
if os.environ.has_key('ANT_HOME'):
|
||||
ANT_HOME = os.environ['ANT_HOME']
|
||||
else:
|
||||
ANT_HOME = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0])))
|
||||
|
||||
# set ANT_LIB location
|
||||
ANT_LIB = os.path.join(ANT_HOME, 'lib')
|
||||
|
||||
# set JAVACMD (check variables JAVACMD and JAVA_HOME)
|
||||
JAVACMD = None
|
||||
if not os.environ.has_key('JAVACMD'):
|
||||
if os.environ.has_key('JAVA_HOME'):
|
||||
if not os.path.exists(os.environ['JAVA_HOME']):
|
||||
print "Warning: JAVA_HOME is not defined correctly."
|
||||
else:
|
||||
JAVACMD = os.path.join(os.environ['JAVA_HOME'], 'bin', 'java')
|
||||
else:
|
||||
print "Warning: JAVA_HOME not set."
|
||||
else:
|
||||
JAVACMD = os.environ['JAVACMD']
|
||||
if not JAVACMD:
|
||||
JAVACMD = 'java'
|
||||
|
||||
launcher_jar = os.path.join(ANT_LIB, 'ant-launcher.jar')
|
||||
if not os.path.exists(launcher_jar):
|
||||
print 'Unable to locate ant-launcher.jar. Expected to find it in %s' % \
|
||||
ANT_LIB
|
||||
|
||||
# Build up standard classpath (LOCALCLASSPATH)
|
||||
LOCALCLASSPATH = launcher_jar
|
||||
if os.environ.has_key('LOCALCLASSPATH'):
|
||||
LOCALCLASSPATH += os.pathsep + os.environ['LOCALCLASSPATH']
|
||||
|
||||
ANT_OPTS = ""
|
||||
if os.environ.has_key('ANT_OPTS'):
|
||||
ANT_OPTS = os.environ['ANT_OPTS']
|
||||
|
||||
OPTS = ""
|
||||
if os.environ.has_key('JIKESPATH'):
|
||||
OPTS = '-Djikes.class.path=\"%s\"' % os.environ['JIKESPATH']
|
||||
|
||||
ANT_ARGS = ""
|
||||
if os.environ.has_key('ANT_ARGS'):
|
||||
ANT_ARGS = os.environ['ANT_ARGS']
|
||||
|
||||
CLASSPATH = ""
|
||||
if os.environ.has_key('CLASSPATH'):
|
||||
CLASSPATH = os.environ['CLASSPATH']
|
||||
|
||||
# Builds the commandline
|
||||
cmdline = ('%s %s -classpath %s -Dant.home=%s %s ' + \
|
||||
'org.apache.tools.ant.launch.Launcher %s -lib %s %s') \
|
||||
% (JAVACMD, ANT_OPTS, LOCALCLASSPATH, ANT_HOME, OPTS, ANT_ARGS, \
|
||||
CLASSPATH, string.join(sys.argv[1:], ' '))
|
||||
|
||||
if debug:
|
||||
print '\n%s\n\n' % (cmdline)
|
||||
|
||||
# Run the biniou!
|
||||
os.system(cmdline)
|
||||
59
intermax/23.12.07.02/ant/bin/runrc.cmd
Executable file
59
intermax/23.12.07.02/ant/bin/runrc.cmd
Executable file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
Copyright 2003-2004 The Apache Software Foundation
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
Run RC file, name is in the first arg, second arg is either PATH
|
||||
ENV or -r or nothing
|
||||
*/
|
||||
|
||||
parse arg name path rest
|
||||
|
||||
if name = '' then do
|
||||
say 'RC file name is missing'
|
||||
exit 1
|
||||
end
|
||||
|
||||
if rest \= '' then do
|
||||
say 'Too many parameters'
|
||||
exit 1
|
||||
end
|
||||
|
||||
call runit name path
|
||||
exit 0
|
||||
|
||||
runit: procedure
|
||||
parse arg name path dir
|
||||
|
||||
if path \= '' & path \= '-r' then do
|
||||
dir = value(translate(path),,'OS2ENVIRONMENT')
|
||||
if dir = '' then return
|
||||
dir = translate(dir, '\', '/') /* change UNIX-like path to OS/2 */
|
||||
end
|
||||
|
||||
if dir = '' then dir = directory()
|
||||
|
||||
if path = '-r' then do /* recursive call */
|
||||
subdir = filespec('path', dir)
|
||||
if subdir \= '\' then do
|
||||
subdir = left(subdir, length(subdir)-1)
|
||||
call runit name path filespec('drive', dir) || subdir
|
||||
end
|
||||
end
|
||||
|
||||
/* Look for the file and run it */
|
||||
if right(dir, 1) \= '\' then dir = dir || '\'
|
||||
rcfile = stream(dir || name, 'c', 'query exists')
|
||||
if rcfile \= '' then interpret 'call "' || rcfile || '"'
|
||||
|
||||
return
|
||||
14
intermax/23.12.07.02/ant/lib/README
Executable file
14
intermax/23.12.07.02/ant/lib/README
Executable file
@@ -0,0 +1,14 @@
|
||||
Please refer to the Ant manual under Installing Ant / Library
|
||||
Dependencies for a list of the jar requirements for various optional
|
||||
tasks and features.
|
||||
|
||||
This directory contains xercesImpl.jar from the 2.6.2 release of
|
||||
Apache Xerces. For more information or newer releases see
|
||||
<http://xml.apache.org/xerces2-j/>. See the file LICENSE.xerces for
|
||||
the terms of distribution.
|
||||
|
||||
It also contains xml-apis.jar from the 2.6.2 release of Apache Xerces.
|
||||
For more information or newer releases see
|
||||
<http://xml.apache.org/commons/>. See the files LICENSE.dom and
|
||||
LICENSE.sax for the terms of distribution.
|
||||
|
||||
BIN
intermax/23.12.07.02/ant/lib/ant-antlr.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-antlr.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-apache-bcel.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-apache-bcel.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-apache-bsf.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-apache-bsf.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-apache-oro.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-apache-oro.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-apache-regexp.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-apache-regexp.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-apache-resolver.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-apache-resolver.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-commons-logging.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-commons-logging.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-commons-net.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-commons-net.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-icontract.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-icontract.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-jai.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-jai.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-javamail.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-javamail.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-jdepend.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-jdepend.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-jmf.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-jmf.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-jsch.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-jsch.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-junit.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-junit.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-launcher.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-launcher.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-netrexx.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-netrexx.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-nodeps.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-nodeps.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-starteam.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-starteam.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-stylebook.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-stylebook.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-swing.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-swing.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-trax.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-trax.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-vaj.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-vaj.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-weblogic.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-weblogic.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-xalan1.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-xalan1.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant-xslp.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant-xslp.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/ant.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/ant.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/aspectjtools.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/aspectjtools.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/aspectjweaver.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/aspectjweaver.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/xercesImpl.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/xercesImpl.jar
Executable file
Binary file not shown.
BIN
intermax/23.12.07.02/ant/lib/xml-apis.jar
Executable file
BIN
intermax/23.12.07.02/ant/lib/xml-apis.jar
Executable file
Binary file not shown.
68
intermax/23.12.07.02/jspd/bin/imxctl.bat
Executable file
68
intermax/23.12.07.02/jspd/bin/imxctl.bat
Executable file
@@ -0,0 +1,68 @@
|
||||
@echo off
|
||||
|
||||
rem CURPATH
|
||||
rem ModuleName
|
||||
rem param
|
||||
|
||||
set CURPATH=%cd%
|
||||
set argc=0
|
||||
|
||||
:ModuleSelect
|
||||
cls
|
||||
echo Input Module (osm ^| txn ^| uts ^| dbm)
|
||||
set /p param=-^>
|
||||
|
||||
IF %param% == osm (
|
||||
goto moduleSet
|
||||
)
|
||||
IF %param% == txn (
|
||||
goto moduleSet
|
||||
)
|
||||
IF %param% == uts (
|
||||
goto moduleSet
|
||||
)
|
||||
IF %param% == dbm (
|
||||
goto moduleSet
|
||||
) ELSE (
|
||||
echo Wrong ModuleName. Exit program? (Y/N^)
|
||||
set /p param=-^>
|
||||
IF %param% == Y goto end
|
||||
IF %param% == y goto end
|
||||
goto ModuleSelect
|
||||
)
|
||||
|
||||
:moduleSet
|
||||
set ModuleName=imx%param%
|
||||
|
||||
:OptionSelect
|
||||
cls
|
||||
echo Input Option (stop)
|
||||
set /p param=-^>
|
||||
|
||||
IF %param% == stop (
|
||||
cd ../data/agent
|
||||
goto stop
|
||||
) ELSE (
|
||||
echo Wrong Option Command. Exit program? (Y/N^)
|
||||
set /p param=-^>
|
||||
IF %param% == Y goto end
|
||||
IF %param% == y goto end
|
||||
goto OptionSelect
|
||||
)
|
||||
|
||||
:stop
|
||||
IF exist %ModuleName% (
|
||||
ren %ModuleName% %ModuleName%.stoped
|
||||
echo %ModuleName% stop!
|
||||
goto end
|
||||
) ELSE (
|
||||
echo %ModuleName% is not exist!
|
||||
goto end
|
||||
)
|
||||
|
||||
|
||||
|
||||
:end
|
||||
cd %CURPATH%
|
||||
pause
|
||||
|
||||
95
intermax/23.12.07.02/jspd/bin/imxctl.sh
Executable file
95
intermax/23.12.07.02/jspd/bin/imxctl.sh
Executable file
@@ -0,0 +1,95 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
|
||||
Usage()
|
||||
{
|
||||
echo ""
|
||||
echo "$0 [option ...]"
|
||||
echo " --stop=[osm|txn|uts] Input osm, txn, and uts, separated by commas."
|
||||
echo " If there is no value input, the entire process-"
|
||||
echo " is terminated."
|
||||
echo " (ex. --stop or --stop=txn,uts)"
|
||||
echo ""
|
||||
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
BASE_DIR=`pwd`
|
||||
|
||||
if [ -z "${INTERMAX_HOME}" ];then
|
||||
if [ ! -f "${BASE_DIR}/imxctl.sh" ];then
|
||||
echo "Please run it from imxctl.sh file location."
|
||||
exit 2
|
||||
fi
|
||||
cd ..
|
||||
INTERMAX_HOME=`pwd`
|
||||
fi
|
||||
|
||||
cd ${INTERMAX_HOME}
|
||||
echo "INTERMAX_HOME[${INTERMAX_HOME}]"
|
||||
|
||||
|
||||
if [ -z "$1" ];then
|
||||
Usage
|
||||
fi
|
||||
|
||||
|
||||
for i in $@
|
||||
do
|
||||
echo "${i}"
|
||||
|
||||
case "$i" in
|
||||
--stop=*)
|
||||
STOP_LIST=`echo "$i" | awk -F'=' '{print $2}'`
|
||||
;;
|
||||
--stop)
|
||||
STOP_LIST="osm,txn,uts"
|
||||
;;
|
||||
|
||||
*)
|
||||
Usage
|
||||
;;
|
||||
esac
|
||||
|
||||
done
|
||||
|
||||
if [ -n "${STOP_LIST}" ];then
|
||||
|
||||
STOP_LIST=`echo "${STOP_LIST}" | sed 's/,/ /g'`
|
||||
# STOP_LIST=`echo "${STOP_LIST}" | awk -F',' '{print $1" "$2" "$3}'`
|
||||
|
||||
# <20><><EFBFBD><EFBFBD><EFBFBD>丮<EFBFBD><E4B8AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>˻<EFBFBD><CBBB>Ѵ<EFBFBD>.
|
||||
if [ ! -d "${INTERMAX_HOME}/data/agent" ];then
|
||||
echo "pid directory is not exist.[${INTERMAX_HOME}/data/agent]"
|
||||
Usage
|
||||
fi
|
||||
|
||||
# Check imx list
|
||||
for STOP_IMX in ${STOP_LIST}
|
||||
do
|
||||
if [ "${STOP_IMX}" != "osm" ] && [ "${STOP_IMX}" != "txn" ] && [ "${STOP_IMX}" != "uts" ];then
|
||||
echo "imx name is wrong."
|
||||
Usage
|
||||
fi
|
||||
done
|
||||
|
||||
# Stop imx
|
||||
for STOP_IMX in ${STOP_LIST}
|
||||
do
|
||||
if [ -f "${INTERMAX_HOME}/data/agent/imx${STOP_IMX}" ];then
|
||||
echo "--> imx${STOP_IMX} stop!"
|
||||
# echo "mv ${INTERMAX_HOME}/data/agent/imx${STOP_IMX} ${INTERMAX_HOME}/data/agent/imx${STOP_IMX}.stopped"
|
||||
mv ${INTERMAX_HOME}/data/agent/imx${STOP_IMX} ${INTERMAX_HOME}/data/agent/imx${STOP_IMX}.stopped
|
||||
else
|
||||
echo "--> imx${STOP_IMX} is not running"
|
||||
fi
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
exit 0
|
||||
39
intermax/23.12.07.02/jspd/bin/imxtxnd.bat
Executable file
39
intermax/23.12.07.02/jspd/bin/imxtxnd.bat
Executable file
@@ -0,0 +1,39 @@
|
||||
@echo off
|
||||
|
||||
setlocal
|
||||
|
||||
pushd "%~dp0"
|
||||
|
||||
if "%INTERMAX_HOME%" == "" (
|
||||
echo please check INTERMAX_HOME.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if "%1" == "" (
|
||||
echo please check option[--install^|--uninstall].
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
|
||||
|
||||
set MODULE_DIR=%INTERMAX_HOME%\lib\imx
|
||||
set MODULE_NAME=imxtxn
|
||||
set SERVICE_NAME=IMXTXN
|
||||
|
||||
set EXEC_NAME=%MODULE_NAME%_win_64.exe
|
||||
|
||||
set XMSVCMGR=%INTERMAX_HOME%\tools\XmSvcMgr\XmSvcMgr_x64.exe
|
||||
|
||||
|
||||
if "%1" == "--install" (
|
||||
%XMSVCMGR% -i -p "%MODULE_DIR%" -f "%EXEC_NAME%" -a "-H %INTERMAX_HOME%" -n "%SERVICE_NAME%" -s "Intermax %MODULE_NAME%"
|
||||
)
|
||||
|
||||
if "%1" == "--uninstall" (
|
||||
%XMSVCMGR% -u -f "%EXEC_NAME%" -n "%MODULE_NAME%"
|
||||
)
|
||||
|
||||
endlocal
|
||||
|
||||
@pause
|
||||
|
||||
415
intermax/23.12.07.02/jspd/bin/imxtxnd.sh
Executable file
415
intermax/23.12.07.02/jspd/bin/imxtxnd.sh
Executable file
@@ -0,0 +1,415 @@
|
||||
#!/bin/sh
|
||||
|
||||
# set log path(default)
|
||||
# WORKING_DIRECOTYR=`pwd`
|
||||
# LOG_PATH="${WORKING_DIRECOTYR}/temp_imxtxnd.log"
|
||||
|
||||
# $1: log filename, $2: log limit size
|
||||
func_check_log_file()
|
||||
{
|
||||
LOG_CHK_SIZE=1048576
|
||||
if [ -n "$2" ];then
|
||||
LOG_CHK_SIZE=$2
|
||||
fi
|
||||
|
||||
if [ -f "$1" ];then
|
||||
|
||||
LOG_SIZE=`ls -la $1 | awk -F' ' '{print $5}'`
|
||||
if [ $? -eq 0 ]; then
|
||||
|
||||
if [ ${LOG_SIZE} -gt ${LOG_CHK_SIZE} ]; then
|
||||
if [ -f $1.bak ];then
|
||||
rm -rf $1.bak
|
||||
fi
|
||||
|
||||
mv $1 $1.bak
|
||||
# rm -rf $1
|
||||
# echo "log size is over. remove log file.[size:${LOG_SIZE},file:$1]"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
# $1: log filename $2: log string
|
||||
func_log()
|
||||
{
|
||||
CUR_DATE=`date +%Y%m%d.%H%M%S`
|
||||
|
||||
# nfs ȯ<>濡<EFBFBD><E6BFA1> <20>Ѱ<EFBFBD><D1B0><EFBFBD> <20><>ġ<EFBFBD><C4A1> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD> <20><><EFBFBD><EFBFBD> <20>ٸ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
# <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> imxtxnd<6E><64> <20>׳<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ǹ<EFBFBD><C7B9><EFBFBD><EFBFBD><EFBFBD>.
|
||||
|
||||
if [ -n "$1" ];
|
||||
then
|
||||
func_check_log_file "$1" 10240
|
||||
echo "${CUR_DATE}[${RUN_MODE}] $2" >> "$1"
|
||||
else
|
||||
echo "${CUR_DATE}[${RUN_MODE}] $2"
|
||||
fi
|
||||
}
|
||||
|
||||
FUNC_RESULT=""
|
||||
|
||||
# $1: pid, $2: check process name
|
||||
func_is_running_process()
|
||||
{
|
||||
if [ -z "$1" ];
|
||||
then
|
||||
func_log "" "pid is wrong."
|
||||
FUNC_RESULT="false"
|
||||
return
|
||||
fi
|
||||
|
||||
PROC_NAME=`ps -p $1 -o args= | awk -F' ' '{print $1}'`
|
||||
|
||||
func_log "" "EXEC_PID[$1],PROC_NAME[${PROC_NAME}]"
|
||||
if [ "${PROC_NAME}" = "$2" ];
|
||||
then
|
||||
FUNC_RESULT="true"
|
||||
else
|
||||
FUNC_RESULT="false"
|
||||
fi
|
||||
}
|
||||
|
||||
# $1: exit code, $2: message
|
||||
func_usage_exit()
|
||||
{
|
||||
if [ -n "$2" ];
|
||||
then
|
||||
echo "$2"
|
||||
fi
|
||||
|
||||
echo "imxtxnd [options]"
|
||||
echo "options:"
|
||||
echo " --[install|uninstall|continue|daemon]"
|
||||
echo " install: Start imxtxn as a new daemon."
|
||||
echo " uninstall: Start Terminate running imxtxn."
|
||||
echo " continue: Continuing from imxtxn already running."
|
||||
echo " daemon: Starts as a standalone daemon.(default)"
|
||||
echo " --set-home=[directory] Set the InterMax home directory."
|
||||
echo " (default:current direcotry)"
|
||||
echo " --bit=[32|64] Set 32 or 64 bit.(default:64)"
|
||||
echo ""
|
||||
|
||||
exit $1
|
||||
}
|
||||
|
||||
|
||||
##########################################
|
||||
# option
|
||||
SELF_PROC_PATH="$0"
|
||||
if [ -n "$1" ];
|
||||
then
|
||||
|
||||
for i in $@
|
||||
do
|
||||
|
||||
echo "$i"
|
||||
|
||||
case "$i" in
|
||||
--install)
|
||||
RUN_MODE="install"
|
||||
;;
|
||||
--uninstall)
|
||||
RUN_MODE="uninstall"
|
||||
;;
|
||||
--continue)
|
||||
RUN_MODE="continue"
|
||||
;;
|
||||
--daemon)
|
||||
RUN_MODE="daemon"
|
||||
;;
|
||||
--set-home=*)
|
||||
ENV_INTERMAX_HOME=`echo "$i" | awk -F'=' '{print $2}'`
|
||||
;;
|
||||
--bit=*)
|
||||
ENV_BIT=`echo "$i" | awk -F'=' '{print $2}'`
|
||||
;;
|
||||
--help)
|
||||
func_usage_exit 0
|
||||
;;
|
||||
*)
|
||||
func_usage_exit 1 "option is wrong."
|
||||
;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
|
||||
##########################################
|
||||
|
||||
|
||||
##########################################
|
||||
# os
|
||||
# linux <20><> <20><EFBFBD>Ʈ <20>غ<EFBFBD>
|
||||
OS_NAME=`uname -s`
|
||||
case $OS_NAME in
|
||||
"HP-UX" )
|
||||
ARCH=`uname -m`
|
||||
if [ ! "${ARCH}" = "ia64" ];
|
||||
then
|
||||
func_log "${LOG_PATH}" "${ARCH} is not support."
|
||||
exit 1
|
||||
fi
|
||||
ENV_OS_TYPE=hpia
|
||||
UNIX95=1
|
||||
;;
|
||||
"SunOS" )
|
||||
ENV_OS_TYPE=sun
|
||||
;;
|
||||
"AIX" )
|
||||
ENV_OS_TYPE=aix
|
||||
;;
|
||||
"Linux" )
|
||||
ENV_OS_TYPE=linux
|
||||
# ENV_OS_TYPE=sun
|
||||
;;
|
||||
* )
|
||||
func_log "${LOG_PATH}" "Unkown OS Name[$OS_NAME]"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
##########################################
|
||||
|
||||
##########################################
|
||||
# set default bit
|
||||
if [ "${ENV_BIT}" = "" ];
|
||||
then
|
||||
# default 64 bit
|
||||
ENV_BIT=64
|
||||
fi
|
||||
##########################################
|
||||
|
||||
##########################################
|
||||
# set default run mode
|
||||
if [ "${RUN_MODE}" = "" ];
|
||||
then
|
||||
# default 64 bit
|
||||
RUN_MODE="daemon"
|
||||
fi
|
||||
##########################################
|
||||
|
||||
|
||||
##########################################
|
||||
# set intermax home directory
|
||||
# 1. input option
|
||||
# 2. environment INTERMAX_HOME
|
||||
# 3. current directory
|
||||
|
||||
if [ ! "${ENV_INTERMAX_HOME}" = "" ];
|
||||
then
|
||||
INTERMAX_HOME="${ENV_INTERMAX_HOME}"
|
||||
export INTERMAX_HOME
|
||||
fi
|
||||
|
||||
if [ "${INTERMAX_HOME}" = "" ];
|
||||
then
|
||||
# set current direcotry base
|
||||
CUR_DIR=`pwd`
|
||||
cd ..
|
||||
INTERMAX_HOME=`pwd`
|
||||
export INTERMAX_HOME
|
||||
cd ${CUR_DIR}
|
||||
fi
|
||||
##########################################
|
||||
|
||||
|
||||
|
||||
##########################################
|
||||
# check intermax home directory
|
||||
if [ ! -d ${INTERMAX_HOME}/lib/imx ];
|
||||
then
|
||||
func_log "${LOG_PATH}" "InterMax Home Directory is worng.[${INTERMAX_HOME}]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# <20>̰<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ؾ<EFBFBD> <20>ϳ<EFBFBD>.. <20>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD> ó<><C3B3>
|
||||
if [ ! -d ${INTERMAX_HOME}/data/agent ];
|
||||
then
|
||||
func_log "${LOG_PATH}" "InterMax Home Directory is worng.[${INTERMAX_HOME}]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
##########################################
|
||||
|
||||
|
||||
|
||||
##########################################
|
||||
# reset log path & chagne directory to InterMax home
|
||||
|
||||
# cd ${INTERMAX_HOME}
|
||||
func_log "${LOG_PATH}" "InterMax Home Directory [${INTERMAX_HOME}]"
|
||||
|
||||
# <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>α<CEB1> ȭ<>鿡 <20><><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD> <20>Ѵ<EFBFBD>.
|
||||
LOG_PATH="${INTERMAX_HOME}/log/imxtxnd.log"
|
||||
|
||||
##########################################
|
||||
|
||||
##########################################
|
||||
# set execute process path
|
||||
|
||||
EXEC_PROCESS="${INTERMAX_HOME}/lib/imx/imxtxn"
|
||||
# echo "execute process path[${EXEC_PROCESS}]"
|
||||
func_log "${LOG_PATH}" "execute process path[${EXEC_PROCESS}]"
|
||||
|
||||
PROC_PID_PATH=${INTERMAX_HOME}/data/agent/imxtxn
|
||||
func_log "${LOG_PATH}" "PROC_PID_PATH[$PROC_PID_PATH]"
|
||||
##########################################
|
||||
|
||||
##########################################
|
||||
# copy imxtxn(if not exist)
|
||||
if [ ! -f ${EXEC_PROCESS} ];
|
||||
then
|
||||
cp ${INTERMAX_HOME}/lib/imx/imxtxn_${ENV_OS_TYPE}_${ENV_BIT} ${EXEC_PROCESS}
|
||||
if [ ! "$?" = "0" ];
|
||||
then
|
||||
func_log "${LOG_PATH}" "${INTERMAX_HOME}/lib/imx/imxtxn_${ENV_OS_TYPE}_${ENV_BIT} is not exist."
|
||||
exit 3
|
||||
fi
|
||||
fi
|
||||
##########################################
|
||||
|
||||
##########################################
|
||||
# check config
|
||||
|
||||
# test command(0 or 1)
|
||||
# sed -n '/ENABLE_TXN_STANDALONE=\(.*\)/p' cfg/agent/imx.prop | awk -F'=' '{if($2=="1") exit(0); else exit(1);}'; echo "$?"
|
||||
CMD_RESULT=`sed -n '/ENABLE_TXN_STANDALONE=\(.*\)/p' ${INTERMAX_HOME}/cfg/agent/imx.prop`
|
||||
if [ ! "$?" = "0" ];
|
||||
then
|
||||
echo "check please - imx config file(imx.prop)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CFG_ENABLE_TXN_STANDALONE=`echo "${CMD_RESULT}" | awk -F'=' '{print $2}'`
|
||||
if [ ! "${CFG_ENABLE_TXN_STANDALONE}" = "1" ];
|
||||
then
|
||||
echo "check please - ENABLE_TXN_STANDALONE option in imx.prop(value:${CFG_ENABLE_TXN_STANDALONE})"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "ENABLE_TXN_STANDALONE config checked."
|
||||
##########################################
|
||||
|
||||
##########################################
|
||||
# run process
|
||||
|
||||
# stop mode<64><65><EFBFBD><EFBFBD> INTERMAX_HOME<4D><45> <20>ʿ<EFBFBD><CABF>Ͽ<EFBFBD> <20><><EFBFBD><EFBFBD><E2BFA1> install, uninstall<6C><6C> ó<><C3B3><EFBFBD>Ѵ<EFBFBD>.
|
||||
case ${RUN_MODE} in
|
||||
"install")
|
||||
if [ -f "${PROC_PID_PATH}" ];
|
||||
then
|
||||
func_is_running_process \
|
||||
`cat ${PROC_PID_PATH}` \
|
||||
"${EXEC_PROCESS}"
|
||||
if [ "${FUNC_RESULT}" = "true" ];
|
||||
then
|
||||
echo "imxtxnd - imxtxn is already running."
|
||||
echo "imxtxnd - Rerun imxtxnd with run mode \"continue\"."
|
||||
func_log "" "imxtxnd - imxtxn is already running."
|
||||
func_log "" "imxtxnd - 'imxtxnd --stop' or delete '${INTERMAX_HOME}/data/agent/imxtxnd.pid'"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
nohup ${SELF_PROC_PATH} --daemon --set-home=${INTERMAX_HOME} 1>/dev/null 2>&1 &
|
||||
echo "$!" > ${INTERMAX_HOME}/data/agent/imxtxnd.pid
|
||||
|
||||
echo "imxtxnd - installed[$!]"
|
||||
func_log "${LOG_PATH}" "imxtxnd - installed[$!]"
|
||||
|
||||
exit 0
|
||||
;;
|
||||
|
||||
"continue")
|
||||
TEMP_STR=""
|
||||
if [ -f "${INTERMAX_HOME}/data/agent/imxtxnd.pid" ];
|
||||
then
|
||||
TEMP_PID=`cat ${INTERMAX_HOME}/data/agent/imxtxnd.pid`
|
||||
TEMP_STR=`ps -p ${TEMP_PID} | grep imxtxnd`
|
||||
fi
|
||||
|
||||
if [ -n "${TEMP_STR}" ];
|
||||
then
|
||||
func_log "" "${TEMP_STR}"
|
||||
func_log "" "imxtxnd - imxtxnd is not running."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# imxtxnd <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>¿<EFBFBD><C2BF><EFBFBD> imxtxn<78><6E> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
# <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> imxtxn<78><6E> <20>״<EFBFBD><D7B4><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ѵ<EFBFBD>.
|
||||
nohup ${SELF_PROC_PATH} --daemon --set-home=${INTERMAX_HOME} 1>/dev/null 2>&1 &
|
||||
echo "$!" > ${INTERMAX_HOME}/data/agent/imxtxnd.pid
|
||||
|
||||
echo "imxtxnd - continue[$!]"
|
||||
func_log "${LOG_PATH}" "imxtxnd - continue[$!]"
|
||||
|
||||
exit 0
|
||||
;;
|
||||
|
||||
"uninstall")
|
||||
if [ -f "${INTERMAX_HOME}/data/agent/imxtxnd.pid" ];
|
||||
then
|
||||
rm -rf ${INTERMAX_HOME}/data/agent/imxtxnd.pid
|
||||
fi
|
||||
|
||||
if [ -f "${PROC_PID_PATH}" ];
|
||||
then
|
||||
rm -rf ${PROC_PID_PATH}
|
||||
func_log "${LOG_PATH}" "imxtxnd - uninstall"
|
||||
else
|
||||
func_log "${LOG_PATH}" "imxtxnd - imxtxn is not running."
|
||||
fi
|
||||
exit 0
|
||||
;;
|
||||
"daemon")
|
||||
func_log "${LOG_PATH}" "imxtxnd daemon"
|
||||
;;
|
||||
esac
|
||||
##########################################
|
||||
|
||||
|
||||
|
||||
|
||||
##########################################
|
||||
# run imxtxn
|
||||
if [ ! -f "${PROC_PID_PATH}" ];
|
||||
then
|
||||
${EXEC_PROCESS} -D
|
||||
func_log "${LOG_PATH}" "execute process[$EXEC_PROCESS]"
|
||||
sleep 3
|
||||
fi
|
||||
|
||||
if [ ! -f "${PROC_PID_PATH}" ];
|
||||
then
|
||||
func_log "${LOG_PATH}" "execute process has failed.[${EXEC_PROCESS}]"
|
||||
exit 4
|
||||
fi
|
||||
|
||||
PROC_NAME=""
|
||||
while [ -f "${PROC_PID_PATH}" ]
|
||||
do
|
||||
echo "PROC_PID_PATH[${PROC_PID_PATH}][$EXEC_PROCESS]"
|
||||
PROC_PID=`cat ${PROC_PID_PATH}`
|
||||
echo "PROC_PID[${PROC_PID}]"
|
||||
|
||||
func_is_running_process \
|
||||
"${PROC_PID}" \
|
||||
"${EXEC_PROCESS}"
|
||||
if [ "${FUNC_RESULT}" = "false" ];
|
||||
then
|
||||
func_log "${LOG_PATH}" "process is not running."
|
||||
# run process
|
||||
${EXEC_PROCESS} -D
|
||||
func_log "${LOG_PATH}" "execute process[$EXEC_PROCESS]"
|
||||
fi
|
||||
|
||||
sleep 3
|
||||
|
||||
done
|
||||
##########################################
|
||||
|
||||
|
||||
func_log "${LOG_PATH}" "imxtxnd end"
|
||||
17
intermax/23.12.07.02/jspd/bin/launcher.bat
Executable file
17
intermax/23.12.07.02/jspd/bin/launcher.bat
Executable file
@@ -0,0 +1,17 @@
|
||||
rem @echo off
|
||||
|
||||
pushd "%~dp0"
|
||||
set CURRENTDIR=%cd%
|
||||
cd ..\
|
||||
set JSPD_HOME=%cd%
|
||||
|
||||
set JAVA_HOME=%JAVA_HOME%
|
||||
|
||||
set JAVA_OPTS=-Djspd.home=%JSPD_HOME%
|
||||
set JAVA_OPTS=%JAVA_OPTS% -Djspd.jar=%JSPD_HOME%\lib\jspd.jar
|
||||
set JAVA_OPTS=%JAVA_OPTS% -Dpatch.jspd.jar=%JSPD_HOME%\lib\patch\jspd.jar
|
||||
set JAVA_OPTS=%JAVA_OPTS% -Dpatch.jspd-common.jar=%JSPD_HOME%\lib\patch\jspd-common.jar
|
||||
set JAVA_OPTS=%JAVA_OPTS% -Dpatch.jspd-pool.jar=%JSPD_HOME%\lib\patch\jspd-pool.jar
|
||||
cd %CURRENTDIR%
|
||||
|
||||
"%JAVA_HOME%\bin\java" %JAVA_OPTS% -classpath "%JAVA_HOME%\lib\tools.jar;%JSPD_HOME%\lib\libs\*;%JSPD_HOME%\lib\jspd-launcher.jar" com.exem.jspd.launcher.Main %1 %2 %3
|
||||
13
intermax/23.12.07.02/jspd/bin/launcher.sh
Executable file
13
intermax/23.12.07.02/jspd/bin/launcher.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
JAVA_HOME=$JAVA_HOME
|
||||
cd ../
|
||||
JSPD_HOME=`pwd`
|
||||
|
||||
JAVA_OPTS="-Djspd.home=$JSPD_HOME"
|
||||
JAVA_OPTS="$JAVA_OPTS -Djspd.jar=$JSPD_HOME/lib/jspd.jar"
|
||||
JAVA_OPTS="$JAVA_OPTS -Dpatch.jspd.jar=$JSPD_HOME/lib/patch/jspd.jar"
|
||||
JAVA_OPTS="$JAVA_OPTS -Dpatch.jspd-common.jar=$JSPD_HOME/lib/patch/jspd-common.jar"
|
||||
JAVA_OPTS="$JAVA_OPTS -Dpatch.jspd-pool.jar=$JSPD_HOME/lib/patch/jspd-pool.jar"
|
||||
|
||||
$JAVA_HOME/bin/java $JAVA_OPTS -classpath $JAVA_HOME/lib/tools.jar:$JSPD_HOME/lib/jspd-launcher.jar:$JSPD_HOME/lib/libs/* com.exem.jspd.launcher.Main $1 $2 $3
|
||||
6
intermax/23.12.07.02/jspd/build-ext/build.bat
Executable file
6
intermax/23.12.07.02/jspd/build-ext/build.bat
Executable file
@@ -0,0 +1,6 @@
|
||||
set JAVA_HOME=
|
||||
set JAVA_VERSION=
|
||||
set ANT_HOME=..\..\ant
|
||||
set PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin
|
||||
|
||||
ant -DJAVA_HOME="%JAVA_HOME%" -DJAVA_VERSION="%JAVA_VERSION%" %1
|
||||
7
intermax/23.12.07.02/jspd/build-ext/build.sh
Executable file
7
intermax/23.12.07.02/jspd/build-ext/build.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
export JAVA_HOME=
|
||||
export JAVA_VERSION=
|
||||
export ANT_HOME=../../ant
|
||||
export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH
|
||||
|
||||
ant -DJAVA_HOME="$JAVA_HOME" -DJAVA_VERSION="$JAVA_VERSION" $1
|
||||
|
||||
16
intermax/23.12.07.02/jspd/build-ext/build.xml
Executable file
16
intermax/23.12.07.02/jspd/build-ext/build.xml
Executable file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="euc-kr"?>
|
||||
<project default="all" basedir=".">
|
||||
<target name="all" depends="jar" />
|
||||
<target name="jar">
|
||||
<delete file="jspd-ext.jar" />
|
||||
<mkdir dir="bin"/>
|
||||
<javac executable="${JAVA_HOME}" target="${JAVA_VERSION}" source="${JAVA_VERSION}" srcdir="src" destdir="bin"
|
||||
includes="com/exem/ext/**"
|
||||
classpath="../lib/jspd-common.jar"
|
||||
debug="on" />
|
||||
<zip destfile="jspd-ext.jar">
|
||||
<fileset dir="bin" />
|
||||
</zip>
|
||||
<delete dir="bin" />
|
||||
</target>
|
||||
</project>
|
||||
5
intermax/23.12.07.02/jspd/build-ext/src/build.bat
Executable file
5
intermax/23.12.07.02/jspd/build-ext/src/build.bat
Executable file
@@ -0,0 +1,5 @@
|
||||
set JAVA_HOME=C:\Program Files (x86)\java\jdk1.6.0_03
|
||||
set ANT_HOME=..\..\ant
|
||||
set PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin
|
||||
|
||||
ant %1
|
||||
16
intermax/23.12.07.02/jspd/build-ext/src/build.xml
Executable file
16
intermax/23.12.07.02/jspd/build-ext/src/build.xml
Executable file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="euc-kr"?>
|
||||
<project default="all" basedir=".">
|
||||
<target name="all" depends="jar" />
|
||||
<target name="jar">
|
||||
<delete file="jspd-ext.jar" />
|
||||
<mkdir dir="bin"/>
|
||||
<javac srcdir="src" destdir="bin"
|
||||
includes="com/exem/ext/**,com/exem/qa/**"
|
||||
classpath="../lib/jspd-common.jar"
|
||||
debug="on" />
|
||||
<zip destfile="jspd-ext.jar">
|
||||
<fileset dir="bin" />
|
||||
</zip>
|
||||
<delete dir="bin" />
|
||||
</target>
|
||||
</project>
|
||||
52
intermax/23.12.07.02/jspd/build-ext/src/com/exem/ext/XM_BOUND_HTTP.java
Executable file
52
intermax/23.12.07.02/jspd/build-ext/src/com/exem/ext/XM_BOUND_HTTP.java
Executable file
@@ -0,0 +1,52 @@
|
||||
package com.exem.ext;
|
||||
|
||||
import com.exem.IThread;
|
||||
import com.exem.IXBound;
|
||||
import com.exem.jspd.XmClass;
|
||||
import com.exem.jspd.XmCommon;
|
||||
import com.exem.jspd.state.XmXDesc;
|
||||
import com.exem.jspd.state.XmXInfo;
|
||||
|
||||
public class XM_BOUND_HTTP implements IXBound
|
||||
{
|
||||
public int xCall(int index, IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
index = thread.regMtdIndex("HTTP", "call");
|
||||
return index;
|
||||
}
|
||||
|
||||
public void xOutbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
XmCommon.xstart(info);
|
||||
String id = (String) obj[obj.length - 1];
|
||||
XmCommon.x(info, id.getBytes());
|
||||
}
|
||||
|
||||
public void xReply(IThread thread, Object[] obj, XmXDesc desc)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundEnter(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
if (obj[obj.length - 1] != null)
|
||||
{
|
||||
xInbound(thread, info, obj);
|
||||
}
|
||||
}
|
||||
|
||||
public void xInbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
|
||||
String id = (String) obj[obj.length - 1];
|
||||
if(id != null)
|
||||
{
|
||||
XmCommon.xstart(info);
|
||||
XmCommon.x(info, id.getBytes());
|
||||
}
|
||||
}
|
||||
|
||||
public void xInboundLeave(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
35
intermax/23.12.07.02/jspd/build-ext/src/com/exem/ext/XM_BOUND_X.java
Executable file
35
intermax/23.12.07.02/jspd/build-ext/src/com/exem/ext/XM_BOUND_X.java
Executable file
@@ -0,0 +1,35 @@
|
||||
package com.exem.ext;
|
||||
|
||||
import com.exem.IThread;
|
||||
import com.exem.IXBound;
|
||||
import com.exem.jspd.state.XmXDesc;
|
||||
import com.exem.jspd.state.XmXInfo;
|
||||
|
||||
public class XM_BOUND_X implements IXBound
|
||||
{
|
||||
public int xCall(int index, IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
return index;
|
||||
}
|
||||
|
||||
public void xOutbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xReply(IThread thread, Object[] obj, XmXDesc desc)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundEnter(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundLeave(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
24
intermax/23.12.07.02/jspd/build-ext/src/com/exem/ext/XM_RT.java
Executable file
24
intermax/23.12.07.02/jspd/build-ext/src/com/exem/ext/XM_RT.java
Executable file
@@ -0,0 +1,24 @@
|
||||
package com.exem.ext;
|
||||
|
||||
import com.exem.IThread;
|
||||
import com.exem.IXRt;
|
||||
import com.exem.jspd.state.XmXInfo;
|
||||
|
||||
import java.net.Socket;
|
||||
|
||||
public class XM_RT implements IXRt
|
||||
{
|
||||
public void onSocket(IThread thread, XmXInfo info, int mode, Socket socket)
|
||||
{
|
||||
if(mode == 5)
|
||||
{
|
||||
String remoteAddress = socket.getRemoteSocketAddress() + "";
|
||||
String[] ss = remoteAddress.split("/");
|
||||
info.s00 = ss[1];
|
||||
}
|
||||
}
|
||||
|
||||
public void onFile(IThread thread, XmXInfo info, int mode, String name)
|
||||
{
|
||||
}
|
||||
}
|
||||
46
intermax/23.12.07.02/jspd/build-ext/src/com/exem/ext/XM_TXN.java
Executable file
46
intermax/23.12.07.02/jspd/build-ext/src/com/exem/ext/XM_TXN.java
Executable file
@@ -0,0 +1,46 @@
|
||||
package com.exem.ext;
|
||||
|
||||
import com.exem.IXTxn;
|
||||
import com.exem.IThread;
|
||||
import com.exem.jspd.XmClass;
|
||||
import com.exem.jspd.XmCommon;
|
||||
import com.exem.weave.http.XmHttpRequest;
|
||||
import com.exem.weave.http.XmHttpSession;
|
||||
|
||||
public class XM_TXN implements IXTxn
|
||||
{
|
||||
public String getName(Object svc, XmHttpRequest req)
|
||||
{
|
||||
return req.getRequestURI();
|
||||
}
|
||||
|
||||
public String getName(String txnName, Object[] param)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getName(IThread thread, String txnName, Object[] param)
|
||||
{
|
||||
return txnName;
|
||||
}
|
||||
|
||||
public String getName(XmHttpRequest req, Object obj)
|
||||
{
|
||||
return req.getRequestURI();
|
||||
}
|
||||
|
||||
public String getIpAddr(String txnIp, Object obj)
|
||||
{
|
||||
return txnIp;
|
||||
}
|
||||
|
||||
public String getLoginName(XmHttpRequest req, XmHttpSession session)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public void xHeaderInfo(IThread thread, XmHttpRequest req)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
25
intermax/23.12.07.02/jspd/build-ext/src/com/exem/ext/XM_TXN_CALLBACK.java
Executable file
25
intermax/23.12.07.02/jspd/build-ext/src/com/exem/ext/XM_TXN_CALLBACK.java
Executable file
@@ -0,0 +1,25 @@
|
||||
package com.exem.ext;
|
||||
|
||||
import com.exem.TxnCallbackBase;
|
||||
import com.exem.IThread;
|
||||
|
||||
public class XM_TXN_CALLBACK extends TxnCallbackBase {
|
||||
public boolean isExcludeException(Object err) {
|
||||
return super.isExcludeException(err);
|
||||
}
|
||||
|
||||
public boolean isIncludeException(Object err) {
|
||||
return super.isIncludeException(err);
|
||||
}
|
||||
|
||||
public boolean isExcludeService(String txnName) {
|
||||
return super.isExcludeService(txnName);
|
||||
}
|
||||
|
||||
public void beginTxn(IThread thread, Object[] param) {
|
||||
}
|
||||
|
||||
public void endTxn(IThread thread, Object[] param, Object err) {
|
||||
}
|
||||
|
||||
}
|
||||
52
intermax/23.12.07.02/jspd/build-ext/src/com/exem/sample/XM_BOUND_SAP.java
Executable file
52
intermax/23.12.07.02/jspd/build-ext/src/com/exem/sample/XM_BOUND_SAP.java
Executable file
@@ -0,0 +1,52 @@
|
||||
package com.exem.sample;
|
||||
|
||||
import com.exem.IThread;
|
||||
import com.exem.IXBound;
|
||||
import com.exem.XmUtil;
|
||||
import com.exem.jspd.XmClass;
|
||||
import com.exem.jspd.XmConst;
|
||||
import com.exem.jspd.XmCommon;
|
||||
import com.exem.jspd.state.XmXDesc;
|
||||
import com.exem.jspd.state.XmXInfo;
|
||||
|
||||
public class XM_BOUND_X implements IXBound
|
||||
{
|
||||
public int xCall(int index, IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
String s = (String)XmClass.getMethod(obj[0], "getName");
|
||||
s = s == null ? "call" : s;
|
||||
index = thread.regMtdIndex("SAP", s);
|
||||
info.s00 = s;
|
||||
return index;
|
||||
}
|
||||
|
||||
public void xOutbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
//System.out.println("##### SAP xOutbound");
|
||||
byte[] xb = (byte[])obj[1];
|
||||
//XmCommon.print("xOutbound xb:", xb);
|
||||
byte[] conv_id = (byte[])XmClass.getField(obj[0], obj[0].getClass().getSuperclass(), "conv_id", true);
|
||||
XmCommon.xstart(info);
|
||||
XmCommon.x(info, conv_id);
|
||||
XmCommon.x(info, info.s00.getBytes());
|
||||
//XmCommon.print("xOutbound conv_id:", conv_id);
|
||||
//XmCommon.print("xOutbound func:" + info.s00);
|
||||
}
|
||||
|
||||
public void xReply(IThread thread, Object[] obj, XmXDesc desc)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundEnter(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundLeave(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
60
intermax/23.12.07.02/jspd/build-ext/src/com/exem/sample/XM_BOUND_TMAX.java
Executable file
60
intermax/23.12.07.02/jspd/build-ext/src/com/exem/sample/XM_BOUND_TMAX.java
Executable file
@@ -0,0 +1,60 @@
|
||||
package com.exem.sample;
|
||||
|
||||
import com.exem.IThread;
|
||||
import com.exem.IXBound;
|
||||
import com.exem.XmUtil;
|
||||
import com.exem.jspd.XmClass;
|
||||
import com.exem.jspd.XmConst;
|
||||
import com.exem.jspd.XmCommon;
|
||||
import com.exem.jspd.state.XmXDesc;
|
||||
import com.exem.jspd.state.XmXInfo;
|
||||
|
||||
public class XM_BOUND_X implements IXBound
|
||||
{
|
||||
|
||||
public int xCall(int index, IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
String id = XmUtil.getParamStr(obj, "call");
|
||||
index = thread.regMtdIndex("TP", id);
|
||||
info.s00 = id;
|
||||
return index;
|
||||
}
|
||||
|
||||
public void xOutbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
//System.out.println("##### tmax xOutbound");
|
||||
|
||||
byte[] xb = (byte[])obj[2];
|
||||
//System.out.println("xOutbound xb:" + new String(xb));
|
||||
XmCommon.xstart(info);
|
||||
info.x40 = new byte[32];
|
||||
System.arraycopy(xb, 124, info.x40, 0, 32);
|
||||
XmCommon.x(info, info.x40);
|
||||
XmCommon.x(info, info.s00.getBytes());
|
||||
|
||||
//thread.udp().xHeaderInfo(thread.tid(), "P", (byte)6, xb, 124, 32);
|
||||
//info.x41 = new byte[10];
|
||||
//long l = System.currentTimeMillis();
|
||||
//String os = OS[((int)(l % 6L))];
|
||||
//String bank = BANK[((int)(l % 3L))];
|
||||
//System.arraycopy(os.getBytes(), 0, info.x41, 0, 2);
|
||||
//System.arraycopy(bank.getBytes(), 0, info.x41, 2, 3);
|
||||
}
|
||||
|
||||
public void xReply(IThread thread, Object[] obj, XmXDesc desc)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundEnter(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundLeave(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
53
intermax/23.12.07.02/jspd/build-ext/src/com/exem/sample/XM_BOUND_TUXEDO.java
Executable file
53
intermax/23.12.07.02/jspd/build-ext/src/com/exem/sample/XM_BOUND_TUXEDO.java
Executable file
@@ -0,0 +1,53 @@
|
||||
package com.exem.sample;
|
||||
|
||||
import com.exem.IThread;
|
||||
import com.exem.IXBound;
|
||||
import com.exem.XmUtil;
|
||||
import com.exem.jspd.XmClass;
|
||||
import com.exem.jspd.XmConst;
|
||||
import com.exem.jspd.XmCommon;
|
||||
import com.exem.jspd.state.XmXDesc;
|
||||
import com.exem.jspd.state.XmXInfo;
|
||||
|
||||
public class XM_BOUND_X implements IXBound
|
||||
{
|
||||
|
||||
public int xCall(int index, IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
String id = XmUtil.getParamStr(obj, "call");
|
||||
index = thread.regMtdIndex("TP", id);
|
||||
info.s00 = id;
|
||||
return index;
|
||||
}
|
||||
|
||||
public void xOutbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
//System.out.println("##### tuxedo xOutbound");
|
||||
|
||||
byte[] xb = (byte[])obj[1];
|
||||
//System.out.println("xOutbound xb:" + new String(xb));
|
||||
|
||||
XmCommon.xstart(info);
|
||||
info.x40 = new byte[8];
|
||||
System.arraycopy(xb, 20, info.x40, 0, 8);
|
||||
XmCommon.x(info, info.x40);
|
||||
XmCommon.x(info, info.s00.getBytes());
|
||||
}
|
||||
|
||||
public void xReply(IThread thread, Object[] obj, XmXDesc desc)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundEnter(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundLeave(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package com.exem.sample;
|
||||
|
||||
import com.exem.IThread;
|
||||
import com.exem.IXBound;
|
||||
import com.exem.XmUtil;
|
||||
import com.exem.jspd.XmClass;
|
||||
import com.exem.jspd.XmConst;
|
||||
import com.exem.jspd.XmCommon;
|
||||
import com.exem.jspd.state.XmXDesc;
|
||||
import com.exem.jspd.state.XmXInfo;
|
||||
|
||||
public class XM_BOUND_X implements IXBound
|
||||
{
|
||||
public int xCall(int index, IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
String s = thread.txn().getTxnName();
|
||||
if (s.indexOf("/a") > -1)
|
||||
{
|
||||
info.s00 = "async" + s.substring(2);
|
||||
}
|
||||
else if (s.indexOf("/s") > -1)
|
||||
{
|
||||
info.s00 = s.substring(2);
|
||||
}
|
||||
return index;
|
||||
}
|
||||
|
||||
public void xOutbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
byte[] b = (byte[])obj[1];
|
||||
String s1 = new String( b, 277, 43);
|
||||
XmCommon.xstart(info);
|
||||
XmCommon.x(info, b, 12, 32);
|
||||
if (s1.indexOf("Ext") > -1)
|
||||
thread.udp().xHeaderInfo(thread.tid(), "fep_uid", XmConst.E_HEADER, s1);
|
||||
}
|
||||
|
||||
public void xReply(IThread thread, Object[] obj, XmXDesc desc)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundEnter(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundLeave(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.exem.sample;
|
||||
|
||||
import com.exem.IThread;
|
||||
import com.exem.IXBound;
|
||||
import com.exem.XmUtil;
|
||||
import com.exem.jspd.XmClass;
|
||||
import com.exem.jspd.XmConst;
|
||||
import com.exem.jspd.XmCommon;
|
||||
import com.exem.jspd.state.XmXDesc;
|
||||
import com.exem.jspd.state.XmXInfo;
|
||||
|
||||
public class XM_BOUND_X implements IXBound
|
||||
{
|
||||
public int xCall(int index, IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
return index;
|
||||
}
|
||||
|
||||
public void xOutbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xReply(IThread thread, Object[] obj, XmXDesc desc)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundEnter(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
Object o1 = XmClass.getMethod(obj[3], "getFieldValue","HFD_Standard_System_Header");
|
||||
String s = (String)XmClass.getMethod(o1, "getFieldValue", "rcvSrvcCd");
|
||||
thread.txn().setTxnName(s);
|
||||
String s1 = (String)XmClass.getMethod(o1, "getFieldValue", "tlgrWrtnDt");
|
||||
s1 += (String)XmClass.getMethod(o1, "getFieldValue", "tlgrCrtnSysNm");
|
||||
s1 += (String)XmClass.getMethod(o1, "getFieldValue", "tlgrSrlNo");
|
||||
s1 += (String)XmClass.getMethod(o1, "getFieldValue", "tlgrPrgrsNo");
|
||||
String s2 = (String)XmClass.getMethod(o1, "getFieldValue", "orgnlTx");
|
||||
String s3 = s2.substring(0,30);
|
||||
String s4 = (String)XmClass.getMethod(o1, "getFieldValue","custId");
|
||||
byte[] b = s3.getBytes();
|
||||
XmCommon.xstart(info);
|
||||
XmCommon.x(info, b);
|
||||
thread.udp().xHeaderInfo(thread.tid(),"orgguid",XmConst.E_HEADER, s2);
|
||||
thread.udp().xHeaderInfo(thread.tid(),"guid",XmConst.E_HEADER, s1);
|
||||
thread.txn().setLoginName(s4);
|
||||
}
|
||||
|
||||
public void xInbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundLeave(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
package com.exem.sample;
|
||||
|
||||
import com.exem.IThread;
|
||||
import com.exem.IXBound;
|
||||
import com.exem.XmUtil;
|
||||
import com.exem.jspd.XmClass;
|
||||
import com.exem.jspd.XmConst;
|
||||
import com.exem.jspd.XmCommon;
|
||||
import com.exem.jspd.state.XmXDesc;
|
||||
import com.exem.jspd.state.XmXInfo;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
public class XM_BOUND_X implements IXBound
|
||||
{
|
||||
private final static SimpleDateFormat sdf = new SimpleDateFormat("yyyy");
|
||||
|
||||
public int xCall(int index, IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
index = thread.regMtdIndex("SVC", "call");
|
||||
return index;
|
||||
}
|
||||
|
||||
public void xOutbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
byte[] b = (byte[])obj[1];
|
||||
String year = sdf.format(new Date());
|
||||
boolean b1 = XmUtil.compBytes(b, 4, year.getBytes());
|
||||
String s1 = new String((byte[])obj[1], 157, 1);
|
||||
String s2 = obj[0].getClass().getName();
|
||||
if (s2.indexOf("DefaultTransportEntity") > -1)
|
||||
{
|
||||
boolean b3 = XmUtil.compBytes(b, 12, year.getBytes());
|
||||
if (b3)
|
||||
{
|
||||
XmCommon.xstart(info);
|
||||
XmCommon.x(info, b, 12, 30);
|
||||
}
|
||||
}
|
||||
else if (b1 && s1.equals("S"))
|
||||
{
|
||||
XmCommon.xstart(info);
|
||||
XmCommon.x(info, b, 4, 30);
|
||||
long l = info.x20;
|
||||
info.x20 = l - 1;
|
||||
try
|
||||
{
|
||||
thread.udp().xInfo(thread.tid(), thread.txn(), 'C', 1, 1, info, null);
|
||||
}
|
||||
catch (Throwable t)
|
||||
{
|
||||
XmCommon.print("Outbound Create C", t);
|
||||
}
|
||||
info.x20 = l;
|
||||
}
|
||||
}
|
||||
|
||||
public void xReply(IThread thread, Object[] obj, XmXDesc desc)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInboundEnter(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
public void xInbound(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
byte[] b = (byte[])obj[1];
|
||||
String year = sdf.format(new Date());
|
||||
boolean b1 = XmUtil.compBytes(b, 12, year.getBytes());
|
||||
String s1 = new String((byte[])obj[1], 165, 1);
|
||||
String s2 = obj[0].getClass().getName();
|
||||
if (s2.indexOf("DefaultTransportEntity") > -1)
|
||||
{
|
||||
if (b1)
|
||||
{
|
||||
XmCommon.xstart(info);
|
||||
XmCommon.x(info, b, 12, 30);
|
||||
}
|
||||
}
|
||||
else if (b1 && s1.equals("S"))
|
||||
{
|
||||
XmCommon.xstart(info);
|
||||
XmCommon.x(info, b, 12, 30);
|
||||
long l = info.x20;
|
||||
info.x20 = l + 1;
|
||||
try
|
||||
{
|
||||
thread.udp().xInfo(thread.tid(), thread.txn(), 'P', 1, 1, info, null);
|
||||
}
|
||||
catch (Throwable t)
|
||||
{
|
||||
XmCommon.print("Inbound Create P", t);
|
||||
}
|
||||
info.x20 = l;
|
||||
}
|
||||
}
|
||||
|
||||
public void xInboundLeave(IThread thread, XmXInfo info, Object[] obj)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package com.exem.ext;
|
||||
|
||||
import com.exem.IXTxn;
|
||||
import com.exem.IThread;
|
||||
import com.exem.jspd.XmClass;
|
||||
import com.exem.jspd.XmConst;
|
||||
import com.exem.jspd.XmCommon;
|
||||
import com.exem.weave.http.XmHttpRequest;
|
||||
import com.exem.weave.http.XmHttpSession;
|
||||
|
||||
public class XM_TXN implements IXTxn
|
||||
{
|
||||
public String getName(Object svc, XmHttpRequest req)
|
||||
{
|
||||
return req.getRequestURI();
|
||||
}
|
||||
|
||||
public String getName(String txnName, Object[] param)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getName(IThread thread, String txnName, Object[] param)
|
||||
{
|
||||
return txnName;
|
||||
}
|
||||
|
||||
public String getName(XmHttpRequest req, Object obj)
|
||||
{
|
||||
byte[] b = (byte[])obj;
|
||||
String s= new String(b, 277, 43);
|
||||
IThread thread = com.exem.jspd.agent.XmMain.current();
|
||||
|
||||
if (s.indexOf("Ext") > -1)
|
||||
{
|
||||
thread.udp().xHeaderInfo(thread.tid(), "fep_uid", XmConst.E_HEADER, s);
|
||||
}
|
||||
if (b[500] == 0x30 && b[501] == 0x30);
|
||||
else
|
||||
{
|
||||
String s1 = new String(b, 122, 13);
|
||||
String s2 = "|";
|
||||
s1 += s2;
|
||||
s1 += new String(b, 12, 32);
|
||||
s1 += s2;
|
||||
s1 += new String(b, 321, 20);
|
||||
s1 += s2;
|
||||
s1 += new String(b, 507, 10);
|
||||
s1 += s2;
|
||||
s1 += new String(b, 517, 200);
|
||||
thread.udp().xHeaderInfo(thread.tid(), "retmsg", XmConst.E_HEADER, s1);
|
||||
}
|
||||
return req.getRequestURI();
|
||||
}
|
||||
|
||||
public String getIpAddr(String txnIp, Object obj)
|
||||
{
|
||||
return txnIp;
|
||||
}
|
||||
|
||||
public String getLoginName(XmHttpRequest req, XmHttpSession session)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public void xHeaderInfo(IThread thread, XmHttpRequest req)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.exem.ext;
|
||||
|
||||
import com.exem.IXTxn;
|
||||
import com.exem.IThread;
|
||||
import com.exem.jspd.XmClass;
|
||||
import com.exem.jspd.XmConst;
|
||||
import com.exem.jspd.XmCommon;
|
||||
import com.exem.weave.http.XmHttpRequest;
|
||||
import com.exem.weave.http.XmHttpSession;
|
||||
|
||||
public class XM_TXN implements IXTxn
|
||||
{
|
||||
public String getName(Object svc, XmHttpRequest req)
|
||||
{
|
||||
return req.getRequestURI();
|
||||
}
|
||||
|
||||
public String getName(String txnName, Object[] param)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getName(IThread thread, String txnName, Object[] param)
|
||||
{
|
||||
return txnName;
|
||||
}
|
||||
|
||||
public String getName(XmHttpRequest req, Object obj)
|
||||
{
|
||||
Object o1 = XmClass.getField(obj, "header");
|
||||
String s1 = (String)XmClass.getMethod(o1, "getScrnId");
|
||||
String s2 = (String)XmClass.getMethod(o1, "getSrvcCd");
|
||||
String s3 = (String)XmClass.getMethod(o1, "getOrgGuid");
|
||||
String s4 = (String)XmClass.getMethod(o1, "getGuid");
|
||||
String s5 = (String)XmClass.getMethod(o1, "getCustId");
|
||||
IThread thread = com.exem.jspd.agent.XmMain.current();
|
||||
thread.udp().xHeaderInfo(thread.tid(), "orgguid", XmConst.E_HEADER, s3);
|
||||
thread.udp().xHeaderInfo(thread.tid(), "guid", XmConst.E_HEADER, s4);
|
||||
thread.udp().xHeaderInfo(thread.tid(), "custid", XmConst.E_HEADER, s5);
|
||||
thread.txn().setLoginName(s5);
|
||||
if (s1 == null)
|
||||
return "+" + s2;
|
||||
else
|
||||
return s1 + "+" + s2;
|
||||
}
|
||||
|
||||
public String getIpAddr(String txnIp, Object obj)
|
||||
{
|
||||
return txnIp;
|
||||
}
|
||||
|
||||
public String getLoginName(XmHttpRequest req, XmHttpSession session)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public void xHeaderInfo(IThread thread, XmHttpRequest req)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
54
intermax/23.12.07.02/jspd/build-ext/src/com/exem/sample/XM_TXN.java.kepco
Executable file
54
intermax/23.12.07.02/jspd/build-ext/src/com/exem/sample/XM_TXN.java.kepco
Executable file
@@ -0,0 +1,54 @@
|
||||
package com.exem.kepco;
|
||||
|
||||
import com.exem.IXTxn;
|
||||
import com.exem.IThread;
|
||||
import com.exem.jspd.XmClass;
|
||||
import com.exem.jspd.XmCommon;
|
||||
import com.exem.weave.http.XmHttpRequest;
|
||||
import com.exem.weave.http.XmHttpSession;
|
||||
|
||||
public class XM_TXN implements IXTxn
|
||||
{
|
||||
public String getName(Object svc, XmHttpRequest req)
|
||||
{
|
||||
return req.getRequestURI();
|
||||
}
|
||||
|
||||
public String getName(String txnName, Object[] param)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getName(IThread thread, String txnName, Object[] param)
|
||||
{
|
||||
XmCommon.print("11111");
|
||||
String s = txnName;
|
||||
Object o1 = param[1];
|
||||
txnName = (String)o1 + "+" + s;
|
||||
XmCommon.print("txnName:" + txnName);
|
||||
String txnIp = "127.127.127.1";
|
||||
thread.txn().setTxnIp(txnIp);
|
||||
XmCommon.print("Ip:" + txnIp);
|
||||
return txnName;
|
||||
}
|
||||
|
||||
public String getName(XmHttpRequest req, Object obj)
|
||||
{
|
||||
return req.getRequestURI();
|
||||
}
|
||||
|
||||
public String getIpAddr(String txnIp, Object obj)
|
||||
{
|
||||
return txnIp;
|
||||
}
|
||||
|
||||
public String getLoginName(XmHttpRequest req, XmHttpSession session)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public void xHeaderInfo(IThread thread, XmHttpRequest req)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
202
intermax/23.12.07.02/jspd/build-ext/src/com/exem/sample/XM_TXN_EXT.java
Executable file
202
intermax/23.12.07.02/jspd/build-ext/src/com/exem/sample/XM_TXN_EXT.java
Executable file
@@ -0,0 +1,202 @@
|
||||
package com.exem.sample;
|
||||
|
||||
import com.exem.IXTxn;
|
||||
import com.exem.XmUtil;
|
||||
import com.exem.IThread;
|
||||
import com.exem.IUdpThread;
|
||||
import com.exem.IXTxn;
|
||||
import com.exem.jspd.XmClass;
|
||||
import com.exem.jspd.XmCommon;
|
||||
import com.exem.weave.http.XmHttpRequest;
|
||||
import com.exem.weave.http.XmHttpSession;
|
||||
|
||||
public class XM_TXN_EXT implements IXTxn
|
||||
{
|
||||
private static final byte TRX_PARAMETER = 1;
|
||||
private static final byte TRX_PARAM_NOURI = 2;
|
||||
private static final byte TRX_ATTRIBUTRE = 3;
|
||||
|
||||
private static final byte APP_ATTRIBUTRE = 1;
|
||||
private static final byte APP_COOKIE = 2;
|
||||
|
||||
public String getName(Object svc, XmHttpRequest req)
|
||||
{
|
||||
if (XmCommon.TRX_NAME_KEY.length == 0)
|
||||
return req.getRequestURI();
|
||||
|
||||
String name = null;
|
||||
switch (XmCommon.TRX_NAME_TYPE)
|
||||
{
|
||||
case TRX_PARAMETER:
|
||||
case TRX_PARAM_NOURI:
|
||||
String param = null;
|
||||
for (int i = 0; i < XmCommon.TRX_NAME_KEY.length; i++)
|
||||
{
|
||||
String key = XmCommon.TRX_NAME_KEY[i];
|
||||
String value = req.getParameter(key);
|
||||
if (value != null)
|
||||
{
|
||||
if (param == null)
|
||||
param = key + "=" + value;
|
||||
else
|
||||
param = param + "&" + key + "=" + value;
|
||||
}
|
||||
}
|
||||
if (param != null)
|
||||
{
|
||||
if (XmCommon.TRX_NAME_TYPE == TRX_PARAM_NOURI)
|
||||
name = param;
|
||||
else
|
||||
name = req.getRequestURI() + "?" + param;
|
||||
}
|
||||
break;
|
||||
case TRX_ATTRIBUTRE:
|
||||
name = (String) req.getAttribute(XmCommon.TRX_NAME_KEY[0]);
|
||||
break;
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getName(XmHttpRequest req, Object obj)
|
||||
{
|
||||
return req.getRequestURI();
|
||||
}
|
||||
|
||||
public String getName(String txnName, Object[] obj)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getName(IThread thread, String txnName, Object[] obj)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getIpAddr(String ip, Object obj)
|
||||
{
|
||||
return ip;
|
||||
}
|
||||
|
||||
public String getLoginName(XmHttpRequest req, XmHttpSession session)
|
||||
{
|
||||
String name = null;
|
||||
switch (XmCommon.TRX_LOGIN_TYPE)
|
||||
{
|
||||
case APP_ATTRIBUTRE:
|
||||
Object o1 = session.getAttribute(XmCommon.TRX_LOGIN_KEY);
|
||||
if (o1 instanceof java.lang.String)
|
||||
name = (String) o1;
|
||||
break;
|
||||
case APP_COOKIE:
|
||||
name = XmCommon.Cookie_getValue(req, XmCommon.TRX_LOGIN_KEY);
|
||||
break;
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
/* getName **************************************************** */
|
||||
public String getServletName(Object svc, XmHttpRequest req)
|
||||
{
|
||||
Object o1;
|
||||
if ((o1 = XmClass.getMethod(svc, "getServletName")) != null)
|
||||
return (String) o1;
|
||||
else if ((o1 = XmClass.getMethod(svc, "getServletConfig")) != null)
|
||||
{
|
||||
Object o2;
|
||||
if ((o2 = XmClass.getMethod(svc, "getServletName")) != null)
|
||||
return (String) o2;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getLastUri(Object svc, XmHttpRequest req)
|
||||
{
|
||||
String name = req.getRequestURI();
|
||||
if (name.indexOf(XmCommon.TRX_NAME_KEY[0]) > -1)
|
||||
{
|
||||
int i = name.lastIndexOf('/');
|
||||
if (i > -1)
|
||||
return name.substring(i + 1);
|
||||
else
|
||||
return name;
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getXFrame(String value)
|
||||
{
|
||||
try
|
||||
{
|
||||
String s = value.substring(12);
|
||||
String src = new String(new sun.misc.BASE64Decoder().decodeBuffer(s));
|
||||
|
||||
int ix = 0;
|
||||
String item[] = new String[6];
|
||||
for (int i = 0; i < 6; i++)
|
||||
{
|
||||
ix++;
|
||||
int len = XmUtil.byteArrayToInt(src.substring(ix, ix + 4).getBytes());
|
||||
ix = ix + 4 + len;
|
||||
|
||||
len = XmUtil.byteArrayToInt(src.substring(ix, ix + 4).getBytes());
|
||||
item[i] = src.substring(ix + 4, ix + 4 + len);
|
||||
ix = ix + 4 + len;
|
||||
}
|
||||
return item[0] + "/" + item[1];
|
||||
}
|
||||
catch (Throwable t)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/* getName **************************************************** */
|
||||
public String getProFrameV1(XmHttpRequest req, Object obj)
|
||||
{
|
||||
return (String) XmClass.getMethod(obj, "getPfmTxCode");
|
||||
}
|
||||
|
||||
public String getProFrameV2(XmHttpRequest req, Object obj)
|
||||
{
|
||||
String name = req.getRequestURI();
|
||||
name = name + "+" + XmClass.getMethod(obj, "getPfmFnCd") + "+" + XmClass.getMethod(obj, "getPfmTxCode");
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getProFrameV3(XmHttpRequest req, Object obj)
|
||||
{
|
||||
return XmClass.getMethod(obj, "getPfmAppName") + "+" + XmClass.getMethod(obj, "getPfmSvcName") + "+" + XmClass.getMethod(obj, "getPfmFnName");
|
||||
}
|
||||
|
||||
public String getNICSV1(XmHttpRequest req, Object obj)
|
||||
{
|
||||
return (String) obj;
|
||||
}
|
||||
|
||||
public String getTITV1(XmHttpRequest req, Object obj)
|
||||
{
|
||||
int count = ((Integer) XmClass.getMethod(obj, "getRowCount")).intValue();
|
||||
String[] values = new String[count];
|
||||
Class[] acls = new Class[] { Integer.TYPE, String.class };
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
Object[] aobj = new Object[] { new Integer(i), "SQL_ID" };
|
||||
values[i] = (String) XmClass.getMethod(obj, "getColumnAsString", acls, aobj);
|
||||
}
|
||||
return XmUtil.toString(values, ",");
|
||||
}
|
||||
|
||||
/* getIpAddr ************************************************** */
|
||||
public String getPfmClntIp(Object obj, String ip)
|
||||
{
|
||||
return (String) XmClass.getMethod(obj, "getPfmClntIp");
|
||||
}
|
||||
|
||||
/* getLoginName *********************************************** */
|
||||
public void xHeaderInfo(IThread thread, XmHttpRequest req);
|
||||
{
|
||||
String query = req.getQueryString();
|
||||
String url = req.getRequestURL() + (query == null ? "" : new StringBuilder().append("?").append(query).toString());
|
||||
thread.udp().xHeaderInfo(thread.tid(), "qa.url", (byte)1, url);
|
||||
}
|
||||
}
|
||||
3
intermax/23.12.07.02/jspd/cfg/agent/imx.dbm
Executable file
3
intermax/23.12.07.02/jspd/cfg/agent/imx.dbm
Executable file
@@ -0,0 +1,3 @@
|
||||
# IMXDBM ADDR=DB ADDR
|
||||
# ex) 127.0.0.1:2604=127.0.0.1.1521.ora11203
|
||||
# ex) 127.0.0.1:2605=127.0.0.1.1522.ora11204
|
||||
258
intermax/23.12.07.02/jspd/cfg/agent/imx.prop
Executable file
258
intermax/23.12.07.02/jspd/cfg/agent/imx.prop
Executable file
@@ -0,0 +1,258 @@
|
||||
###############################################################################
|
||||
# COMMON OPTIONS #
|
||||
###############################################################################
|
||||
|
||||
#########################################
|
||||
# NOT USED
|
||||
# # 2: garbage clean log, 4: udp packet detail log, 8: udp packet detail log for send to imxdbm
|
||||
# # 16: topology info detail log
|
||||
# LOG_OPT=0
|
||||
#
|
||||
# # 1: prepare, 2: execute, 4: execute end, 8: jsp end, 16: active txn signal
|
||||
# # 32: remotecall, 64: userdata, 128: real user monitor
|
||||
# DEBUG=0
|
||||
# NOT USED
|
||||
#########################################
|
||||
|
||||
# common
|
||||
# 1: cpu/core*, 2: exclude iowait
|
||||
# linux
|
||||
# 4: free memory = MemFree + Buffers + Cached
|
||||
# sun
|
||||
# 4: exclude network info
|
||||
# aix
|
||||
# 8: VP mode for cpu (Shared-SMT)
|
||||
# 16(0x10): cpu/online_vcpus* (Shared-SMT)
|
||||
# 32(0x20): no virtual free memory (default free memory = (real_total - virt_active) * 4 (4K Pages))
|
||||
# 32768(0x8000): use perfstat_pagingspace (paging space usage)
|
||||
CPU100=1
|
||||
|
||||
#Packet Queue Max Count
|
||||
#MAX_UDP_QUEUE=20000
|
||||
#MAX_TCP_QUEUE=2000
|
||||
|
||||
# info_log interval (sec)
|
||||
# default: imxosm = 300 , imxtxn = 60
|
||||
#INTERVAL_INFO_LOG=
|
||||
|
||||
# DG TCP Reconnect interval (ms)
|
||||
# defaut: 5000
|
||||
DG_RECONNECT_DELAY_TIME=5000
|
||||
|
||||
#if WAS process name is not a java
|
||||
#WAS_PROCESS_NAME=
|
||||
|
||||
###############################################################################
|
||||
# IMXOSM COMMON OPTIONS #
|
||||
###############################################################################
|
||||
|
||||
#0 : DG 2016.12.19 before version
|
||||
#1 : DG 2016.12.19 after version
|
||||
# Gather Version(yyyymmdd)
|
||||
#IMX_OSM_VERSION_FOR_GATHER_COMPATIBLE=
|
||||
|
||||
# 0 : disable_osm_standalone, 1 : enable_osmstandalone
|
||||
#ENABLE_OSM_STANDALONE=0
|
||||
|
||||
# Collect NFS(Filesystem) type(Y:collect,N:not collect(default))
|
||||
#COLLECT_FS_NFS=
|
||||
|
||||
# Use the option to run more than one imxosm on the local server.
|
||||
# (preventing duplication collect of processes)
|
||||
# 0 : master(default), 1 : slave
|
||||
#IMX_OSM_SLAVE=
|
||||
|
||||
# Custom hostkey (hostkey = org_hostkey + sys_host + OSM_MODULE_KEY)
|
||||
#OSM_MODULE_KEY=
|
||||
|
||||
# Windows Global Nameing MMF
|
||||
# 0: Not use(default), 1: use global name mmf(.NET)
|
||||
#USE_GLOBAL_NAMING_MMF=
|
||||
|
||||
# update manager setting
|
||||
# target api server ip
|
||||
API_SERVER_IP=
|
||||
|
||||
# target api server port
|
||||
API_SERVER_PORT=
|
||||
|
||||
# update check interval setting (sec)
|
||||
UPDATE_CHECK_INTERVAL=
|
||||
|
||||
# Maximum number of package versions to keep
|
||||
BACKUP_PATH_COUNT=
|
||||
|
||||
# Set imxtxn running (default: true)
|
||||
RUN_IMXTXN=
|
||||
|
||||
###############################################################################
|
||||
# IMXOSM TMAXTP OPTIONS #
|
||||
###############################################################################
|
||||
|
||||
# imxtpm_tmax Config file path
|
||||
TP_CONF_DIR=
|
||||
|
||||
# imxtpm_tmax Config file name (default: mxtpl.conf)
|
||||
TP_CONF_FILE_NAME=mxtpl.conf
|
||||
|
||||
# imxtpm_tmax env file path for imxosm
|
||||
TP_TMAX_ENV_DIR=
|
||||
|
||||
# imxtpm_tmax env file name (default: tmax.env)
|
||||
TP_TMAX_ENV_FILE_NAME=tmax.env
|
||||
|
||||
# tmax tp process user name
|
||||
TP_PROCESS_USER=tmax
|
||||
|
||||
# if filename = A/B/SLOG.123456
|
||||
# set SLOG_DIR = A/B
|
||||
SLOG_DIR=
|
||||
|
||||
# If the string is included in the SLOG, the data line is skipped.
|
||||
# set SLOG_FILTER_TEXT = abc , def, ghi , ...
|
||||
#SLOG_FILTER_TEXT
|
||||
|
||||
# tpcall (tmadmin data) interval second
|
||||
TPCALL_INTERVAL=10
|
||||
|
||||
# The number of failures of TPCALL sending an error alarm
|
||||
TPCALL_ERROR_REPEAT=3
|
||||
|
||||
# Skip processing for an active transaction that is longer than the set value.(ms)
|
||||
ACTIVE_ELAPSE_LIMIT=0
|
||||
|
||||
# Skip active transactions shorter than this value.
|
||||
ACTIVE_ELAPSE_TIME=0
|
||||
|
||||
# 0: OFF (default) 1: shm active txn logging (Dynamic Option)
|
||||
TP_SHM_DEBUG=0
|
||||
|
||||
## TPCALL_DEBUG_TYPE (Dynamic Option)
|
||||
## (ex: TP_CALL_DEBUG_TYPE=12 --> MXTSVGCONF(4), MXTSVRCONF(8) logging)
|
||||
## 0: NONE(OFF)(default)
|
||||
## 1: MXTDOMAINCONF
|
||||
## 2: MXTNODECONF
|
||||
## 4: MXTSVGCONF
|
||||
## 8: MXTSVRCONF
|
||||
## 16: MXTSVCCONF
|
||||
## 32: MXTSVRSTAT
|
||||
## 64: MXTSPRSTATEX
|
||||
## 128: MXTSVCSTATEX
|
||||
## 256: MXTCLIINFO
|
||||
TPCALL_DEBUG=0
|
||||
|
||||
## The selected service does not perform.
|
||||
## 0: all gathering.(default)
|
||||
## The remaining values are the same as in the "TPCALL_DEBUG_TYPE" option above
|
||||
## (ex: TP_NOTGATHER_STAT=12 --> MXTSVCCONF(4), MXTSVRCONF(8) Do not collect data.)
|
||||
TP_NOTGATHER_STAT=0
|
||||
|
||||
###############################################################################
|
||||
# IMXOSM TUXEDO OPTIONS #
|
||||
###############################################################################
|
||||
|
||||
# imxtpm_tuxedo Config file path
|
||||
TUX_CONF_DIR=/home/tuxedo/tm_agent
|
||||
|
||||
# imxtpm_tuxedo Config file name (default: mxtup.conf)
|
||||
TUX_CONF_FILE_NAME=mxtup.conf
|
||||
|
||||
# if filename = A/B/ULOG.123456
|
||||
# set TUX_ULOG_FILE = A/B/ULOG
|
||||
TUX_ULOG_FILE=$TUXDIR/ULOG
|
||||
|
||||
# library debug on/off
|
||||
TUX_LIB_DEBUG=0
|
||||
|
||||
# stat data interval
|
||||
TUX_STAT_INTERVAL=10
|
||||
|
||||
# 0 : All, 1 : stat off 2: server off 4:service off 8: client off 16:queue off
|
||||
TUX_NOTGATHER_STAT=0
|
||||
|
||||
# 0 : off, 1 : stat on 2: server on 4:service on 8: client on 16:queue on
|
||||
TUX_STAT_DEBUG=0
|
||||
|
||||
###############################################################################
|
||||
# IMXOSM C API OPTIONS #
|
||||
###############################################################################
|
||||
|
||||
# imxosm shared memory read interval (ms)
|
||||
APIM_READ_INTERVAL=1000
|
||||
|
||||
# imxosm debug log setting
|
||||
APIM_DEBUG_LOG=0
|
||||
|
||||
|
||||
###############################################################################
|
||||
# IMXTXN OPTIONS #
|
||||
###############################################################################
|
||||
|
||||
# Packet Debugging Options ( Multiple selections are available )
|
||||
# [ 0] ALLOFF
|
||||
# [ 1] TRANSACTION_PROCESSING ( PREPARE/EXECUTE_BEGIN/EXECUTE_END/JSP_END )
|
||||
# [ 2] SQL_PROCESSING ( PREPARE/EXECUTE_BEGIN/EXECUTE_END )
|
||||
# [ 3] SQL_TEXT ( SQL_TEXT )
|
||||
# [ 4] ACTIVE_TXN ( ACTIVE_TXN_SIGNAL )
|
||||
# [ 5] REMOTECALL_PROCESSING ( REMOTECALL )
|
||||
# Warning) Do not use together No. 1 and No. 2.
|
||||
# ex) XM_LOG_OPT=1,3,4
|
||||
XM_LOG_OPT=0
|
||||
|
||||
# imxtxn worker thread count (default:1, MAX:10)
|
||||
WORKING_THREAD_COUNT=1
|
||||
|
||||
# Gather Version(yyyymmdd)
|
||||
#IMX_DATAGATHER_PACKET_VERSION=
|
||||
|
||||
# Send Packet to imxdbm (default:1, 0:OFF 1:ON)
|
||||
SEND_UDP_TO_DBM=0
|
||||
|
||||
# 0 : disable_txn_standalone, 1 : enable_txnstandalone
|
||||
ENABLE_TXN_STANDALONE=0
|
||||
|
||||
# Collect only sql information with longer SQL elapse time.(ms)
|
||||
SQL_DETAIL_ELAPSE_LIMIT=0
|
||||
|
||||
|
||||
|
||||
###############################################################################
|
||||
# IMXDBM OPTIONS #
|
||||
###############################################################################
|
||||
|
||||
# env server port
|
||||
ENV_PORT=2405
|
||||
|
||||
# DB Address, copy address from imx.dbm file.
|
||||
# DB_ADDR=127.0.0.1.1521.orcl (IP.PORT.SID)
|
||||
|
||||
# session status filter
|
||||
# 1: active, 2: exclude inactive background, 3: both
|
||||
SESSION_LIST_OPT=1
|
||||
|
||||
|
||||
###############################################################################
|
||||
# IMXTXN SITE OPTIONS #
|
||||
###############################################################################
|
||||
|
||||
# 0: send all, 0<: send limit(per sec), 10000(defualt, max): max send count
|
||||
#MAX_SEND_BIND_LIST_COUNT=0
|
||||
|
||||
# Add sql bind space (default:1, OFF:0 ON:1)
|
||||
#INPUT_SPACE_SQL_BIND=1
|
||||
|
||||
# SQL TEXT TRIM (HEAD) (default:0, HEAD+TAIL:0 HEAD:1)
|
||||
#SQL_LEFT_TRIM=0
|
||||
|
||||
# USE CONVERT SQL TEXT UTF8->EUCKR (default:0, OFF:0 ON:1)
|
||||
#SQL_TEXT_CONVERT_UTF8_EUCKR=0
|
||||
|
||||
# txn sql_text hash count (default: 5000)
|
||||
#MAX_SQL_TEXT_HASH_COUNT=5000
|
||||
|
||||
# USE Topology Key1, Key3, dest (default:0)
|
||||
#USE_KEYS_FOR_REMOTE_TOPOLOGY_ADDR=1
|
||||
|
||||
# Use open_addr for topology address (default:0, OFF:0 ON:1, if USE_KEYS_FOR_REMOTE_TOPOLOGY_ADDR=1 this option is ignore)
|
||||
#USE_OPEN_ADDR_FOR_REMOTE_TOPOLOGY_ADDR=0
|
||||
|
||||
28
intermax/23.12.07.02/jspd/cfg/agent/imxlog.conf
Executable file
28
intermax/23.12.07.02/jspd/cfg/agent/imxlog.conf
Executable file
@@ -0,0 +1,28 @@
|
||||
|
||||
[ imxosm ]
|
||||
directory = ${INTERMAX_HOME}/log/imx
|
||||
# filename = imxosm.log
|
||||
output_type = file
|
||||
level = info
|
||||
header_flag = time,pid,level
|
||||
limit_file_size = 10
|
||||
#backup_directory = ${INTERMAX_HOME}/log/imx
|
||||
backup_file_count = 3
|
||||
|
||||
[ imxtxn ]
|
||||
directory = ${INTERMAX_HOME}/log/imx
|
||||
# filename = imxtxn.log
|
||||
output_type = file
|
||||
level = info
|
||||
header_flag = time,pid,level
|
||||
limit_file_size = 10
|
||||
#backup_directory = ${INTERMAX_HOME}/log/imx
|
||||
backup_file_count = 3
|
||||
|
||||
[ debug_console ]
|
||||
output_type = stdout
|
||||
level = trace
|
||||
header_flag = time
|
||||
|
||||
|
||||
|
||||
0
intermax/23.12.07.02/jspd/cfg/agent/jspd.alias
Executable file
0
intermax/23.12.07.02/jspd/cfg/agent/jspd.alias
Executable file
0
intermax/23.12.07.02/jspd/cfg/agent/jspd.home
Executable file
0
intermax/23.12.07.02/jspd/cfg/agent/jspd.home
Executable file
42
intermax/23.12.07.02/jspd/cfg/agent/jspd.prop
Executable file
42
intermax/23.12.07.02/jspd/cfg/agent/jspd.prop
Executable file
@@ -0,0 +1,42 @@
|
||||
# ${DG_IP}:${DG_PORT},${DG_IP}:${DG_PORT} ... (max:10))
|
||||
# default: NULL
|
||||
DGADDR_LIST=
|
||||
|
||||
# If DG connection fails by the set value, "imxosm" attempts to connect sequentially to the value in "DG_ADDR_LIST" ( default:5)
|
||||
DGADDR_LIST_RECONNECT_COUNT=5
|
||||
|
||||
# ${IP}:${TCP_PORT}
|
||||
#WR_ADDR=127.0.0.1:1314
|
||||
WR_ADDR=10.10.52.5:1314
|
||||
#WR_ADDR=10.10.52.4:1314
|
||||
|
||||
# ${UDP_PORT|UDP_PORT}
|
||||
TXN_ADDR=2404
|
||||
|
||||
# ${UDP_PORT|UDP_PORT}
|
||||
UTS_ADDR=2504
|
||||
|
||||
# default 10000
|
||||
TXN_REGISTRY_SIZE=
|
||||
|
||||
# default 200000
|
||||
MTD_REGISTRY_SIZE=
|
||||
|
||||
# default 200
|
||||
MTD_BUFFER_COUNT=
|
||||
|
||||
# default 60KB
|
||||
MTD_MAX_SIZE=
|
||||
|
||||
# default false
|
||||
REMOVE_JDBC_ADVICE=
|
||||
|
||||
# default false
|
||||
REMOVE_JDBC_BIND_ADVICE=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_SID=
|
||||
|
||||
# default true
|
||||
USE_TCP_SEND_HEADER=
|
||||
|
||||
496
intermax/23.12.07.02/jspd/cfg/agent/jspd.prop.ini
Executable file
496
intermax/23.12.07.02/jspd/cfg/agent/jspd.prop.ini
Executable file
@@ -0,0 +1,496 @@
|
||||
# txn name 0:default, 1:parameter, 2:param_nouri, 3:attribute
|
||||
TRX_NAME_TYPE=
|
||||
|
||||
# txn key
|
||||
TRX_NAME_KEY=
|
||||
|
||||
# txn login name 0:default, 1:attribute, 2:cookie
|
||||
TRX_LOGIN_TYPE=
|
||||
|
||||
# txn login key
|
||||
TRX_LOGIN_KEY=
|
||||
|
||||
# default 0sec
|
||||
APP_SLEEP=
|
||||
|
||||
# default 400, max 400
|
||||
ACTIVE_TOP_COUNT=
|
||||
|
||||
# default 0ms
|
||||
ACTIVE_ELAPSE_TIME=
|
||||
|
||||
# ${TXNNAME}:${TXNTIME(ms)},${TXNNAME}:${TXNTIME(ms)}
|
||||
#CURR_TRACE_TXN=*:3000
|
||||
CURR_TRACE_TXN=*:0
|
||||
|
||||
# default 100, 0~100
|
||||
CURR_TRACE_LEVEL=
|
||||
|
||||
# default true
|
||||
TRACE_JDBC=
|
||||
|
||||
# default false
|
||||
TRACE_SIMPLE_METHOD=
|
||||
|
||||
# default false
|
||||
METHOD_DEBUG=
|
||||
|
||||
# eg) gif, js, css, xml, jpg, jpeg, png, ico, woff, woff2
|
||||
EXCLUDE_SERVICE=gif, js, css, xml, jpg, jpeg, png, ico, woff, woff2
|
||||
|
||||
# eg) gif, js, css
|
||||
EXCLUDE_SERVICE_AT_END_TIME=
|
||||
|
||||
# eg) type.Exception
|
||||
INCLUDE_EXCEPTION=
|
||||
|
||||
# eg) type.Exception
|
||||
EXCLUDE_EXCEPTION=weblogic.servlet.jsp.AddToMapException
|
||||
|
||||
# error.jsp
|
||||
REDIRECT_URL=
|
||||
|
||||
# default false
|
||||
RESP_HTML_SCRIPT=
|
||||
|
||||
# default 50ms
|
||||
RESP_HTML_ELAPSE_TIME=
|
||||
|
||||
# eg) .*\.jsp
|
||||
RESP_HTML_SCRIPT_TARGET=.*\.jsp
|
||||
|
||||
# default false
|
||||
RESP_HEADER_TID=
|
||||
|
||||
# default false
|
||||
USE_TRACE_CLIENT_TIME=
|
||||
|
||||
# default empty string
|
||||
TRACE_CLIENT_TIME_POSTFIX=
|
||||
|
||||
# eg) 192.168.0.10:8082
|
||||
TRACE_CLIENT_TIME_ADDR=
|
||||
|
||||
# default true
|
||||
RT_RMI=
|
||||
|
||||
# default ext
|
||||
RT_RMI_VENDOR=
|
||||
|
||||
# default 3: normal, 1: pkey, 2: ckey, 3: pckey
|
||||
RT_RMI_TYPE=
|
||||
|
||||
# default 0ms
|
||||
RT_RMI_ELAPSE_TIME=
|
||||
|
||||
# default 0x00 eg) FILE_OPEN,FILE_CLOSE
|
||||
RT_FILE=
|
||||
|
||||
# default 0x10 eg) SOCKET_OPEN,SOCKET_CLOSE
|
||||
RT_SOCKET=
|
||||
|
||||
# default false
|
||||
USE_MTD_EXT=
|
||||
|
||||
# default false
|
||||
MTD_PARAM_TRACE=
|
||||
|
||||
# default 100000
|
||||
MTD_LIMIT=
|
||||
|
||||
# default 2500
|
||||
MTD_BUFFER_SIZE=
|
||||
|
||||
# default 100
|
||||
MTD_EXCEPTION_BUFFER_SIZE=
|
||||
|
||||
# default 100
|
||||
MTD_STACK_BUFFER_SIZE=
|
||||
|
||||
# default 20
|
||||
LIMIT_SQL=
|
||||
|
||||
# default true
|
||||
USE_SQL_ELLIPSIS=
|
||||
|
||||
# default 2000, max MTD_BUFFER_SIZE
|
||||
TXN_SQL_LIMIT_COUNT=
|
||||
|
||||
# default 0ms
|
||||
SQL_DETAIL_ELAPSE_LIMIT=
|
||||
|
||||
# default 2048, max 8192
|
||||
BIND_SIZE=
|
||||
|
||||
# default 50ms
|
||||
BIND_ELAPSE_TIME=
|
||||
|
||||
# default false
|
||||
TXN_CPU_TIME=
|
||||
|
||||
# default false
|
||||
TXN_MEMORY=
|
||||
|
||||
# default false
|
||||
TXN_CPU_CORE=
|
||||
|
||||
# default 0
|
||||
THROW_TXN_FETCH_COUNT=
|
||||
|
||||
# default 0
|
||||
THROW_SQL_FETCH_COUNT=
|
||||
|
||||
# eg) gif, js, css
|
||||
THROW_EXCLUDE_SERVICE=
|
||||
|
||||
# ${ALERT}:${RESTART}:${LEVEL},${ALERT}:${RESTART}:${LEVEL}
|
||||
LOG_ALERT=1:java.lang.OutOfMemoryError,2:container {0} booted
|
||||
|
||||
# default false
|
||||
USE_SESSIONID_FOR_WEBID=
|
||||
|
||||
# default false
|
||||
ENABLE_WEB_ID_WHEN_NO_USERAGENT=
|
||||
|
||||
# default false
|
||||
USE_RUNTIME_REDEFINE=true
|
||||
|
||||
# default true
|
||||
USE_RUNTIME_REDEFINE_HTTP_REMOTE=
|
||||
|
||||
# default false
|
||||
USE_RUNTIME_REDEFINE_FUTURE_ETOE=
|
||||
|
||||
# default false
|
||||
DISABLE_FUTURE_ETOE_TRACE=
|
||||
|
||||
# default true
|
||||
USE_JMX=
|
||||
|
||||
# default true
|
||||
DISABLE_JDBC_ALARM=
|
||||
|
||||
# default false
|
||||
USE_TRACE_COLLECTION_LEAK=
|
||||
|
||||
# default 1000
|
||||
TRACE_COLLECTION_SIZE=
|
||||
|
||||
# default 10000
|
||||
TRACE_COLLECTION_STACKTRACE_SIZE=
|
||||
|
||||
# default 600000ms(10minutes)
|
||||
TRACE_COLLECTION_REPORT_PERIOD=
|
||||
|
||||
# default 3 (Min 3, Max 99)
|
||||
IMXOSM_CHECK_COUNT=
|
||||
|
||||
# default true
|
||||
USE_NEW_IMXTXN_SQL_PACKET=
|
||||
|
||||
# default 1000ms (Min 500, Max 60000)
|
||||
DG_RECONNECT_DELAY_TIME=
|
||||
|
||||
# default false
|
||||
USE_SQL_SEQ=
|
||||
|
||||
# default false
|
||||
TRACE_FETCH_METHOD=
|
||||
|
||||
# default false
|
||||
TRACE_MONGO_FETCH=
|
||||
|
||||
# eg) replace number patterns [0-9]+
|
||||
REPLACE_URL_PATTERNS=
|
||||
|
||||
# eg) prefix1, prefix2
|
||||
EXCLUDE_TXCODE=
|
||||
|
||||
# eg) thread name pattern (startsWith)
|
||||
EXCLUDE_THREAD=
|
||||
|
||||
# default false
|
||||
USE_ETOE_ONLY=
|
||||
|
||||
# default false
|
||||
DISABLE_ACTIVE_TXN=
|
||||
|
||||
# default false
|
||||
USE_METHOD_LIST=
|
||||
|
||||
# default false
|
||||
USE_METHOD_SEQ=
|
||||
|
||||
# default false
|
||||
TRACE_METHOD_MEMORY=
|
||||
|
||||
# default false
|
||||
TRACE_METHOD_CPUTIME=
|
||||
|
||||
# default true
|
||||
TRACE_DBPOOL_NAME=
|
||||
|
||||
# default false
|
||||
TRACE_THREAD_NAME=
|
||||
|
||||
# default false
|
||||
DISABLE_ROOT_METHOD=
|
||||
|
||||
# default 128
|
||||
MTD_ERROR_LIMIT=
|
||||
|
||||
# default 1(sec)
|
||||
WASID_CHECK_TIMEOUT=
|
||||
|
||||
# default false
|
||||
DISABLE_JDBC_CONNECTION_FAIL=
|
||||
|
||||
# default false
|
||||
TRX_NAME_USE_ENCODING=
|
||||
|
||||
# default ISO-8859-1
|
||||
TRX_NAME_ENCODING_FROM=
|
||||
|
||||
# default UTF-8
|
||||
TRX_NAME_ENCODING_TO=
|
||||
|
||||
# default empty string
|
||||
TRX_IP_KEY=
|
||||
|
||||
# txn error 0: default, 1: response(500), 2: response(400)
|
||||
TRX_ERR_TYPE=
|
||||
|
||||
# default empty string
|
||||
TRX_ERR_STATUS=
|
||||
|
||||
# 0: none(default), 1: error thread dump, 2: all thread dump
|
||||
TRX_ERR_STATUS_TYPE=
|
||||
|
||||
# default 0
|
||||
TXN_ELAPSE_TIME=
|
||||
|
||||
# default 0
|
||||
MTD_ELAPSE_TIME=
|
||||
|
||||
# default false
|
||||
INCLUDE_EXCEPTION_FOR_ALARM=
|
||||
|
||||
# default false
|
||||
CONVERT_SQL_ASCII_TO_KSC5601=
|
||||
|
||||
# default null
|
||||
CONVERT_SQL_ASCII_TO=
|
||||
|
||||
# default null
|
||||
CONVERT_SQL_TEXT_ENCODING_FROM=
|
||||
|
||||
# default null
|
||||
CONVERT_SQL_TEXT_ENCODING_TO=
|
||||
|
||||
# default false
|
||||
ENABLE_UPDATE_WEBID_COOKIE_TIME=
|
||||
|
||||
# default 0
|
||||
TXN_NAME_SET_INDEX=
|
||||
|
||||
# default 0
|
||||
TXN_NAME_SET_INDEX2=
|
||||
|
||||
# default 0
|
||||
TXN_NAME_APPEND_INDEX=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_SID=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_SID_ORACLE=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_SID_DB2=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_SID_MSSQL=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_SID_TIBERO=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_FETCH=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_BIND=
|
||||
|
||||
# default false
|
||||
ENABLE_ENCRYPT_SQL_BIND=
|
||||
|
||||
# default false
|
||||
ENABLE_ENCRYPT_LOGIN_NAME=
|
||||
|
||||
# default 0
|
||||
TYPE_AUTOMATIC_WASID=4
|
||||
|
||||
# default empty string
|
||||
K8S_URL_KEY=
|
||||
|
||||
# default empty string
|
||||
AUTOWASID_DG_KEY=core_business1
|
||||
|
||||
# default 2 (Min 2, Max 10)
|
||||
THREAD_DUMP_MAX_SIZE=
|
||||
|
||||
# default log eg) log or AbsolutePath
|
||||
LOG_PATH=
|
||||
|
||||
# default -1 (Min 2)
|
||||
LOG_MAX_COUNT=
|
||||
|
||||
# default empty string
|
||||
LOGGER_IP=
|
||||
|
||||
# default 10010
|
||||
LOGGER_PORT=
|
||||
|
||||
# default 0 (Min 0, Max 100)
|
||||
LOG_ARCHIVE_DAYS=
|
||||
|
||||
# default 2 (Min 0, Max 10)
|
||||
LOG_FILE_COUNT=
|
||||
|
||||
# default 10 (Min 0, Max 10)
|
||||
LOG_FILE_SIZE=
|
||||
|
||||
# default false
|
||||
GET_SID_WHEN_STMT=
|
||||
|
||||
# default 600000ms(10minutes)
|
||||
GET_SID_WHEN_STMT_LIMIT=
|
||||
|
||||
# default false
|
||||
CHANGE_DB2_SID_QUERY=
|
||||
|
||||
# default false
|
||||
COMPRESS_SQL=
|
||||
|
||||
# default false
|
||||
USE_ORACLE_RAC=
|
||||
|
||||
# default false
|
||||
USE_TIBERO_TAC=
|
||||
|
||||
# deprecated. default false
|
||||
USE_TRACE_ORACLE=
|
||||
|
||||
# default false
|
||||
USE_TRACE_ORACLE2=
|
||||
|
||||
# default false
|
||||
USE_TRACE_POSTGRES=
|
||||
|
||||
# default false
|
||||
USE_TRACE_ORACLE2_CLEAR_PING=
|
||||
|
||||
# default false
|
||||
USE_TRACE_ORACLE3=
|
||||
|
||||
# default false
|
||||
USE_TRACE_DB2=
|
||||
|
||||
# default false
|
||||
USE_TRACE_MSSQL=
|
||||
|
||||
# default false
|
||||
USE_TRACE_TIBERO=
|
||||
|
||||
# default false
|
||||
USE_TRACE_TIBERO3=
|
||||
|
||||
# default 200
|
||||
CONNECTION_CLASS_LIMIT=
|
||||
|
||||
# default 2000
|
||||
CONNECTION_LIMIT=
|
||||
|
||||
# default 60927
|
||||
SQL_TEXT_BUFFER_SIZE=
|
||||
|
||||
# default false
|
||||
RMI_GET_PARAM=
|
||||
|
||||
# default 1024
|
||||
MONGO_BIND_SIZE=
|
||||
|
||||
# default empty string
|
||||
PLC_MESSAGE=
|
||||
|
||||
# default empty string
|
||||
RUM_MESSAGE=
|
||||
|
||||
# default false
|
||||
USE_NONE_ASYNCKEY_IMXUTS_PACKET=
|
||||
|
||||
# default false
|
||||
SEND_OOM_ALARM_DIRECTLY=
|
||||
|
||||
# default false
|
||||
USE_JAR_LIST=
|
||||
|
||||
# default false
|
||||
USE_TRX_NAME_WHEN_LEAVE=
|
||||
|
||||
# default true
|
||||
DISABLE_WEBID=
|
||||
|
||||
# default true
|
||||
DISABLE_DETAIL_DB_INFO=
|
||||
|
||||
# default false
|
||||
ENABLE_TRACE_JSP_CLASS=
|
||||
|
||||
# default false
|
||||
DISABLE_EXCLUDE_THREAD=
|
||||
|
||||
# default false
|
||||
IMX_RUN_ON_CONTAINER=true
|
||||
|
||||
# default /tmp
|
||||
IMX_WID_PATH=
|
||||
|
||||
# default false
|
||||
DISABLE_OSM=
|
||||
|
||||
# default true
|
||||
ENABLE_RELOAD_ADVICE=
|
||||
|
||||
# default false
|
||||
ENABLE_BATCH_MODE=
|
||||
|
||||
# default 3600
|
||||
RUM_SCRIPT_INJECTION_CLIENT_RESET_SECOND=
|
||||
|
||||
# default -1
|
||||
RUM_SCRIPT_INJECTION_CLIENT_COUNT=
|
||||
|
||||
# default false
|
||||
USE_XRT_HANDLE=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL=
|
||||
|
||||
# default false
|
||||
ENABLE_POOL_NAME_GET_BY_CONN=
|
||||
|
||||
# default false
|
||||
USE_LONG_SQL=
|
||||
|
||||
# default 1,2,3, 1: Environment, 2: InetAddress, 3: Command
|
||||
HOSTNAME_COLLECT_TYPE_PRIORITY=
|
||||
|
||||
# default false
|
||||
DISABLE_CLASS_SOURCE=
|
||||
|
||||
# default false
|
||||
DISABLE_CLASS_META_CACHING=
|
||||
|
||||
# default 0x000000000 eg) RMI,HTML,RESPONSE,CLASS,GC,UDP,TCP,TRACE,DEBUG
|
||||
DEBUG=0x000000000
|
||||
|
||||
495
intermax/23.12.07.02/jspd/cfg/agent/jspd.prop.ini.org
Executable file
495
intermax/23.12.07.02/jspd/cfg/agent/jspd.prop.ini.org
Executable file
@@ -0,0 +1,495 @@
|
||||
# txn name 0:default, 1:parameter, 2:param_nouri, 3:attribute
|
||||
TRX_NAME_TYPE=
|
||||
|
||||
# txn key
|
||||
TRX_NAME_KEY=
|
||||
|
||||
# txn login name 0:default, 1:attribute, 2:cookie
|
||||
TRX_LOGIN_TYPE=
|
||||
|
||||
# txn login key
|
||||
TRX_LOGIN_KEY=
|
||||
|
||||
# default 0sec
|
||||
APP_SLEEP=
|
||||
|
||||
# default 400, max 400
|
||||
ACTIVE_TOP_COUNT=
|
||||
|
||||
# default 0ms
|
||||
ACTIVE_ELAPSE_TIME=
|
||||
|
||||
# ${TXNNAME}:${TXNTIME(ms)},${TXNNAME}:${TXNTIME(ms)}
|
||||
#CURR_TRACE_TXN=*:3000
|
||||
CURR_TRACE_TXN=*:0
|
||||
|
||||
# default 100, 0~100
|
||||
CURR_TRACE_LEVEL=
|
||||
|
||||
# default true
|
||||
TRACE_JDBC=
|
||||
|
||||
# default false
|
||||
TRACE_SIMPLE_METHOD=
|
||||
|
||||
# default false
|
||||
METHOD_DEBUG=
|
||||
|
||||
# eg) gif, js, css, xml, jpg, jpeg, png, ico, woff, woff2
|
||||
EXCLUDE_SERVICE=gif, js, css, xml, jpg, jpeg, png, ico, woff, woff2
|
||||
|
||||
# eg) gif, js, css
|
||||
EXCLUDE_SERVICE_AT_END_TIME=
|
||||
|
||||
# eg) type.Exception
|
||||
INCLUDE_EXCEPTION=
|
||||
|
||||
# eg) type.Exception
|
||||
EXCLUDE_EXCEPTION=weblogic.servlet.jsp.AddToMapException
|
||||
|
||||
# error.jsp
|
||||
REDIRECT_URL=
|
||||
|
||||
# default false
|
||||
RESP_HTML_SCRIPT=
|
||||
|
||||
# default 50ms
|
||||
RESP_HTML_ELAPSE_TIME=
|
||||
|
||||
# eg) .*\.jsp
|
||||
RESP_HTML_SCRIPT_TARGET=.*\.jsp
|
||||
|
||||
# default false
|
||||
RESP_HEADER_TID=
|
||||
|
||||
# default false
|
||||
USE_TRACE_CLIENT_TIME=
|
||||
|
||||
# default empty string
|
||||
TRACE_CLIENT_TIME_POSTFIX=
|
||||
|
||||
# eg) 192.168.0.10:8082
|
||||
TRACE_CLIENT_TIME_ADDR=
|
||||
|
||||
# default true
|
||||
RT_RMI=
|
||||
|
||||
# default ext
|
||||
RT_RMI_VENDOR=
|
||||
|
||||
# default 3: normal, 1: pkey, 2: ckey, 3: pckey
|
||||
RT_RMI_TYPE=
|
||||
|
||||
# default 0ms
|
||||
RT_RMI_ELAPSE_TIME=
|
||||
|
||||
# default 0x00 eg) FILE_OPEN,FILE_CLOSE
|
||||
RT_FILE=
|
||||
|
||||
# default 0x10 eg) SOCKET_OPEN,SOCKET_CLOSE
|
||||
RT_SOCKET=
|
||||
|
||||
# default false
|
||||
USE_MTD_EXT=
|
||||
|
||||
# default false
|
||||
MTD_PARAM_TRACE=
|
||||
|
||||
# default 100000
|
||||
MTD_LIMIT=
|
||||
|
||||
# default 2500
|
||||
MTD_BUFFER_SIZE=
|
||||
|
||||
# default 100
|
||||
MTD_EXCEPTION_BUFFER_SIZE=
|
||||
|
||||
# default 100
|
||||
MTD_STACK_BUFFER_SIZE=
|
||||
|
||||
# default 20
|
||||
LIMIT_SQL=
|
||||
|
||||
# default true
|
||||
USE_SQL_ELLIPSIS=
|
||||
|
||||
# default 2000, max MTD_BUFFER_SIZE
|
||||
TXN_SQL_LIMIT_COUNT=
|
||||
|
||||
# default 0ms
|
||||
SQL_DETAIL_ELAPSE_LIMIT=
|
||||
|
||||
# default 2048, max 8192
|
||||
BIND_SIZE=
|
||||
|
||||
# default 50ms
|
||||
BIND_ELAPSE_TIME=
|
||||
|
||||
# default false
|
||||
TXN_CPU_TIME=
|
||||
|
||||
# default false
|
||||
TXN_MEMORY=
|
||||
|
||||
# default false
|
||||
TXN_CPU_CORE=
|
||||
|
||||
# default 0
|
||||
THROW_TXN_FETCH_COUNT=
|
||||
|
||||
# default 0
|
||||
THROW_SQL_FETCH_COUNT=
|
||||
|
||||
# eg) gif, js, css
|
||||
THROW_EXCLUDE_SERVICE=
|
||||
|
||||
# ${ALERT}:${RESTART}:${LEVEL},${ALERT}:${RESTART}:${LEVEL}
|
||||
LOG_ALERT=1:java.lang.OutOfMemoryError,2:container {0} booted
|
||||
|
||||
# default false
|
||||
USE_SESSIONID_FOR_WEBID=
|
||||
|
||||
# default false
|
||||
ENABLE_WEB_ID_WHEN_NO_USERAGENT=
|
||||
|
||||
# default false
|
||||
USE_RUNTIME_REDEFINE=true
|
||||
|
||||
# default true
|
||||
USE_RUNTIME_REDEFINE_HTTP_REMOTE=
|
||||
|
||||
# default false
|
||||
USE_RUNTIME_REDEFINE_FUTURE_ETOE=
|
||||
|
||||
# default false
|
||||
DISABLE_FUTURE_ETOE_TRACE=
|
||||
|
||||
# default true
|
||||
USE_JMX=
|
||||
|
||||
# default true
|
||||
DISABLE_JDBC_ALARM=
|
||||
|
||||
# default false
|
||||
USE_TRACE_COLLECTION_LEAK=
|
||||
|
||||
# default 1000
|
||||
TRACE_COLLECTION_SIZE=
|
||||
|
||||
# default 10000
|
||||
TRACE_COLLECTION_STACKTRACE_SIZE=
|
||||
|
||||
# default 600000ms(10minutes)
|
||||
TRACE_COLLECTION_REPORT_PERIOD=
|
||||
|
||||
# default 3 (Min 3, Max 99)
|
||||
IMXOSM_CHECK_COUNT=
|
||||
|
||||
# default true
|
||||
USE_NEW_IMXTXN_SQL_PACKET=
|
||||
|
||||
# default 1000ms (Min 500, Max 60000)
|
||||
DG_RECONNECT_DELAY_TIME=
|
||||
|
||||
# default false
|
||||
USE_SQL_SEQ=
|
||||
|
||||
# default false
|
||||
TRACE_FETCH_METHOD=
|
||||
|
||||
# default false
|
||||
TRACE_MONGO_FETCH=
|
||||
|
||||
# eg) replace number patterns [0-9]+
|
||||
REPLACE_URL_PATTERNS=
|
||||
|
||||
# eg) prefix1, prefix2
|
||||
EXCLUDE_TXCODE=
|
||||
|
||||
# eg) thread name pattern (startsWith)
|
||||
EXCLUDE_THREAD=
|
||||
|
||||
# default false
|
||||
USE_ETOE_ONLY=
|
||||
|
||||
# default false
|
||||
DISABLE_ACTIVE_TXN=
|
||||
|
||||
# default false
|
||||
USE_METHOD_LIST=
|
||||
|
||||
# default false
|
||||
USE_METHOD_SEQ=
|
||||
|
||||
# default false
|
||||
TRACE_METHOD_MEMORY=
|
||||
|
||||
# default false
|
||||
TRACE_METHOD_CPUTIME=
|
||||
|
||||
# default true
|
||||
TRACE_DBPOOL_NAME=
|
||||
|
||||
# default false
|
||||
TRACE_THREAD_NAME=
|
||||
|
||||
# default false
|
||||
DISABLE_ROOT_METHOD=
|
||||
|
||||
# default 128
|
||||
MTD_ERROR_LIMIT=
|
||||
|
||||
# default 1(sec)
|
||||
WASID_CHECK_TIMEOUT=
|
||||
|
||||
# default false
|
||||
DISABLE_JDBC_CONNECTION_FAIL=
|
||||
|
||||
# default false
|
||||
TRX_NAME_USE_ENCODING=
|
||||
|
||||
# default ISO-8859-1
|
||||
TRX_NAME_ENCODING_FROM=
|
||||
|
||||
# default UTF-8
|
||||
TRX_NAME_ENCODING_TO=
|
||||
|
||||
# default empty string
|
||||
TRX_IP_KEY=
|
||||
|
||||
# txn error 0: default, 1: response(500), 2: response(400)
|
||||
TRX_ERR_TYPE=
|
||||
|
||||
# default empty string
|
||||
TRX_ERR_STATUS=
|
||||
|
||||
# 0: none(default), 1: error thread dump, 2: all thread dump
|
||||
TRX_ERR_STATUS_TYPE=
|
||||
|
||||
# default 0
|
||||
TXN_ELAPSE_TIME=
|
||||
|
||||
# default 0
|
||||
MTD_ELAPSE_TIME=
|
||||
|
||||
# default false
|
||||
INCLUDE_EXCEPTION_FOR_ALARM=
|
||||
|
||||
# default false
|
||||
CONVERT_SQL_ASCII_TO_KSC5601=
|
||||
|
||||
# default null
|
||||
CONVERT_SQL_ASCII_TO=
|
||||
|
||||
# default null
|
||||
CONVERT_SQL_TEXT_ENCODING_FROM=
|
||||
|
||||
# default null
|
||||
CONVERT_SQL_TEXT_ENCODING_TO=
|
||||
|
||||
# default false
|
||||
ENABLE_UPDATE_WEBID_COOKIE_TIME=
|
||||
|
||||
# default 0
|
||||
TXN_NAME_SET_INDEX=
|
||||
|
||||
# default 0
|
||||
TXN_NAME_SET_INDEX2=
|
||||
|
||||
# default 0
|
||||
TXN_NAME_APPEND_INDEX=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_SID=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_SID_ORACLE=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_SID_DB2=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_SID_MSSQL=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_SID_TIBERO=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_FETCH=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL_BIND=
|
||||
|
||||
# default false
|
||||
ENABLE_ENCRYPT_SQL_BIND=
|
||||
|
||||
# default false
|
||||
ENABLE_ENCRYPT_LOGIN_NAME=
|
||||
|
||||
# default 0
|
||||
TYPE_AUTOMATIC_WASID=
|
||||
|
||||
# default empty string
|
||||
K8S_URL_KEY=
|
||||
|
||||
# default empty string
|
||||
AUTOWASID_DG_KEY=
|
||||
|
||||
# default 2 (Min 2, Max 10)
|
||||
THREAD_DUMP_MAX_SIZE=
|
||||
|
||||
# default log eg) log or AbsolutePath
|
||||
LOG_PATH=
|
||||
|
||||
# default -1 (Min 2)
|
||||
LOG_MAX_COUNT=
|
||||
|
||||
# default empty string
|
||||
LOGGER_IP=
|
||||
|
||||
# default 10010
|
||||
LOGGER_PORT=
|
||||
|
||||
# default 0 (Min 0, Max 100)
|
||||
LOG_ARCHIVE_DAYS=
|
||||
|
||||
# default 2 (Min 0, Max 10)
|
||||
LOG_FILE_COUNT=
|
||||
|
||||
# default 10 (Min 0, Max 10)
|
||||
LOG_FILE_SIZE=
|
||||
|
||||
# default false
|
||||
GET_SID_WHEN_STMT=
|
||||
|
||||
# default 600000ms(10minutes)
|
||||
GET_SID_WHEN_STMT_LIMIT=
|
||||
|
||||
# default false
|
||||
CHANGE_DB2_SID_QUERY=
|
||||
|
||||
# default false
|
||||
COMPRESS_SQL=
|
||||
|
||||
# default false
|
||||
USE_ORACLE_RAC=
|
||||
|
||||
# default false
|
||||
USE_TIBERO_TAC=
|
||||
|
||||
# deprecated. default false
|
||||
USE_TRACE_ORACLE=
|
||||
|
||||
# default false
|
||||
USE_TRACE_ORACLE2=
|
||||
|
||||
# default false
|
||||
USE_TRACE_POSTGRES=
|
||||
|
||||
# default false
|
||||
USE_TRACE_ORACLE2_CLEAR_PING=
|
||||
|
||||
# default false
|
||||
USE_TRACE_ORACLE3=
|
||||
|
||||
# default false
|
||||
USE_TRACE_DB2=
|
||||
|
||||
# default false
|
||||
USE_TRACE_MSSQL=
|
||||
|
||||
# default false
|
||||
USE_TRACE_TIBERO=
|
||||
|
||||
# default false
|
||||
USE_TRACE_TIBERO3=
|
||||
|
||||
# default 200
|
||||
CONNECTION_CLASS_LIMIT=
|
||||
|
||||
# default 2000
|
||||
CONNECTION_LIMIT=
|
||||
|
||||
# default 60927
|
||||
SQL_TEXT_BUFFER_SIZE=
|
||||
|
||||
# default false
|
||||
RMI_GET_PARAM=
|
||||
|
||||
# default 1024
|
||||
MONGO_BIND_SIZE=
|
||||
|
||||
# default empty string
|
||||
PLC_MESSAGE=
|
||||
|
||||
# default empty string
|
||||
RUM_MESSAGE=
|
||||
|
||||
# default false
|
||||
USE_NONE_ASYNCKEY_IMXUTS_PACKET=
|
||||
|
||||
# default false
|
||||
SEND_OOM_ALARM_DIRECTLY=
|
||||
|
||||
# default false
|
||||
USE_JAR_LIST=
|
||||
|
||||
# default false
|
||||
USE_TRX_NAME_WHEN_LEAVE=
|
||||
|
||||
# default true
|
||||
DISABLE_WEBID=
|
||||
|
||||
# default true
|
||||
DISABLE_DETAIL_DB_INFO=
|
||||
|
||||
# default false
|
||||
ENABLE_TRACE_JSP_CLASS=
|
||||
|
||||
# default false
|
||||
DISABLE_EXCLUDE_THREAD=
|
||||
|
||||
# default false
|
||||
IMX_RUN_ON_CONTAINER=
|
||||
|
||||
# default /tmp
|
||||
IMX_WID_PATH=
|
||||
|
||||
# default false
|
||||
DISABLE_OSM=
|
||||
|
||||
# default true
|
||||
ENABLE_RELOAD_ADVICE=
|
||||
|
||||
# default false
|
||||
ENABLE_BATCH_MODE=
|
||||
|
||||
# default 3600
|
||||
RUM_SCRIPT_INJECTION_CLIENT_RESET_SECOND=
|
||||
|
||||
# default -1
|
||||
RUM_SCRIPT_INJECTION_CLIENT_COUNT=
|
||||
|
||||
# default false
|
||||
USE_XRT_HANDLE=
|
||||
|
||||
# default false
|
||||
DISABLE_SQL=
|
||||
|
||||
# default false
|
||||
ENABLE_POOL_NAME_GET_BY_CONN=
|
||||
|
||||
# default false
|
||||
USE_LONG_SQL=
|
||||
|
||||
# default 1,2,3, 1: Environment, 2: InetAddress, 3: Command
|
||||
HOSTNAME_COLLECT_TYPE_PRIORITY=
|
||||
|
||||
# default false
|
||||
DISABLE_CLASS_SOURCE=
|
||||
|
||||
# default false
|
||||
DISABLE_CLASS_META_CACHING=
|
||||
|
||||
# default 0x000000000 eg) RMI,HTML,RESPONSE,CLASS,GC,UDP,TCP,TRACE,DEBUG
|
||||
DEBUG=0x000000000
|
||||
0
intermax/23.12.07.02/jspd/cfg/jspd.auto.regist.json
Executable file
0
intermax/23.12.07.02/jspd/cfg/jspd.auto.regist.json
Executable file
1
intermax/23.12.07.02/jspd/cfg/jspd.file.history
Executable file
1
intermax/23.12.07.02/jspd/cfg/jspd.file.history
Executable file
@@ -0,0 +1 @@
|
||||
#D:\dump1.txt
|
||||
45
intermax/23.12.07.02/jspd/cfg/jspd.jdbc.advice
Executable file
45
intermax/23.12.07.02/jspd/cfg/jspd.jdbc.advice
Executable file
@@ -0,0 +1,45 @@
|
||||
poolClose@com.exem.weave.sql.XmPoolClose
|
||||
ibatisClose@com.exem.weave.sql.XmIbatisClose
|
||||
#jdbc@com.exem.weave.sql.XmJdbc
|
||||
|
||||
########## POOL ##########
|
||||
|
||||
poolClose=weblogic/jdbc/rmi/SerialConnection.close()V
|
||||
poolClose=weblogic/jdbc/wrapper/JTAConnection.close()V
|
||||
poolClose=weblogic/jdbc/wrapper/JTSConnection.close()V
|
||||
poolClose=weblogic/jdbc/wrapper/PoolConnection.close()V
|
||||
|
||||
ibatisClose=com/ibatis/common/jdbc/SimpleDataSource.pushConnection(Lcom/ibatis/common/jdbc/SimpleDataSource$SimplePooledConnection;)V
|
||||
|
||||
########## JDBC ##########
|
||||
|
||||
### db2jcc ###
|
||||
### Note: Enable both options ###
|
||||
jdbc=DRIVER:com/ibm/db2/jcc/DB2Driver,XADATASOURCE:com/ibm/db2/jcc/DB2XADataSource,POOLDATASOURCE:com/ibm/db2/jcc/DB2ConnectionPoolDataSource,CONNECTION:com/ibm/db2/jcc/conn,CALLABLE:com/ibm/db2/jcc/cstmt,PREPARE:com/ibm/db2/jcc/pstmt,STATEMENT:com/ibm/db2/jcc/stmt,RESULTSET:com/ibm/db2/jcc/resultset
|
||||
jdbc=DRIVER:com/ibm/db2/jcc/DB2Driver,POOLDATASOURCE:com/ibm/db2/jcc/DB2ConnectionPoolDataSource,CONNECTION:com/ibm/db2/jcc/am/Connection,PREPARE:com/ibm/db2/jcc/am/jo,STATEMENT:com/ibm/db2/jcc/am/io,RESULTSET:com/ibm/db2/jcc/am/ResultSet
|
||||
|
||||
### jtds-1.2 ###
|
||||
#jdbc=DRIVER:net/sourceforge/jtds/jdbc/Driver,POOLDATASOURCE:net/sourceforge/jtds/jdbcx/JtdsDataSource,CONNECTION:net/sourceforge/jtds/jdbc/ConnectionJDBC2,CALLABLE:net/sourceforge/jtds/jdbc/JtdsCallableStatement,PREPARE:net/sourceforge/jtds/jdbc/JtdsPreparedStatement,STATEMENT:net/sourceforge/jtds/jdbc/JtdsStatement,RESULTSET:net/sourceforge/jtds/jdbc/JtdsResultSet,NEXT:true
|
||||
|
||||
### edb-jdbc15 ###
|
||||
#jdbc=DRIVER:com/edb/Driver,POOLDATASOURCE:com/edb/ds/jdbc23/AbstractJdbc23ConnectionPoolDataSource,CONNECTION:com/edb/jdbc2/AbstractJdbc2Connection,CALLABLE:com/edb/jdbc2/AbstractJdbc2Statement,PREPARE:com/edb/jdbc2/AbstractJdbc2Statement,STATEMENT:com/edb/jdbc2/AbstractJdbc2Statement,RESULTSET:com/edb/jdbc2/AbstractJdbc2ResultSet,NEXT:true
|
||||
|
||||
### edb-jdbc16, edb-jdbc17 ###
|
||||
#jdbc=DRIVER:com/edb/Driver,POOLDATASOURCE:com/edb/ds/PGConnectionPoolDataSource,CONNECTION:com/edb/jdbc/PgConnection,CALLABLE:com/edb/jdbc/PgCallableStatement,PREPARE:com/edb/jdbc/PgPreparedStatement,STATEMENT:com/edb/jdbc/PgStatement,RESULTSET:com/edb/jdbc/PgResultSet,NEXT:true
|
||||
|
||||
### another edb-jdbc16 ###
|
||||
#jdbc=DRIVER:com/edb/Driver,POOLDATASOURCE:com/edb/ds/jdbc4/AbstractJdbc4ConnectionPoolDataSource,CONNECTION:com/edb/jdbc4/Jdbc4Connection,CALLABLE:com/edb/jdbc2/AbstractJdbc2Statement,PREPARE:com/edb/jdbc2/AbstractJdbc2Statement,STATEMENT:com/edb/jdbc2/AbstractJdbc2Statement,RESULTSET:com/edb/jdbc2/AbstractJdbc2ResultSet,NEXT:true
|
||||
|
||||
### postgresql-42.2.5 ###
|
||||
jdbc=DRIVER:org/postgresql/Driver,POOLDATASOURCE:org/postgresql/ds/PGConnectionPoolDataSource,CONNECTION:org/postgresql/jdbc/PgConnection,CALLABLE:org/postgresql/jdbc/PgCallableStatement,PREPARE:org/postgresql/jdbc/PgPreparedStatement,STATEMENT:org/postgresql/jdbc/PgStatement,RESULTSET:org/postgresql/jdbc/PgResultSet,NEXT:true
|
||||
|
||||
### mariadb-2.3.3 ###
|
||||
### Note: Enable both options ###
|
||||
#jdbc=DRIVER:org/mariadb/jdbc/Driver,POOLDATASOURCE:org/mariadb/jdbc/MariaDbDataSource,CONNECTION:org/mariadb/jdbc/MariaDbConnection,CALLABLE:org/mariadb/jdbc/BasePrepareStatement,PREPARE:org/mariadb/jdbc/ClientSidePreparedStatement,STATEMENT:org/mariadb/jdbc/MariaDbStatement,RESULTSET:org/mariadb/jdbc/internal/com/read/resultset/SelectResultSet,NEXT:true
|
||||
#jdbc=DRIVER:org/mariadb/jdbc/Driver,POOLDATASOURCE:org/mariadb/jdbc/MariaDbDataSource,CONNECTION:org/mariadb/jdbc/MariaDbConnection,CALLABLE:org/mariadb/jdbc/MariaDbPreparedStatementClient,PREPARE:org/mariadb/jdbc/MariaDbPreparedStatementClient,STATEMENT:org/mariadb/jdbc/MariaDbStatement,RESULTSET:org/mariadb/jdbc/internal/com/read/resultset/SelectResultSet,NEXT:true
|
||||
|
||||
### mysql-connector-java-8.0.15 ###
|
||||
#jdbc=DRIVER:com/mysql/cj/jdbc/NonRegisteringDriver,POOLDATASOURCE:com/mysql/cj/jdbc/MysqlDataSource,CONNECTION:com/mysql/cj/jdbc/ConnectionImpl,CALLABLE:com/mysql/cj/jdbc/CallableStatement,PREPARE:com/mysql/cj/jdbc/ClientPreparedStatement,STATEMENT:com/mysql/cj/jdbc/StatementImpl,RESULTSET:com/mysql/cj/jdbc/result/ResultSetImpl,NEXT:true
|
||||
|
||||
### cubrid-10.1.3 ###
|
||||
#jdbc=DRIVER:cubrid/jdbc/driver/CUBRIDDriver,POOLDATASOURCE:cubrid/jdbc/driver/CUBRIDDataSource,CONNECTION:cubrid/jdbc/driver/CUBRIDConnection,CALLABLE:cubrid/jdbc/driver/CUBRIDPreparedStatement,PREPARE:cubrid/jdbc/driver/CUBRIDPreparedStatement,STATEMENT:cubrid/jdbc/driver/CUBRIDStatement,RESULTSET:cubrid/jdbc/driver/CUBRIDResultSet,NEXT:true
|
||||
14
intermax/23.12.07.02/jspd/cfg/jspd.local.advice
Executable file
14
intermax/23.12.07.02/jspd/cfg/jspd.local.advice
Executable file
@@ -0,0 +1,14 @@
|
||||
|
||||
### 작성방법
|
||||
# 패키지 및 클래스 구분자는 slash(/)이며 클래스와 메소드는 dot(.)으로 구분한다.
|
||||
# 강제포함, 제외, 포함 순으로 높은 우선순위를 갖는다.
|
||||
# 강제포함은 exclamation mark(!), 제외는 dash(-)를 접두사로 붙여 표기한다.
|
||||
# 와일드카드 문자(*)를 포함해 startWith, endWith 연산을 수행할 수 있다.
|
||||
# 로드된 전체 클래스를 대상으로한 설정은 안정성 문제로 인해 동적 적용되지 않는다.
|
||||
|
||||
### 작성예시
|
||||
# com/inzent.*
|
||||
# -com/inzent/igate.*
|
||||
# !com/inzent/igate/util.*
|
||||
|
||||
!javax/servlet/http/HttpServlet.*
|
||||
47
intermax/23.12.07.02/jspd/cfg/jspd.local.advice.all
Executable file
47
intermax/23.12.07.02/jspd/cfg/jspd.local.advice.all
Executable file
@@ -0,0 +1,47 @@
|
||||
#com/inzent.*
|
||||
#-com/inzent/igate.*
|
||||
#!com/inzent/igate/util.*
|
||||
*.*
|
||||
#!javax/servlet/http/HttpServlet.*
|
||||
|
||||
-*log4j.*
|
||||
-*logging.*
|
||||
-*Loader
|
||||
|
||||
-AOPProxy$
|
||||
-$Proxy*
|
||||
-account/*
|
||||
-antlr/*
|
||||
-bsh/*
|
||||
-com/*
|
||||
-COM/*
|
||||
-compressionFilters/*
|
||||
-EDU/*
|
||||
-examples/*
|
||||
-external/*
|
||||
-filters/*
|
||||
-gnu/*
|
||||
-hello/*
|
||||
-javassist/*
|
||||
-javelin/*
|
||||
-jboss/*
|
||||
-jennifer/*
|
||||
-jeus/*
|
||||
-jrun/*
|
||||
-jrunx/*
|
||||
-kodo/*
|
||||
-gateway/*
|
||||
-gateway2/*
|
||||
-listeners/*
|
||||
-net/*
|
||||
-netscape/*
|
||||
-oracle/*
|
||||
-org/*
|
||||
-schemacom_bea_xml/*
|
||||
-signgate/*
|
||||
-tmax/*webt/*
|
||||
-weblogic/*
|
||||
-wlstLibSample$
|
||||
-workshop
|
||||
-ch/*qos/*logback/*
|
||||
-elsoft/*
|
||||
66
intermax/23.12.07.02/jspd/cfg/jspd.method.list
Executable file
66
intermax/23.12.07.02/jspd/cfg/jspd.method.list
Executable file
@@ -0,0 +1,66 @@
|
||||
#include
|
||||
*
|
||||
|
||||
#exclude
|
||||
-javax/*
|
||||
-java/*
|
||||
-jrockit/*
|
||||
-jdk/*
|
||||
-com/exem/*
|
||||
-org/bsp/*
|
||||
-sun/*
|
||||
-com/sun/*
|
||||
-ibm/*
|
||||
-com/ibm/*
|
||||
-org/apache/*
|
||||
-org/springframework/*
|
||||
-com/google/*
|
||||
|
||||
-*.toString()Ljava/lang/String;
|
||||
-*.equals(Ljava/lang/Object;)Z
|
||||
-*.hashCode()I
|
||||
-*.<clinit>()V
|
||||
-*.<init>()V
|
||||
-*.clone()Ljava/lang/Object;
|
||||
-*.finalize()V
|
||||
-*.wait(J)V
|
||||
-*.wait(JI)V
|
||||
-*$*
|
||||
-*_aroundBody*
|
||||
-*__WL_*
|
||||
|
||||
-*log4j*
|
||||
-*logging*
|
||||
-*Loader
|
||||
-AOPProxy$*
|
||||
-$Proxy*
|
||||
-account/*
|
||||
-antlr/*
|
||||
-bsh/*
|
||||
-compressionFilters/*
|
||||
-examples/*
|
||||
-external/*
|
||||
-filters/*
|
||||
-gnu/*
|
||||
-hello/*
|
||||
-javassist/*
|
||||
-javelin/*
|
||||
-jboss/*
|
||||
-jrun/*
|
||||
-jrunx/*
|
||||
-kodo/*
|
||||
-gateway/*
|
||||
-gateway2/*
|
||||
-listeners/*
|
||||
-netscape/*
|
||||
-oracle/*
|
||||
-schemacom_bea_xml/*
|
||||
-signgate/*
|
||||
-weblogic/*
|
||||
-wlstLibSample$*
|
||||
-workshop*
|
||||
-ch/qos/logback/*
|
||||
-elsoft/*
|
||||
-org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy.*
|
||||
|
||||
#forceInclude
|
||||
62
intermax/23.12.07.02/jspd/cfg/jspd.other.advice
Executable file
62
intermax/23.12.07.02/jspd/cfg/jspd.other.advice
Executable file
@@ -0,0 +1,62 @@
|
||||
txnProFrameV1@com.exem.weave.servlet.XmTxnProFrameV1
|
||||
txnNICSV1@com.exem.weave.servlet.XmTxnNICSV1
|
||||
txnTITV1@com.exem.weave.servlet.XmTxnTITV1
|
||||
#txnProFrameV3@com.exem.weave.servlet.XmTxnProFrameV3
|
||||
|
||||
jspWrite@com.exem.weave.servlet.XmJspWrite
|
||||
jspWriteA@com.exem.weave.servlet.XmJspWriteA
|
||||
jspWriteB@com.exem.weave.servlet.XmJspWriteB
|
||||
jspWriteC@com.exem.weave.servlet.XmJspWriteC
|
||||
|
||||
logRecord@com.exem.weave.io.XmLogRecord
|
||||
|
||||
servletThrowable@com.exem.weave.io.XmServletThrowable
|
||||
|
||||
temp@com.exem.weave.temp.XmTemp
|
||||
|
||||
txnProFrameV1=com/tmax/proframe/object/CommonBufferImpl.setSystemHeader(Lcom/tmax/proframe/object/SystemHeader;)V
|
||||
|
||||
txnNICSV1=com/tmax/proframe/object/SystemHeader.setPfmTxCode(Ljava/lang/String;)V
|
||||
|
||||
txnTITV1=tit/service/miplatform/MiplatformBusinessContext.getInputDataset(Ljava/lang/String;)Lcom/tobesoft/platform/data/Dataset;
|
||||
|
||||
#txnProFrameV3=proframe/core/context/ProFrameContext.getProFrameHeaderInstance()Lproframe/cto/ProFrameHeader;
|
||||
|
||||
jspWrite=jeus/servlet/jsp/JspWriterImpl.write(Ljava/lang/String;)V
|
||||
jspWrite=jeus/servlet/jsp2/runtime/JspWriterImpl.write(Ljava/lang/String;)V
|
||||
jspWrite=weblogic/servlet/jsp/JspWriterImpl.print(Ljava/lang/String;)V
|
||||
|
||||
jspWriteA=weblogic/servlet/jsp/JspWriterImpl.write([BLjava/lang/String;)V
|
||||
jspWriteB=org/apache/jasper/runtime/JspWriterImpl.write(Ljava/lang/String;II)V
|
||||
jspWriteC=org/apache/jasper/runtime/JspWriterImpl.write([CII)V
|
||||
|
||||
logRecord=jeus/util/logging/JeusLogRecord.<init>(Ljava/util/logging/Level;Ljava/lang/String;)V
|
||||
|
||||
servletThrowable=javax/servlet/ServletException.getRootCause()Ljava/lang/Throwable;
|
||||
|
||||
#XmTxnKepco@com.exem.weave.servlet.XmTxnKepco
|
||||
#XmTxnKepco=
|
||||
#getName(String txnName, Object[] obj)
|
||||
|
||||
#XmSetTxnName@com.exem.weave.tx.XmSetTxnName
|
||||
#XmSetTxnName=
|
||||
#TXN_NAME_SET_INDEX=1~n
|
||||
#getName(XmHttpRequest req, Object obj)
|
||||
|
||||
#XmSetTxnName2@com.exem.weave.tx.XmSetTxnName2
|
||||
#XmSetTxnName2=
|
||||
#TXN_NAME_SET_INDEX2=1~n
|
||||
|
||||
#XmSetTxnNameRet@com.exem.weave.tx.XmSetTxnNameRet
|
||||
#XmSetTxnNameRet=
|
||||
#getName(XmHttpRequest req, Object obj)
|
||||
|
||||
#XmSetTxnNameRet2@com.exem.weave.tx.XmSetTxnNameRet2
|
||||
#XmSetTxnNameRet2=
|
||||
|
||||
#XmAppendTxnName@com.exem.weave.tx.XmAppendTxnName
|
||||
#XmAppendTxnName=
|
||||
#TXN_NAME_APPEND_INDEX=1~n
|
||||
|
||||
#XmAppendTxnNameRet@com.exem.weave.tx.XmAppendTxnNameRet
|
||||
#XmAppendTxnNameRet=
|
||||
0
intermax/23.12.07.02/jspd/cfg/jspd.param.runtime
Executable file
0
intermax/23.12.07.02/jspd/cfg/jspd.param.runtime
Executable file
23
intermax/23.12.07.02/jspd/cfg/jspd.plc.list
Executable file
23
intermax/23.12.07.02/jspd/cfg/jspd.plc.list
Executable file
@@ -0,0 +1,23 @@
|
||||
########################################### PLC 기능 ###########################################
|
||||
|
||||
### 작성방법
|
||||
# [숫자] : 제어 기준 수치(기준 트랜잭션수)
|
||||
# 접두사 ^(caret) : 차단할 트랜잭션명
|
||||
# 접두사 .*(dot asterisk) : 와일드 카드
|
||||
# 제어 기준은 여러 개를 입력할 수 있으며, 그 기준은 이 파일의 위에서 아래순으로 우선 적용된다.
|
||||
|
||||
### 작성예시
|
||||
# [200]
|
||||
# ^.*/select
|
||||
#
|
||||
# [100]
|
||||
# ^.*oracle/select
|
||||
# .*postgres/select
|
||||
#
|
||||
# [50]
|
||||
# ^.*postgres/select
|
||||
#
|
||||
# 액티브 트랜잭션 수가 200 이상이면 /select로 끝나는 모든 트랜잭션을 차단한다.
|
||||
# 액티브 트랜잭션 수가 100 이상이면 oracle/select로 끝나는 모든 트랜잭션을 차단한다.
|
||||
# 액티브 트랜잭션 수가 100 이상이면 postgres/select로 끝나는 트랜잭션은 허용한다.
|
||||
# 액티브 트랜잭션 수가 50 이상이면 postgres/select로 끝나는 모든 트랜잭션을 차단한다.
|
||||
75
intermax/23.12.07.02/jspd/cfg/jspd.x.advice
Executable file
75
intermax/23.12.07.02/jspd/cfg/jspd.x.advice
Executable file
@@ -0,0 +1,75 @@
|
||||
appService@com.exem.weave.servlet.XmAPPService
|
||||
httpCall@com.exem.weave.io.XmHttpCall
|
||||
httpCallHeader@com.exem.weave.io.XmHttpCallHeader
|
||||
httpRequest@com.exem.weave.io.XmHttpRequest
|
||||
xCall@com.exem.weave.io.XmXCall
|
||||
xInbound@com.exem.weave.io.XmXInbound
|
||||
xOutbound@com.exem.weave.io.XmXOutbound
|
||||
xReply@com.exem.weave.io.XmXReply
|
||||
service@com.exem.weave.servlet.XmService
|
||||
|
||||
########## APPLICATION ##########
|
||||
#appService=
|
||||
|
||||
#websphere 8.5 browser response time
|
||||
#service=com/ibm/ws/webcontainer/filter/WebAppFilterManager.invokeFilters(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/wsspi/webcontainer/servlet/IServletContext;Lcom/ibm/wsspi/webcontainer/RequestProcessor;Ljava/util/EnumSet;)Z
|
||||
|
||||
## Spring Cloud Gateway ##
|
||||
#appService=org/springframework/cloud/gateway/filter/NettyRoutingFilter.filter(Lorg/springframework/web/server/ServerWebExchange;Lorg/springframework/cloud/gateway/filter/GatewayFilterChain;)Lreactor/core/publisher/Mono;
|
||||
|
||||
########## HTTP ##########
|
||||
httpCall=weblogic/net/http/HttpClient.parseHTTP(Lweblogic/net/http/MessageHeader;)V
|
||||
httpRequest=weblogic/net/http/HttpURLConnection.writeRequests()V
|
||||
httpCall=org/apache/commons/httpclient/HttpClient.executeMethod(Lorg/apache/commons/httpclient/HostConfiguration;Lorg/apache/commons/httpclient/HttpMethod;Lorg/apache/commons/httpclient/HttpState;)I
|
||||
httpCall=org/apache/http/impl/client/InternalHttpClient.doExecute(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
|
||||
httpCall=org/apache/http/impl/client/MinimalHttpClient.doExecute(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
|
||||
httpCall=org/apache/commons/httpclient/HttpMethodBase.execute(Lorg/apache/commons/httpclient/HttpState;Lorg/apache/commons/httpclient/HttpConnection;)I
|
||||
|
||||
## soap ##
|
||||
httpCall=org/apache/soap/util/net/HTTPUtils.post(Ljava/net/URL;Lorg/apache/soap/transport/TransportMessage;ILjava/lang/String;II)Lorg/apache/soap/transport/TransportMessage;
|
||||
## soap-2.3.jar higher ##
|
||||
#httpCall=org/apache/soap/util/net/HTTPUtils.post(Ljava/net/URL;Lorg/apache/soap/transport/TransportMessage;ILjava/lang/String;IILjava/lang/Boolean;)Lorg/apache/soap/transport/TransportMessage;
|
||||
## apache axis ##
|
||||
httpCall=org/apache/axis/client/Call.setRequestMessage(Lorg/apache/axis/Message;)V
|
||||
## reactor netty / jetty (webflux) ##
|
||||
httpCall=reactor/netty/http/client/HttpClientConnect.connect()Lreactor/core/publisher/Mono;
|
||||
httpCall=org/eclipse/jetty/client/HttpRequest.send(Lorg/eclipse/jetty/client/api/Response$CompleteListener;)V
|
||||
## Spring AsyncRestTemplate ##
|
||||
httpCall=org/springframework/web/client/AsyncRestTemplate$AsyncRequestCallbackAdapter.doWithRequest(Lorg/springframework/http/client/AsyncClientHttpRequest;)V
|
||||
## apache httpasyncclient ##
|
||||
httpCall=org/apache/http/impl/nio/client/CloseableHttpAsyncClient.execute(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/protocol/HttpContext;Lorg/apache/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future;
|
||||
httpCall=org/apache/http/impl/nio/client/CloseableHttpAsyncClient.execute(Lorg/apache/http/nio/protocol/HttpAsyncRequestProducer;Lorg/apache/http/nio/protocol/HttpAsyncResponseConsumer;Lorg/apache/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future;
|
||||
## okhttp ##
|
||||
httpCallHeader=okhttp3/Request$Builder.build()Lokhttp3/Request;
|
||||
httpCall=okhttp3/RealCall.execute()Lokhttp3/Response;
|
||||
httpCall=okhttp3/RealCall.enqueue(Lokhttp3/Callback;)V
|
||||
## spring cloud zuul (restclient) ##
|
||||
httpCallHeader=com/netflix/client/http/HttpRequest$Builder.build()Lcom/netflix/client/http/HttpRequest;
|
||||
httpCall=org/apache/http/impl/client/AbstractHttpClient.doExecute(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
|
||||
|
||||
########## TMAX ##########
|
||||
xCall=tmax/webt/WebtRemoteService.tpcall(Ljava/lang/String;Ltmax/webt/WebtBuffer;Ltmax/webt/WebtAttribute;)Ltmax/webt/WebtBuffer;
|
||||
xCall=tmax/webt/WebtRemoteService.tpacall(Ljava/lang/String;Ltmax/webt/WebtBuffer;Ltmax/webt/WebtAttribute;Ltmax/webt/WebtMessageHandler;)I
|
||||
#xOutbound=tmax/webt/io/WebtOutputStream.getSerializedPacket(Ltmax/webt/WebtBuffer;)[B
|
||||
#xReply=tmax/webt/WebtRemoteService.tpgetrply(ILtmax/webt/WebtAttribute;)Ltmax/webt/WebtBuffer;
|
||||
|
||||
########## TUXEDO ##########
|
||||
xCall=weblogic/wtc/gwt/TuxedoConnection.tpcall(Ljava/lang/String;Lweblogic/wtc/jatmi/TypedBuffer;I)Lweblogic/wtc/jatmi/Reply;
|
||||
xCall=weblogic/wtc/gwt/TuxedoConnection.tpacall(Ljava/lang/String;Lweblogic/wtc/jatmi/TypedBuffer;ILweblogic/wtc/jatmi/TpacallAsyncReply;)Lweblogic/wtc/jatmi/CallDescriptor;
|
||||
#xOutbound=weblogic/wtc/jatmi/TuxedoArrayOutputStream.getByteArrayReference()[B
|
||||
#xReply=weblogic/wtc/gwt/TuxedoConnection.tpgetrply(Lweblogic/wtc/jatmi/CallDescriptor;I)Lweblogic/wtc/jatmi/Reply;
|
||||
|
||||
########## SAP ##########
|
||||
xCall=com/sap/conn/jco/rt/AbapFunction.execute(Lcom/sap/conn/jco/JCoDestination;)V
|
||||
xCall=com/sap/conn/jco/rt/AbapFunction.execute(Lcom/sap/conn/jco/JCoDestination;Ljava/lang/String;)V
|
||||
xCall=com/sap/conn/jco/rt/AbapFunction.execute(Lcom/sap/conn/jco/JCoDestination;Ljava/lang/String;Ljava/lang/String;)V
|
||||
#xOutbound=com/sap/conn/rfc/driver/CpicDriver.write([BIZ)I
|
||||
#xReply=com/sap/conn/rfc/engine/RfcIoOpenCntl.RfcReceive([Lcom/sap/conn/rfc/api/IRfcParameter;[Lcom/sap/conn/rfc/api/IRfcParameter;[Lcom/sap/conn/rfc/api/IRfcTable;Lcom/sap/conn/jco/JCoRepository;)V
|
||||
|
||||
########## Kafka ##########
|
||||
kafkaProduce@com.exem.weave.io.XmKafkaProduce
|
||||
kafkaProduce=org/apache/kafka/clients/producer/KafkaProducer.doSend(Lorg/apache/kafka/clients/producer/ProducerRecord;Lorg/apache/kafka/clients/producer/Callback;)Ljava/util/concurrent/Future;
|
||||
|
||||
########## RabbitMQ ##########
|
||||
rabbitMQPublish@com.exem.weave.io.XmRabbitMQPublish
|
||||
rabbitMQPublish=com/rabbitmq/client/impl/AMQChannel.transmit(Lcom/rabbitmq/client/impl/AMQCommand;)V
|
||||
63
intermax/23.12.07.02/jspd/cfg/jspd.x.advice.sample
Executable file
63
intermax/23.12.07.02/jspd/cfg/jspd.x.advice.sample
Executable file
@@ -0,0 +1,63 @@
|
||||
appService@com.exem.weave.servlet.XmAPPService
|
||||
httpCall@com.exem.weave.io.XmHttpCall
|
||||
httpRequest@com.exem.weave.io.XmHttpRequest
|
||||
xCall@com.exem.weave.io.XmXCall
|
||||
xOutbound@com.exem.weave.io.XmXOutbound
|
||||
xInbound@com.exem.weave.io.XmXInbound
|
||||
xReply@com.exem.weave.io.XmXReply
|
||||
#httpURL@com.exem.weave.io.XmHttpURL
|
||||
#txnKBank@com.exem.weave.tx.XmSetTxnName
|
||||
|
||||
########## APPLICATION ##########
|
||||
#appService=
|
||||
|
||||
########## IGATE MCI ############
|
||||
#appService=com/inzent/igate/service/activity/ActService.executeService(Lcom/inzent/igate/message/Record;Lcom/inzent/igate/repository/meta/Service;Lcom/inzent/igate/message/Record;Lorg/apache/commons/logging/Log;)Lcom/inzent/igate/message/Record;
|
||||
#httpURL=com/inzent/igate/session/http/thin/HttpClientSession.getRequestURI(Lcom/inzent/igate/adapter/AdapterParameter;)Ljava/lang/String;
|
||||
#HttpCall=com/inzent/igate/session/http/thin/HttpSession.writeHeader(Ljava/util/Map;)V
|
||||
|
||||
########## Bankware CORE ##########
|
||||
#txnKBank=kbank/extention/service/endpoint/HttpServiceEndpoint.loadParameters(Lbxm/request/ResolvedRequest;Lkbank/extention/context/impl/KbankInstitutionParameters;Lkbank/extention/context/impl/KbankCachedControlParameters;Lkbank/extention/service/trace/KbankServiceMessageTrace;)V
|
||||
|
||||
########## TIBCO BW EAI ###########
|
||||
#appService=com/tibco/plugin/share/http/client/JakartaHttpTransportDriver$RequestExecutor.run()V
|
||||
#appService=com/tibco/plugin/tcp/TCPReadActivity.eval(Lcom/tibco/pe/plugin/ProcessContext;Lcom/tibco/xml/datamodel/XiNode;)Lcom/tibco/xml/datamodel/XiNode;
|
||||
#appService=com/tibco/plugin/tcp/TCPWriteActivity.eval(Lcom/tibco/pe/plugin/ProcessContext;Lcom/tibco/xml/datamodel/XiNode;)Lcom/tibco/xml/datamodel/XiNode;
|
||||
#xCall=com/tibco/bw/service/binding/bwhttp/impl/HttpTransportApplication.a(Lcom/tibco/xml/soap/api/transport/TransportMessage;Lcom/tibco/bw/service/config/ec/OperationConfiguration;Lcom/tibco/plugin/share/siapiplugin/bw/BwPort;Lcom/tibco/plugin/share/security/context/SecurityContext;)V
|
||||
#xOutbound=com/tibco/xml/soap/impl/transport/DefaultTransportEntity.setContent([B)V
|
||||
#xInbound=com/tibco/xml/soap/impl/transport/DefaultTransportEntity.getContent()[B
|
||||
#xInbound=com/tibco/xml/data/primitive/values/XsBase64Binary.castAsBase64Binary()[B
|
||||
#xCall=com/tibco/plugin/tcp/BinaryDelimitedStreamReader.long()[B
|
||||
#xOutbound=com/tibco/plugin/tcp/BinaryDelimitedStreamReader.void()[B
|
||||
|
||||
########## ANYLINK4 FEP ###########
|
||||
#txnKBankRet=anylink/engine/AnyLink.responseMapping([BLjava/lang/Object;[BLjava/lang/Object;ILanylink/common/object/TxParameter;ZLanylink/common/exception/AnyLinkRequestFormatErrorException;)[B
|
||||
#xCall=anylink/engine/AnyLink.process([BLjava/lang/Object;Z[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/Object;
|
||||
#xOutbound=anylink/engine/AnyMapper.mapping([B[BLjava/lang/Object;Z)V
|
||||
|
||||
########## HTTP ##########
|
||||
httpCall=weblogic/net/http/HttpClient.parseHTTP(Lweblogic/net/http/MessageHeader;)V
|
||||
httpRequest=weblogic/net/http/HttpURLConnection.writeRequests()V
|
||||
httpCall=org/apache/commons/httpclient/HttpClient.executeMethod(Lorg/apache/commons/httpclient/HostConfiguration;Lorg/apache/commons/httpclient/HttpMethod;Lorg/apache/commons/httpclient/HttpState;)I
|
||||
httpCall=org/apache/http/impl/client/InternalHttpClient.doExecute(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
|
||||
httpCall=org/apache/http/impl/client/MinimalHttpClient.doExecute(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
|
||||
httpCall=org/apache/http/impl/client/AbstractHttpClient.doExecute(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
|
||||
|
||||
########## TMAX ##########
|
||||
xCall=tmax/webt/WebtRemoteService.tpcall(Ljava/lang/String;Ltmax/webt/WebtBuffer;Ltmax/webt/WebtAttribute;)Ltmax/webt/WebtBuffer;
|
||||
xCall=tmax/webt/WebtRemoteService.tpacall(Ljava/lang/String;Ltmax/webt/WebtBuffer;Ltmax/webt/WebtAttribute;Ltmax/webt/WebtMessageHandler;)I
|
||||
#xOutbound=tmax/webt/io/WebtOutputStream.getSerializedPacket(Ltmax/webt/WebtBuffer;)[B
|
||||
#xReply=tmax/webt/WebtRemoteService.tpgetrply(ILtmax/webt/WebtAttribute;)Ltmax/webt/WebtBuffer;
|
||||
|
||||
########## TUXEDO ##########
|
||||
xCall=weblogic/wtc/gwt/TuxedoConnection.tpcall(Ljava/lang/String;Lweblogic/wtc/jatmi/TypedBuffer;I)Lweblogic/wtc/jatmi/Reply;
|
||||
xCall=weblogic/wtc/gwt/TuxedoConnection.tpacall(Ljava/lang/String;Lweblogic/wtc/jatmi/TypedBuffer;ILweblogic/wtc/jatmi/TpacallAsyncReply;)Lweblogic/wtc/jatmi/CallDescriptor;
|
||||
#xOutbound=weblogic/wtc/jatmi/TuxedoArrayOutputStream.getByteArrayReference()[B
|
||||
#xReply=weblogic/wtc/gwt/TuxedoConnection.tpgetrply(Lweblogic/wtc/jatmi/CallDescriptor;I)Lweblogic/wtc/jatmi/Reply;
|
||||
|
||||
########## SAP ##########
|
||||
xCall=com/sap/conn/jco/rt/AbapFunction.execute(Lcom/sap/conn/jco/JCoDestination;)V
|
||||
xCall=com/sap/conn/jco/rt/AbapFunction.execute(Lcom/sap/conn/jco/JCoDestination;Ljava/lang/String;)V
|
||||
xCall=com/sap/conn/jco/rt/AbapFunction.execute(Lcom/sap/conn/jco/JCoDestination;Ljava/lang/String;Ljava/lang/String;)V
|
||||
#xOutbound=com/sap/conn/rfc/driver/CpicDriver.write([BIZ)I
|
||||
#xReply=com/sap/conn/rfc/engine/RfcIoOpenCntl.RfcReceive([Lcom/sap/conn/rfc/api/IRfcParameter;[Lcom/sap/conn/rfc/api/IRfcParameter;[Lcom/sap/conn/rfc/api/IRfcTable;Lcom/sap/conn/jco/JCoRepository;)V
|
||||
0
intermax/23.12.07.02/jspd/cfg/jspd.x.include
Executable file
0
intermax/23.12.07.02/jspd/cfg/jspd.x.include
Executable file
@@ -0,0 +1 @@
|
||||
DE912939B7753C71EB39FA373F2821BFF4CE192455CAC732E0A3296B18CE7EECDCE90629F84BAE04461D70EBE826159DC6DDAD9E5560C491253EFE0F97D7C064B4DB7C93B164A13BD14B9CC5ED9D7F44E8035E13FE8FCC86E96DC0E14B38EE0415DFBA01B30665F24AE2629817F98BBF29D5AFEA1FB3A05E07A37EEA1A29F292DCDE19E5C83504CF15C749AE6FA90133FCBA48BABD92EF6E67EBFE6BAC13D8EA98B52F9BBFE6D9EC31A16A1CA70AD6ED635328A2EB8B7AAA090B86C523DFC9808BF03DAF24D02103CD137F48A8AEC817D720B03C6238F3A5E67BC367C8F1F01162CE01A197354F376F08981248D632B32BB7EBA81A44ABE937F2A77AAAA26E7DFFFFFF0278A819122C2F5AC1F7D3577B285196478211469284146448312180453117360376193492263207352098494382102091034201019230259218249290199103268257039400248332088006439232317114343475277071129269427437121150052491450016000417184500365362105502480337160128358345305020066425083420499432044143273250418115465440430266306399057138443407282333498374353296304084291252467155267338C7130BC0277A685FA0B356700B731227D0907134A426E53518A9FC3B67AF8D5A9F8382CF6DBABAFB1EAA4C311B4BF2A3EA9BB5C813056BA73B9D76699A8F839B6205C79232E4C20C3F4F8299EB01C541CA02CA99C17024CB04CC9B88ED3B79FBD32FD179A7EDBDE960A6E6DB2F3E0FC1E841ABA24E955756F0298B1171649BA6DD616B1FD442C9B949B69257E015A3F1B72F8BF0753980D8D457A3AA16FAAC2EBB1D10652A24421865165047F1B48E32D325BD623F14487042D48C79C9F750684256C2069308234DED3C06696DDAD32071A1C375FB63494767BBD78A1966F87A3EA3EC9FF243BBF36DBE817BC79BAC27A009DB1A95B5235CCF6FE67791F984BE1A2A24049A07BDAE989FCB000AAE650D06BD67E21926E3738B747C0E8250CF7AE32397F1665B201056B98224244D75A7D89DBD11461FDD9C49C6C0E354ED6A33DFB5BE634F05D6E5951F40DEDD50984FB72BB865A95373E6768C434D16F6782739760B0783F022E5EA1BDF9B4B3B10A1E061811807CC27B2A1DFEF153B9A67C0E040D77CC7C581F6F43342F5C6777995216C93844E7A90310AC7A0826F5C6F0FD10C3664448DAEC57799558761C57E044606C8D302CA7F53B0E358D256E1A2368C2550EC0991B9A30538E5F0C2DA10E3DED523535190237AF46331C243D7BC6ECA7BC5752AFDF55AB98CDE105608345834E71BB7C5141AB1A7FBE9FEF6CCA5B07AF0ACA1E621E0D517D4122D72B1AC10293F16B56C0BFA0544A898A19063903E491CCF5F4C01C49B01E819841131922303d391356254145228RTS_TRIAL_20240331
|
||||
1
intermax/23.12.07.02/jspd/data/agent/0
Normal file
1
intermax/23.12.07.02/jspd/data/agent/0
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
intermax/23.12.07.02/jspd/data/agent/5002
Normal file
1
intermax/23.12.07.02/jspd/data/agent/5002
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
intermax/23.12.07.02/jspd/data/agent/5004
Normal file
1
intermax/23.12.07.02/jspd/data/agent/5004
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
intermax/23.12.07.02/jspd/data/agent/5005
Normal file
1
intermax/23.12.07.02/jspd/data/agent/5005
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
intermax/23.12.07.02/jspd/data/agent/5006
Normal file
1
intermax/23.12.07.02/jspd/data/agent/5006
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
intermax/23.12.07.02/jspd/data/agent/5007
Normal file
1
intermax/23.12.07.02/jspd/data/agent/5007
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
intermax/23.12.07.02/jspd/data/agent/5008
Normal file
1
intermax/23.12.07.02/jspd/data/agent/5008
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
intermax/23.12.07.02/jspd/data/agent/5011
Normal file
1
intermax/23.12.07.02/jspd/data/agent/5011
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user