├── Apache-configuraion
├── httpd.conf
└── workers.properties
├── apache-tomcat-7.0.30
├── LICENSE
├── NOTICE
├── RELEASE-NOTES
├── RUNNING.txt
├── bin
│ ├── bootstrap.jar
│ ├── catalina-tasks.xml
│ ├── catalina.bat
│ ├── catalina.sh
│ ├── commons-daemon-native.tar.gz
│ ├── commons-daemon.jar
│ ├── configtest.bat
│ ├── configtest.sh
│ ├── cpappend.bat
│ ├── daemon.sh
│ ├── digest.bat
│ ├── digest.sh
│ ├── setclasspath.bat
│ ├── setclasspath.sh
│ ├── shutdown.bat
│ ├── shutdown.sh
│ ├── startup.bat
│ ├── startup.sh
│ ├── tomcat-juli.jar
│ ├── tomcat-native.tar.gz
│ ├── tool-wrapper.bat
│ ├── tool-wrapper.sh
│ ├── version.bat
│ └── version.sh
├── conf
│ ├── catalina.policy
│ ├── catalina.properties
│ ├── context.xml
│ ├── logging.properties
│ ├── server.xml
│ ├── tomcat-users.xml
│ └── web.xml
├── lib
│ ├── annotations-api.jar
│ ├── catalina-ant.jar
│ ├── catalina-ha.jar
│ ├── catalina-tribes.jar
│ ├── catalina.jar
│ ├── ecj-3.7.2.jar
│ ├── el-api.jar
│ ├── jasper-el.jar
│ ├── jasper.jar
│ ├── jsp-api.jar
│ ├── servlet-api.jar
│ ├── tomcat-api.jar
│ ├── tomcat-coyote.jar
│ ├── tomcat-dbcp.jar
│ ├── tomcat-i18n-es.jar
│ ├── tomcat-i18n-fr.jar
│ ├── tomcat-i18n-ja.jar
│ ├── tomcat-jdbc.jar
│ └── tomcat-util.jar
├── temp
│ └── safeToDelete.tmp
└── webapps
│ └── ROOT
│ ├── RELEASE-NOTES.txt
│ ├── WEB-INF
│ └── web.xml
│ ├── asf-logo-wide.gif
│ ├── asf-logo.png
│ ├── bg-button.png
│ ├── bg-middle.png
│ ├── bg-nav-item.png
│ ├── bg-nav.png
│ ├── bg-upper.png
│ ├── build.xml
│ ├── favicon.ico
│ ├── index.jsp
│ ├── tomcat-power.gif
│ ├── tomcat.css
│ ├── tomcat.gif
│ ├── tomcat.png
│ └── tomcat.svg
├── instance-1
├── conf
│ ├── catalina.policy
│ ├── catalina.properties
│ ├── context.xml
│ ├── logging.properties
│ ├── server.xml
│ ├── tomcat-users.xml
│ └── web.xml
├── logs
│ └── .gitkeep
├── webapps
│ ├── ROOT
│ │ ├── WEB-INF
│ │ │ └── web.xml
│ │ └── index.jsp
│ └── manager
│ │ ├── META-INF
│ │ └── context.xml
│ │ ├── WEB-INF
│ │ ├── jsp
│ │ │ ├── 401.jsp
│ │ │ ├── 403.jsp
│ │ │ ├── 404.jsp
│ │ │ ├── sessionDetail.jsp
│ │ │ └── sessionsList.jsp
│ │ └── web.xml
│ │ ├── images
│ │ ├── add.gif
│ │ ├── asf-logo.gif
│ │ ├── code.gif
│ │ ├── design.gif
│ │ ├── docs.gif
│ │ ├── fix.gif
│ │ ├── tomcat.gif
│ │ ├── update.gif
│ │ └── void.gif
│ │ ├── index.jsp
│ │ ├── status.xsd
│ │ └── xform.xsl
└── work
│ └── .gitkeep
├── instance-2
├── conf
│ ├── catalina.policy
│ ├── catalina.properties
│ ├── context.xml
│ ├── logging.properties
│ ├── server.xml
│ ├── tomcat-users.xml
│ └── web.xml
├── logs
│ └── .gitkeep
├── webapps
│ ├── ROOT
│ │ ├── WEB-INF
│ │ │ └── web.xml
│ │ └── index.jsp
│ └── manager
│ │ ├── META-INF
│ │ └── context.xml
│ │ ├── WEB-INF
│ │ ├── jsp
│ │ │ ├── 401.jsp
│ │ │ ├── 403.jsp
│ │ │ ├── 404.jsp
│ │ │ ├── sessionDetail.jsp
│ │ │ └── sessionsList.jsp
│ │ └── web.xml
│ │ ├── images
│ │ ├── add.gif
│ │ ├── asf-logo.gif
│ │ ├── code.gif
│ │ ├── design.gif
│ │ ├── docs.gif
│ │ ├── fix.gif
│ │ ├── tomcat.gif
│ │ ├── update.gif
│ │ └── void.gif
│ │ ├── index.jsp
│ │ ├── status.xsd
│ │ └── xform.xsl
└── work
│ └── .gitkeep
├── instance-3
├── conf
│ ├── catalina.policy
│ ├── catalina.properties
│ ├── context.xml
│ ├── logging.properties
│ ├── server.xml
│ ├── tomcat-users.xml
│ └── web.xml
├── logs
│ └── .gitkeep
├── webapps
│ ├── ROOT
│ │ ├── WEB-INF
│ │ │ └── web.xml
│ │ └── index.jsp
│ └── manager
│ │ ├── META-INF
│ │ └── context.xml
│ │ ├── WEB-INF
│ │ ├── jsp
│ │ │ ├── 401.jsp
│ │ │ ├── 403.jsp
│ │ │ ├── 404.jsp
│ │ │ ├── sessionDetail.jsp
│ │ │ └── sessionsList.jsp
│ │ └── web.xml
│ │ ├── images
│ │ ├── add.gif
│ │ ├── asf-logo.gif
│ │ ├── code.gif
│ │ ├── design.gif
│ │ ├── docs.gif
│ │ ├── fix.gif
│ │ ├── tomcat.gif
│ │ ├── update.gif
│ │ └── void.gif
│ │ ├── index.jsp
│ │ ├── status.xsd
│ │ └── xform.xsl
└── work
│ └── .gitkeep
├── route.sh
├── shutdown-instance1.sh
├── shutdown-instance2.sh
├── shutdown-instance3.sh
├── startup-instance1.sh
├── startup-instance2.sh
└── startup-instance3.sh
/Apache-configuraion/workers.properties:
--------------------------------------------------------------------------------
1 | worker.list=balancer,stat
2 |
3 | worker.tomcat1.type=ajp13
4 | worker.tomcat1.host=localhost
5 | worker.tomcat1.port=8010
6 | worker.tomcat1.lbfactor=10
7 |
8 | worker.tomcat2.type=ajp13
9 | worker.tomcat2.host=localhost
10 | worker.tomcat2.port=8011
11 | worker.tomcat2.lbfactor=10
12 |
13 | worker.tomcat3.type=ajp13
14 | worker.tomcat3.host=localhost
15 | worker.tomcat3.port=8012
16 | worker.tomcat3.lbfactor=10
17 |
18 | worker.balancer.type=lb
19 | worker.balancer.balance_workers=tomcat1,tomcat2,tomcat3
20 |
21 | worker.stat.type=status
22 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/NOTICE:
--------------------------------------------------------------------------------
1 | Apache Tomcat
2 | Copyright 1999-2012 The Apache Software Foundation
3 |
4 | This product includes software developed by
5 | The Apache Software Foundation (http://www.apache.org/).
6 |
7 | The Windows Installer is built with the Nullsoft
8 | Scriptable Install System (NSIS), which is
9 | open source software. The original software and
10 | related information is available at
11 | http://nsis.sourceforge.net.
12 |
13 | Java compilation software for JSP pages is provided by Eclipse,
14 | which is open source software. The original software and
15 | related information is available at
16 | http://www.eclipse.org.
17 |
18 | For the bayeux implementation
19 | The org.apache.cometd.bayeux API is derivative work originating at the Dojo Foundation
20 | * Copyright 2007-2008 Guy Molinari
21 | * Copyright 2007-2008 Filip Hanik
22 | * Copyright 2007 Dojo Foundation
23 | * Copyright 2007 Mort Bay Consulting Pty. Ltd.
24 |
25 | The original XML Schemas for Java EE Deployment Descriptors:
26 | - javaee_5.xsd
27 | - javaee_web_services_1_2.xsd
28 | - javaee_web_services_client_1_2.xsd
29 | - javaee_6.xsd
30 | - javaee_web_services_1_3.xsd
31 | - javaee_web_services_client_1_3.xsd
32 | - jsp_2_2.xsd
33 | - web-app_3_0.xsd
34 | - web-common_3_0.xsd
35 | - web-fragment_3_0.xsd
36 | may be obtained from http://java.sun.com/xml/ns/javaee/
37 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/bootstrap.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/bin/bootstrap.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/catalina-tasks.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
22 |
23 |
24 | Catalina Ant Manager, JMX and JSPC Tasks
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/commons-daemon-native.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/bin/commons-daemon-native.tar.gz
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/commons-daemon.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/bin/commons-daemon.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/configtest.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | rem Licensed to the Apache Software Foundation (ASF) under one or more
3 | rem contributor license agreements. See the NOTICE file distributed with
4 | rem this work for additional information regarding copyright ownership.
5 | rem The ASF licenses this file to You under the Apache License, Version 2.0
6 | rem (the "License"); you may not use this file except in compliance with
7 | rem the License. You may obtain a copy of the License at
8 | rem
9 | rem http://www.apache.org/licenses/LICENSE-2.0
10 | rem
11 | rem Unless required by applicable law or agreed to in writing, software
12 | rem distributed under the License is distributed on an "AS IS" BASIS,
13 | rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | rem See the License for the specific language governing permissions and
15 | rem limitations under the License.
16 |
17 | if "%OS%" == "Windows_NT" setlocal
18 | rem ---------------------------------------------------------------------------
19 | rem Configuration test script for the CATALINA Server
20 | rem
21 | rem $Id: configtest.bat 1137560 2011-06-20 09:27:44Z rjung $
22 | rem ---------------------------------------------------------------------------
23 |
24 | rem Guess CATALINA_HOME if not defined
25 | set "CURRENT_DIR=%cd%"
26 | if not "%CATALINA_HOME%" == "" goto gotHome
27 | set "CATALINA_HOME=%CURRENT_DIR%"
28 | if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
29 | cd ..
30 | set "CATALINA_HOME=%cd%"
31 | cd "%CURRENT_DIR%"
32 | :gotHome
33 | if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
34 | echo The CATALINA_HOME environment variable is not defined correctly
35 | echo This environment variable is needed to run this program
36 | goto end
37 | :okHome
38 |
39 | set "EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat"
40 |
41 | rem Check that target executable exists
42 | if exist "%EXECUTABLE%" goto okExec
43 | echo Cannot find "%EXECUTABLE%"
44 | echo This file is needed to run this program
45 | goto end
46 | :okExec
47 |
48 | rem Get remaining unshifted command line arguments and save them in the
49 | set CMD_LINE_ARGS=
50 | :setArgs
51 | if ""%1""=="""" goto doneSetArgs
52 | set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
53 | shift
54 | goto setArgs
55 | :doneSetArgs
56 |
57 | call "%EXECUTABLE%" configtest %CMD_LINE_ARGS%
58 |
59 | :end
60 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/configtest.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to You under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | # -----------------------------------------------------------------------------
19 | # Configuration Test Script for the CATALINA Server
20 | #
21 | # $Id: configtest.sh 1202062 2011-11-15 06:50:02Z mturk $
22 | # -----------------------------------------------------------------------------
23 |
24 | # Better OS/400 detection: see Bugzilla 31132
25 | os400=false
26 | case "`uname`" in
27 | OS400*) os400=true;;
28 | esac
29 |
30 | # resolve links - $0 may be a softlink
31 | PRG="$0"
32 |
33 | while [ -h "$PRG" ] ; do
34 | ls=`ls -ld "$PRG"`
35 | link=`expr "$ls" : '.*-> \(.*\)$'`
36 | if expr "$link" : '/.*' > /dev/null; then
37 | PRG="$link"
38 | else
39 | PRG=`dirname "$PRG"`/"$link"
40 | fi
41 | done
42 |
43 | PRGDIR=`dirname "$PRG"`
44 | EXECUTABLE=catalina.sh
45 |
46 | # Check that target executable exists
47 | if $os400; then
48 | # -x will Only work on the os400 if the files are:
49 | # 1. owned by the user
50 | # 2. owned by the PRIMARY group of the user
51 | # this will not work if the user belongs in secondary groups
52 | eval
53 | else
54 | if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
55 | echo "Cannot find $PRGDIR/$EXECUTABLE"
56 | echo "The file is absent or does not have execute permission"
57 | echo "This file is needed to run this program"
58 | exit 1
59 | fi
60 | fi
61 |
62 | exec "$PRGDIR"/"$EXECUTABLE" configtest "$@"
63 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/cpappend.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | rem Licensed to the Apache Software Foundation (ASF) under one or more
3 | rem contributor license agreements. See the NOTICE file distributed with
4 | rem this work for additional information regarding copyright ownership.
5 | rem The ASF licenses this file to You under the Apache License, Version 2.0
6 | rem (the "License"); you may not use this file except in compliance with
7 | rem the License. You may obtain a copy of the License at
8 | rem
9 | rem http://www.apache.org/licenses/LICENSE-2.0
10 | rem
11 | rem Unless required by applicable law or agreed to in writing, software
12 | rem distributed under the License is distributed on an "AS IS" BASIS,
13 | rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | rem See the License for the specific language governing permissions and
15 | rem limitations under the License.
16 |
17 | rem ---------------------------------------------------------------------------
18 | rem Append to CLASSPATH
19 | rem
20 | rem $Id: cpappend.bat 562770 2007-08-04 22:13:58Z markt $
21 | rem ---------------------------------------------------------------------------
22 |
23 | rem Process the first argument
24 | if ""%1"" == """" goto end
25 | set CLASSPATH=%CLASSPATH%;%1
26 | shift
27 |
28 | rem Process the remaining arguments
29 | :setArgs
30 | if ""%1"" == """" goto doneSetArgs
31 | set CLASSPATH=%CLASSPATH% %1
32 | shift
33 | goto setArgs
34 | :doneSetArgs
35 | :end
36 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/digest.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | rem Licensed to the Apache Software Foundation (ASF) under one or more
3 | rem contributor license agreements. See the NOTICE file distributed with
4 | rem this work for additional information regarding copyright ownership.
5 | rem The ASF licenses this file to You under the Apache License, Version 2.0
6 | rem (the "License"); you may not use this file except in compliance with
7 | rem the License. You may obtain a copy of the License at
8 | rem
9 | rem http://www.apache.org/licenses/LICENSE-2.0
10 | rem
11 | rem Unless required by applicable law or agreed to in writing, software
12 | rem distributed under the License is distributed on an "AS IS" BASIS,
13 | rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | rem See the License for the specific language governing permissions and
15 | rem limitations under the License.
16 |
17 | if "%OS%" == "Windows_NT" setlocal
18 | rem ---------------------------------------------------------------------------
19 | rem Script to digest password using the algorithm specified
20 | rem
21 | rem $Id: digest.bat 1137559 2011-06-20 09:27:30Z rjung $
22 | rem ---------------------------------------------------------------------------
23 |
24 | rem Guess CATALINA_HOME if not defined
25 | set "CURRENT_DIR=%cd%"
26 | if not "%CATALINA_HOME%" == "" goto gotHome
27 | set "CATALINA_HOME=%CURRENT_DIR%"
28 | if exist "%CATALINA_HOME%\bin\tool-wrapper.bat" goto okHome
29 | cd ..
30 | set "CATALINA_HOME=%cd%"
31 | cd "%CURRENT_DIR%"
32 | :gotHome
33 | if exist "%CATALINA_HOME%\bin\tool-wrapper.bat" goto okHome
34 | echo The CATALINA_HOME environment variable is not defined correctly
35 | echo This environment variable is needed to run this program
36 | goto end
37 | :okHome
38 |
39 | set "EXECUTABLE=%CATALINA_HOME%\bin\tool-wrapper.bat"
40 |
41 | rem Check that target executable exists
42 | if exist "%EXECUTABLE%" goto okExec
43 | echo Cannot find "%EXECUTABLE%"
44 | echo This file is needed to run this program
45 | goto end
46 | :okExec
47 |
48 | rem Get remaining unshifted command line arguments and save them in the
49 | set CMD_LINE_ARGS=
50 | :setArgs
51 | if ""%1""=="""" goto doneSetArgs
52 | set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
53 | shift
54 | goto setArgs
55 | :doneSetArgs
56 |
57 | call "%EXECUTABLE%" -server org.apache.catalina.realm.RealmBase %CMD_LINE_ARGS%
58 |
59 | :end
60 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/digest.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to You under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | # -----------------------------------------------------------------------------
19 | # Script to digest password using the algorithm specified
20 | #
21 | # $Id: digest.sh 1202062 2011-11-15 06:50:02Z mturk $
22 | # -----------------------------------------------------------------------------
23 |
24 | # Better OS/400 detection: see Bugzilla 31132
25 | os400=false
26 | case "`uname`" in
27 | OS400*) os400=true;;
28 | esac
29 |
30 | # resolve links - $0 may be a softlink
31 | PRG="$0"
32 |
33 | while [ -h "$PRG" ] ; do
34 | ls=`ls -ld "$PRG"`
35 | link=`expr "$ls" : '.*-> \(.*\)$'`
36 | if expr "$link" : '/.*' > /dev/null; then
37 | PRG="$link"
38 | else
39 | PRG=`dirname "$PRG"`/"$link"
40 | fi
41 | done
42 |
43 | PRGDIR=`dirname "$PRG"`
44 | EXECUTABLE=tool-wrapper.sh
45 |
46 | # Check that target executable exists
47 | if $os400; then
48 | # -x will Only work on the os400 if the files are:
49 | # 1. owned by the user
50 | # 2. owned by the PRIMARY group of the user
51 | # this will not work if the user belongs in secondary groups
52 | eval
53 | else
54 | if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
55 | echo "Cannot find $PRGDIR/$EXECUTABLE"
56 | echo "The file is absent or does not have execute permission"
57 | echo "This file is needed to run this program"
58 | exit 1
59 | fi
60 | fi
61 |
62 | exec "$PRGDIR"/"$EXECUTABLE" -server org.apache.catalina.realm.RealmBase "$@"
63 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/setclasspath.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | rem Licensed to the Apache Software Foundation (ASF) under one or more
3 | rem contributor license agreements. See the NOTICE file distributed with
4 | rem this work for additional information regarding copyright ownership.
5 | rem The ASF licenses this file to You under the Apache License, Version 2.0
6 | rem (the "License"); you may not use this file except in compliance with
7 | rem the License. You may obtain a copy of the License at
8 | rem
9 | rem http://www.apache.org/licenses/LICENSE-2.0
10 | rem
11 | rem Unless required by applicable law or agreed to in writing, software
12 | rem distributed under the License is distributed on an "AS IS" BASIS,
13 | rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | rem See the License for the specific language governing permissions and
15 | rem limitations under the License.
16 |
17 | rem ---------------------------------------------------------------------------
18 | rem Set JAVA_HOME or JRE_HOME if not already set, ensure any provided settings
19 | rem are valid and consistent with the selected start-up options and set up the
20 | rem endorsed directory.
21 | rem
22 | rem $Id: setclasspath.bat 1202062 2011-11-15 06:50:02Z mturk $
23 | rem ---------------------------------------------------------------------------
24 |
25 | rem Make sure prerequisite environment variables are set
26 |
27 | rem In debug mode we need a real JDK (JAVA_HOME)
28 | if ""%1"" == ""debug"" goto needJavaHome
29 |
30 | rem Otherwise either JRE or JDK are fine
31 | if not "%JRE_HOME%" == "" goto gotJreHome
32 | if not "%JAVA_HOME%" == "" goto gotJavaHome
33 | echo Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
34 | echo At least one of these environment variable is needed to run this program
35 | goto exit
36 |
37 | :needJavaHome
38 | rem Check if we have a usable JDK
39 | if "%JAVA_HOME%" == "" goto noJavaHome
40 | if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
41 | if not exist "%JAVA_HOME%\bin\javaw.exe" goto noJavaHome
42 | if not exist "%JAVA_HOME%\bin\jdb.exe" goto noJavaHome
43 | if not exist "%JAVA_HOME%\bin\javac.exe" goto noJavaHome
44 | set "JRE_HOME=%JAVA_HOME%"
45 | goto okJava
46 |
47 | :noJavaHome
48 | echo The JAVA_HOME environment variable is not defined correctly.
49 | echo It is needed to run this program in debug mode.
50 | echo NB: JAVA_HOME should point to a JDK not a JRE.
51 | goto exit
52 |
53 | :gotJavaHome
54 | rem No JRE given, use JAVA_HOME as JRE_HOME
55 | set "JRE_HOME=%JAVA_HOME%"
56 |
57 | :gotJreHome
58 | rem Check if we have a usable JRE
59 | if not exist "%JRE_HOME%\bin\java.exe" goto noJreHome
60 | if not exist "%JRE_HOME%\bin\javaw.exe" goto noJreHome
61 | goto okJava
62 |
63 | :noJreHome
64 | rem Needed at least a JRE
65 | echo The JRE_HOME environment variable is not defined correctly
66 | echo This environment variable is needed to run this program
67 | goto exit
68 |
69 | :okJava
70 | rem Don't override the endorsed dir if the user has set it previously
71 | if not "%JAVA_ENDORSED_DIRS%" == "" goto gotEndorseddir
72 | rem Set the default -Djava.endorsed.dirs argument
73 | set "JAVA_ENDORSED_DIRS=%CATALINA_HOME%\endorsed"
74 | :gotEndorseddir
75 |
76 | rem Set standard command for invoking Java.
77 | rem Note that NT requires a window name argument when using start.
78 | rem Also note the quoting as JAVA_HOME may contain spaces.
79 | set _RUNJAVA="%JRE_HOME%\bin\java"
80 | set _RUNJDB="%JAVA_HOME%\bin\jdb"
81 |
82 | goto end
83 |
84 | :exit
85 | exit /b 1
86 |
87 | :end
88 | exit /b 0
89 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/setclasspath.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to You under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | # -----------------------------------------------------------------------------
19 | # Set JAVA_HOME or JRE_HOME if not already set, ensure any provided settings
20 | # are valid and consistent with the selected start-up options and set up the
21 | # endorsed directory.
22 | #
23 | # $Id: setclasspath.sh 1202062 2011-11-15 06:50:02Z mturk $
24 | # -----------------------------------------------------------------------------
25 |
26 | # Make sure prerequisite environment variables are set
27 | if [ -z "$JAVA_HOME" -a -z "$JRE_HOME" ]; then
28 | # Bugzilla 37284 (reviewed).
29 | if $darwin; then
30 | if [ -d "/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home" ]; then
31 | export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home"
32 | fi
33 | else
34 | JAVA_PATH=`which java 2>/dev/null`
35 | if [ "x$JAVA_PATH" != "x" ]; then
36 | JAVA_PATH=`dirname $JAVA_PATH 2>/dev/null`
37 | JRE_HOME=`dirname $JAVA_PATH 2>/dev/null`
38 | fi
39 | if [ "x$JRE_HOME" = "x" ]; then
40 | # XXX: Should we try other locations?
41 | if [ -x /usr/bin/java ]; then
42 | JRE_HOME=/usr
43 | fi
44 | fi
45 | fi
46 | if [ -z "$JAVA_HOME" -a -z "$JRE_HOME" ]; then
47 | echo "Neither the JAVA_HOME nor the JRE_HOME environment variable is defined"
48 | echo "At least one of these environment variable is needed to run this program"
49 | exit 1
50 | fi
51 | fi
52 | if [ -z "$JAVA_HOME" -a "$1" = "debug" ]; then
53 | echo "JAVA_HOME should point to a JDK in order to run in debug mode."
54 | exit 1
55 | fi
56 | if [ -z "$JRE_HOME" ]; then
57 | JRE_HOME="$JAVA_HOME"
58 | fi
59 |
60 | # If we're running under jdb, we need a full jdk.
61 | if [ "$1" = "debug" ] ; then
62 | if [ "$os400" = "true" ]; then
63 | if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/javac ]; then
64 | echo "The JAVA_HOME environment variable is not defined correctly"
65 | echo "This environment variable is needed to run this program"
66 | echo "NB: JAVA_HOME should point to a JDK not a JRE"
67 | exit 1
68 | fi
69 | else
70 | if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/jdb -o ! -x "$JAVA_HOME"/bin/javac ]; then
71 | echo "The JAVA_HOME environment variable is not defined correctly"
72 | echo "This environment variable is needed to run this program"
73 | echo "NB: JAVA_HOME should point to a JDK not a JRE"
74 | exit 1
75 | fi
76 | fi
77 | fi
78 |
79 | # Don't override the endorsed dir if the user has set it previously
80 | if [ -z "$JAVA_ENDORSED_DIRS" ]; then
81 | # Set the default -Djava.endorsed.dirs argument
82 | JAVA_ENDORSED_DIRS="$CATALINA_HOME"/endorsed
83 | fi
84 |
85 | # Set standard commands for invoking Java.
86 | _RUNJAVA="$JRE_HOME"/bin/java
87 | if [ "$os400" != "true" ]; then
88 | _RUNJDB="$JAVA_HOME"/bin/jdb
89 | fi
90 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/shutdown.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | rem Licensed to the Apache Software Foundation (ASF) under one or more
3 | rem contributor license agreements. See the NOTICE file distributed with
4 | rem this work for additional information regarding copyright ownership.
5 | rem The ASF licenses this file to You under the Apache License, Version 2.0
6 | rem (the "License"); you may not use this file except in compliance with
7 | rem the License. You may obtain a copy of the License at
8 | rem
9 | rem http://www.apache.org/licenses/LICENSE-2.0
10 | rem
11 | rem Unless required by applicable law or agreed to in writing, software
12 | rem distributed under the License is distributed on an "AS IS" BASIS,
13 | rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | rem See the License for the specific language governing permissions and
15 | rem limitations under the License.
16 |
17 | if "%OS%" == "Windows_NT" setlocal
18 | rem ---------------------------------------------------------------------------
19 | rem Stop script for the CATALINA Server
20 | rem
21 | rem $Id: shutdown.bat 895392 2010-01-03 14:02:31Z kkolinko $
22 | rem ---------------------------------------------------------------------------
23 |
24 | rem Guess CATALINA_HOME if not defined
25 | set "CURRENT_DIR=%cd%"
26 | if not "%CATALINA_HOME%" == "" goto gotHome
27 | set "CATALINA_HOME=%CURRENT_DIR%"
28 | if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
29 | cd ..
30 | set "CATALINA_HOME=%cd%"
31 | cd "%CURRENT_DIR%"
32 | :gotHome
33 | if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
34 | echo The CATALINA_HOME environment variable is not defined correctly
35 | echo This environment variable is needed to run this program
36 | goto end
37 | :okHome
38 |
39 | set "EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat"
40 |
41 | rem Check that target executable exists
42 | if exist "%EXECUTABLE%" goto okExec
43 | echo Cannot find "%EXECUTABLE%"
44 | echo This file is needed to run this program
45 | goto end
46 | :okExec
47 |
48 | rem Get remaining unshifted command line arguments and save them in the
49 | set CMD_LINE_ARGS=
50 | :setArgs
51 | if ""%1""=="""" goto doneSetArgs
52 | set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
53 | shift
54 | goto setArgs
55 | :doneSetArgs
56 |
57 | call "%EXECUTABLE%" stop %CMD_LINE_ARGS%
58 |
59 | :end
60 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/shutdown.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to You under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | # -----------------------------------------------------------------------------
19 | # Stop script for the CATALINA Server
20 | #
21 | # $Id: shutdown.sh 1202062 2011-11-15 06:50:02Z mturk $
22 | # -----------------------------------------------------------------------------
23 |
24 | # Better OS/400 detection: see Bugzilla 31132
25 | os400=false
26 | case "`uname`" in
27 | OS400*) os400=true;;
28 | esac
29 |
30 | # resolve links - $0 may be a softlink
31 | PRG="$0"
32 |
33 | while [ -h "$PRG" ] ; do
34 | ls=`ls -ld "$PRG"`
35 | link=`expr "$ls" : '.*-> \(.*\)$'`
36 | if expr "$link" : '/.*' > /dev/null; then
37 | PRG="$link"
38 | else
39 | PRG=`dirname "$PRG"`/"$link"
40 | fi
41 | done
42 |
43 | PRGDIR=`dirname "$PRG"`
44 | EXECUTABLE=catalina.sh
45 |
46 | # Check that target executable exists
47 | if $os400; then
48 | # -x will Only work on the os400 if the files are:
49 | # 1. owned by the user
50 | # 2. owned by the PRIMARY group of the user
51 | # this will not work if the user belongs in secondary groups
52 | eval
53 | else
54 | if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
55 | echo "Cannot find $PRGDIR/$EXECUTABLE"
56 | echo "The file is absent or does not have execute permission"
57 | echo "This file is needed to run this program"
58 | exit 1
59 | fi
60 | fi
61 |
62 | exec "$PRGDIR"/"$EXECUTABLE" stop "$@"
63 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/startup.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | rem Licensed to the Apache Software Foundation (ASF) under one or more
3 | rem contributor license agreements. See the NOTICE file distributed with
4 | rem this work for additional information regarding copyright ownership.
5 | rem The ASF licenses this file to You under the Apache License, Version 2.0
6 | rem (the "License"); you may not use this file except in compliance with
7 | rem the License. You may obtain a copy of the License at
8 | rem
9 | rem http://www.apache.org/licenses/LICENSE-2.0
10 | rem
11 | rem Unless required by applicable law or agreed to in writing, software
12 | rem distributed under the License is distributed on an "AS IS" BASIS,
13 | rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | rem See the License for the specific language governing permissions and
15 | rem limitations under the License.
16 |
17 | if "%OS%" == "Windows_NT" setlocal
18 | rem ---------------------------------------------------------------------------
19 | rem Start script for the CATALINA Server
20 | rem
21 | rem $Id: startup.bat 895392 2010-01-03 14:02:31Z kkolinko $
22 | rem ---------------------------------------------------------------------------
23 |
24 | rem Guess CATALINA_HOME if not defined
25 | set "CURRENT_DIR=%cd%"
26 | if not "%CATALINA_HOME%" == "" goto gotHome
27 | set "CATALINA_HOME=%CURRENT_DIR%"
28 | if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
29 | cd ..
30 | set "CATALINA_HOME=%cd%"
31 | cd "%CURRENT_DIR%"
32 | :gotHome
33 | if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
34 | echo The CATALINA_HOME environment variable is not defined correctly
35 | echo This environment variable is needed to run this program
36 | goto end
37 | :okHome
38 |
39 | set "EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat"
40 |
41 | rem Check that target executable exists
42 | if exist "%EXECUTABLE%" goto okExec
43 | echo Cannot find "%EXECUTABLE%"
44 | echo This file is needed to run this program
45 | goto end
46 | :okExec
47 |
48 | rem Get remaining unshifted command line arguments and save them in the
49 | set CMD_LINE_ARGS=
50 | :setArgs
51 | if ""%1""=="""" goto doneSetArgs
52 | set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
53 | shift
54 | goto setArgs
55 | :doneSetArgs
56 |
57 | call "%EXECUTABLE%" start %CMD_LINE_ARGS%
58 |
59 | :end
60 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/startup.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to You under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | # -----------------------------------------------------------------------------
19 | # Start Script for the CATALINA Server
20 | #
21 | # $Id: startup.sh 1202062 2011-11-15 06:50:02Z mturk $
22 | # -----------------------------------------------------------------------------
23 |
24 | # Better OS/400 detection: see Bugzilla 31132
25 | os400=false
26 | case "`uname`" in
27 | OS400*) os400=true;;
28 | esac
29 |
30 | # resolve links - $0 may be a softlink
31 | PRG="$0"
32 |
33 | while [ -h "$PRG" ] ; do
34 | ls=`ls -ld "$PRG"`
35 | link=`expr "$ls" : '.*-> \(.*\)$'`
36 | if expr "$link" : '/.*' > /dev/null; then
37 | PRG="$link"
38 | else
39 | PRG=`dirname "$PRG"`/"$link"
40 | fi
41 | done
42 |
43 | PRGDIR=`dirname "$PRG"`
44 | EXECUTABLE=catalina.sh
45 |
46 | # Check that target executable exists
47 | if $os400; then
48 | # -x will Only work on the os400 if the files are:
49 | # 1. owned by the user
50 | # 2. owned by the PRIMARY group of the user
51 | # this will not work if the user belongs in secondary groups
52 | eval
53 | else
54 | if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
55 | echo "Cannot find $PRGDIR/$EXECUTABLE"
56 | echo "The file is absent or does not have execute permission"
57 | echo "This file is needed to run this program"
58 | exit 1
59 | fi
60 | fi
61 |
62 | exec "$PRGDIR"/"$EXECUTABLE" start "$@"
63 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/tomcat-juli.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/bin/tomcat-juli.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/tomcat-native.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/bin/tomcat-native.tar.gz
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/tool-wrapper.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | rem Licensed to the Apache Software Foundation (ASF) under one or more
3 | rem contributor license agreements. See the NOTICE file distributed with
4 | rem this work for additional information regarding copyright ownership.
5 | rem The ASF licenses this file to You under the Apache License, Version 2.0
6 | rem (the "License"); you may not use this file except in compliance with
7 | rem the License. You may obtain a copy of the License at
8 | rem
9 | rem http://www.apache.org/licenses/LICENSE-2.0
10 | rem
11 | rem Unless required by applicable law or agreed to in writing, software
12 | rem distributed under the License is distributed on an "AS IS" BASIS,
13 | rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | rem See the License for the specific language governing permissions and
15 | rem limitations under the License.
16 |
17 | if "%OS%" == "Windows_NT" setlocal
18 | rem ---------------------------------------------------------------------------
19 | rem Wrapper script for command line tools
20 | rem
21 | rem Environment Variable Prerequisites
22 | rem
23 | rem CATALINA_HOME May point at your Catalina "build" directory.
24 | rem
25 | rem TOOL_OPTS (Optional) Java runtime options.
26 | rem
27 | rem JAVA_HOME Must point at your Java Development Kit installation.
28 | rem Using JRE_HOME instead works as well.
29 | rem
30 | rem JRE_HOME Must point at your Java Runtime installation.
31 | rem Defaults to JAVA_HOME if empty. If JRE_HOME and JAVA_HOME
32 | rem are both set, JRE_HOME is used.
33 | rem
34 | rem JAVA_OPTS (Optional) Java runtime options.
35 | rem
36 | rem JAVA_ENDORSED_DIRS (Optional) Lists of of semi-colon separated directories
37 | rem containing some jars in order to allow replacement of APIs
38 | rem created outside of the JCP (i.e. DOM and SAX from W3C).
39 | rem It can also be used to update the XML parser implementation.
40 | rem Defaults to $CATALINA_HOME/endorsed.
41 | rem
42 | rem $Id: tool-wrapper.bat 1138835 2011-06-23 11:27:57Z rjung $
43 | rem ---------------------------------------------------------------------------
44 |
45 | rem Guess CATALINA_HOME if not defined
46 | set "CURRENT_DIR=%cd%"
47 | if not "%CATALINA_HOME%" == "" goto gotHome
48 | set "CATALINA_HOME=%CURRENT_DIR%"
49 | if exist "%CATALINA_HOME%\bin\tool-wrapper.bat" goto okHome
50 | cd ..
51 | set "CATALINA_HOME=%cd%"
52 | cd "%CURRENT_DIR%"
53 | :gotHome
54 | if exist "%CATALINA_HOME%\bin\tool-wrapper.bat" goto okHome
55 | echo The CATALINA_HOME environment variable is not defined correctly
56 | echo This environment variable is needed to run this program
57 | goto end
58 | :okHome
59 |
60 | rem Ensure that any user defined CLASSPATH variables are not used on startup,
61 | rem but allow them to be specified in setenv.bat, in rare case when it is needed.
62 | set CLASSPATH=
63 |
64 | rem Get standard environment variables
65 | if exist "%CATALINA_HOME%\bin\setenv.bat" call "%CATALINA_HOME%\bin\setenv.bat"
66 |
67 | rem Get standard Java environment variables
68 | if exist "%CATALINA_HOME%\bin\setclasspath.bat" goto okSetclasspath
69 | echo Cannot find "%CATALINA_HOME%\bin\setclasspath.bat"
70 | echo This file is needed to run this program
71 | goto end
72 | :okSetclasspath
73 | call "%CATALINA_HOME%\bin\setclasspath.bat" %1
74 | if errorlevel 1 goto end
75 |
76 | rem Add on extra jar files to CLASSPATH
77 | rem Note that there are no quotes as we do not want to introduce random
78 | rem quotes into the CLASSPATH
79 | if "%CLASSPATH%" == "" goto emptyClasspath
80 | set "CLASSPATH=%CLASSPATH%;"
81 | :emptyClasspath
82 | set "CLASSPATH=%CLASSPATH%%CATALINA_HOME%\bin\bootstrap.jar;%CATALINA_HOME%\bin\tomcat-juli.jar;%CATALINA_HOME%\lib\servlet-api.jar"
83 |
84 | set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
85 |
86 | rem Get remaining unshifted command line arguments and save them in the
87 | set CMD_LINE_ARGS=
88 | :setArgs
89 | if ""%1""=="""" goto doneSetArgs
90 | set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
91 | shift
92 | goto setArgs
93 | :doneSetArgs
94 |
95 | %_RUNJAVA% %JAVA_OPTS% %TOOL_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.home="%CATALINA_HOME%" org.apache.catalina.startup.Tool %CMD_LINE_ARGS%
96 |
97 | :end
98 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/tool-wrapper.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to You under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | # -----------------------------------------------------------------------------
19 | # Wrapper script for command line tools
20 | #
21 | # Environment Variable Prerequisites
22 | #
23 | # CATALINA_HOME May point at your Catalina "build" directory.
24 | #
25 | # TOOL_OPTS (Optional) Java runtime options.
26 | #
27 | # JAVA_HOME Must point at your Java Development Kit installation.
28 | # Using JRE_HOME instead works as well.
29 | #
30 | # JRE_HOME Must point at your Java Runtime installation.
31 | # Defaults to JAVA_HOME if empty. If JRE_HOME and JAVA_HOME
32 | # are both set, JRE_HOME is used.
33 | #
34 | # JAVA_OPTS (Optional) Java runtime options.
35 | #
36 | # JAVA_ENDORSED_DIRS (Optional) Lists of of colon separated directories
37 | # containing some jars in order to allow replacement of APIs
38 | # created outside of the JCP (i.e. DOM and SAX from W3C).
39 | # It can also be used to update the XML parser implementation.
40 | # Defaults to $CATALINA_HOME/endorsed.
41 | #
42 | # $Id: tool-wrapper.sh 1138835 2011-06-23 11:27:57Z rjung $
43 | # -----------------------------------------------------------------------------
44 |
45 | # OS specific support. $var _must_ be set to either true or false.
46 | cygwin=false
47 | darwin=false
48 | os400=false
49 | case "`uname`" in
50 | CYGWIN*) cygwin=true;;
51 | Darwin*) darwin=true;;
52 | OS400*) os400=true;;
53 | esac
54 |
55 | # resolve links - $0 may be a softlink
56 | PRG="$0"
57 |
58 | while [ -h "$PRG" ]; do
59 | ls=`ls -ld "$PRG"`
60 | link=`expr "$ls" : '.*-> \(.*\)$'`
61 | if expr "$link" : '/.*' > /dev/null; then
62 | PRG="$link"
63 | else
64 | PRG=`dirname "$PRG"`/"$link"
65 | fi
66 | done
67 |
68 | # Get standard environment variables
69 | PRGDIR=`dirname "$PRG"`
70 |
71 | # Only set CATALINA_HOME if not already set
72 | [ -z "$CATALINA_HOME" ] && CATALINA_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
73 |
74 | # Ensure that any user defined CLASSPATH variables are not used on startup,
75 | # but allow them to be specified in setenv.sh, in rare case when it is needed.
76 | CLASSPATH=
77 |
78 | if [ -r "$CATALINA_HOME/bin/setenv.sh" ]; then
79 | . "$CATALINA_HOME/bin/setenv.sh"
80 | fi
81 |
82 | # For Cygwin, ensure paths are in UNIX format before anything is touched
83 | if $cygwin; then
84 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
85 | [ -n "$JRE_HOME" ] && JRE_HOME=`cygpath --unix "$JRE_HOME"`
86 | [ -n "$CATALINA_HOME" ] && CATALINA_HOME=`cygpath --unix "$CATALINA_HOME"`
87 | [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
88 | fi
89 |
90 | # For OS400
91 | if $os400; then
92 | # Set job priority to standard for interactive (interactive - 6) by using
93 | # the interactive priority - 6, the helper threads that respond to requests
94 | # will be running at the same priority as interactive jobs.
95 | COMMAND='chgjob job('$JOBNAME') runpty(6)'
96 | system $COMMAND
97 |
98 | # Enable multi threading
99 | export QIBM_MULTI_THREADED=Y
100 | fi
101 |
102 | # Get standard Java environment variables
103 | if $os400; then
104 | # -r will Only work on the os400 if the files are:
105 | # 1. owned by the user
106 | # 2. owned by the PRIMARY group of the user
107 | # this will not work if the user belongs in secondary groups
108 | . "$CATALINA_HOME"/bin/setclasspath.sh
109 | else
110 | if [ -r "$CATALINA_HOME"/bin/setclasspath.sh ]; then
111 | . "$CATALINA_HOME"/bin/setclasspath.sh
112 | else
113 | echo "Cannot find $CATALINA_HOME/bin/setclasspath.sh"
114 | echo "This file is needed to run this program"
115 | exit 1
116 | fi
117 | fi
118 |
119 | # Add on extra jar files to CLASSPATH
120 | if [ ! -z "$CLASSPATH" ] ; then
121 | CLASSPATH="$CLASSPATH":
122 | fi
123 | CLASSPATH="$CLASSPATH""$CATALINA_HOME"/bin/bootstrap.jar:"$CATALINA_HOME"/bin/tomcat-juli.jar:"$CATALINA_HOME"/lib/servlet-api.jar
124 |
125 | # For Cygwin, switch paths to Windows format before running java
126 | if $cygwin; then
127 | JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
128 | JRE_HOME=`cygpath --absolute --windows "$JRE_HOME"`
129 | CATALINA_HOME=`cygpath --absolute --windows "$CATALINA_HOME"`
130 | CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
131 | JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
132 | fi
133 |
134 | JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
135 |
136 | # ----- Execute The Requested Command -----------------------------------------
137 |
138 | exec "$_RUNJAVA" $JAVA_OPTS $TOOL_OPTS \
139 | -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
140 | -Dcatalina.home="$CATALINA_HOME" \
141 | org.apache.catalina.startup.Tool "$@"
142 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/version.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | rem Licensed to the Apache Software Foundation (ASF) under one or more
3 | rem contributor license agreements. See the NOTICE file distributed with
4 | rem this work for additional information regarding copyright ownership.
5 | rem The ASF licenses this file to You under the Apache License, Version 2.0
6 | rem (the "License"); you may not use this file except in compliance with
7 | rem the License. You may obtain a copy of the License at
8 | rem
9 | rem http://www.apache.org/licenses/LICENSE-2.0
10 | rem
11 | rem Unless required by applicable law or agreed to in writing, software
12 | rem distributed under the License is distributed on an "AS IS" BASIS,
13 | rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | rem See the License for the specific language governing permissions and
15 | rem limitations under the License.
16 |
17 | if "%OS%" == "Windows_NT" setlocal
18 | rem ---------------------------------------------------------------------------
19 | rem Version script for the CATALINA Server
20 | rem
21 | rem $Id: version.bat 895392 2010-01-03 14:02:31Z kkolinko $
22 | rem ---------------------------------------------------------------------------
23 |
24 | rem Guess CATALINA_HOME if not defined
25 | set "CURRENT_DIR=%cd%"
26 | if not "%CATALINA_HOME%" == "" goto gotHome
27 | set "CATALINA_HOME=%CURRENT_DIR%"
28 | if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
29 | cd ..
30 | set "CATALINA_HOME=%cd%"
31 | cd "%CURRENT_DIR%"
32 | :gotHome
33 | if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
34 | echo The CATALINA_HOME environment variable is not defined correctly
35 | echo This environment variable is needed to run this program
36 | goto end
37 | :okHome
38 |
39 | set "EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat"
40 |
41 | rem Check that target executable exists
42 | if exist "%EXECUTABLE%" goto okExec
43 | echo Cannot find "%EXECUTABLE%"
44 | echo This file is needed to run this program
45 | goto end
46 | :okExec
47 |
48 | rem Get remaining unshifted command line arguments and save them in the
49 | set CMD_LINE_ARGS=
50 | :setArgs
51 | if ""%1""=="""" goto doneSetArgs
52 | set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
53 | shift
54 | goto setArgs
55 | :doneSetArgs
56 |
57 | call "%EXECUTABLE%" version %CMD_LINE_ARGS%
58 |
59 | :end
60 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/bin/version.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to You under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | # -----------------------------------------------------------------------------
19 | # Version Script for the CATALINA Server
20 | #
21 | # $Id: version.sh 1202062 2011-11-15 06:50:02Z mturk $
22 | # -----------------------------------------------------------------------------
23 |
24 | # Better OS/400 detection: see Bugzilla 31132
25 | os400=false
26 | case "`uname`" in
27 | OS400*) os400=true;;
28 | esac
29 |
30 | # resolve links - $0 may be a softlink
31 | PRG="$0"
32 |
33 | while [ -h "$PRG" ] ; do
34 | ls=`ls -ld "$PRG"`
35 | link=`expr "$ls" : '.*-> \(.*\)$'`
36 | if expr "$link" : '/.*' > /dev/null; then
37 | PRG="$link"
38 | else
39 | PRG=`dirname "$PRG"`/"$link"
40 | fi
41 | done
42 |
43 | PRGDIR=`dirname "$PRG"`
44 | EXECUTABLE=catalina.sh
45 |
46 | # Check that target executable exists
47 | if $os400; then
48 | # -x will Only work on the os400 if the files are:
49 | # 1. owned by the user
50 | # 2. owned by the PRIMARY group of the user
51 | # this will not work if the user belongs in secondary groups
52 | eval
53 | else
54 | if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
55 | echo "Cannot find $PRGDIR/$EXECUTABLE"
56 | echo "The file is absent or does not have execute permission"
57 | echo "This file is needed to run this program"
58 | exit 1
59 | fi
60 | fi
61 |
62 | exec "$PRGDIR"/"$EXECUTABLE" version "$@"
63 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/conf/catalina.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one or more
2 | # contributor license agreements. See the NOTICE file distributed with
3 | # this work for additional information regarding copyright ownership.
4 | # The ASF licenses this file to You under the Apache License, Version 2.0
5 | # (the "License"); you may not use this file except in compliance with
6 | # the License. You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | #
17 | # List of comma-separated packages that start with or equal this string
18 | # will cause a security exception to be thrown when
19 | # passed to checkPackageAccess unless the
20 | # corresponding RuntimePermission ("accessClassInPackage."+package) has
21 | # been granted.
22 | package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
23 | #
24 | # List of comma-separated packages that start with or equal this string
25 | # will cause a security exception to be thrown when
26 | # passed to checkPackageDefinition unless the
27 | # corresponding RuntimePermission ("defineClassInPackage."+package) has
28 | # been granted.
29 | #
30 | # by default, no packages are restricted for definition, and none of
31 | # the class loaders supplied with the JDK call checkPackageDefinition.
32 | #
33 | package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
34 |
35 | #
36 | #
37 | # List of comma-separated paths defining the contents of the "common"
38 | # classloader. Prefixes should be used to define what is the repository type.
39 | # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
40 | # If left as blank,the JVM system loader will be used as Catalina's "common"
41 | # loader.
42 | # Examples:
43 | # "foo": Add this folder as a class repository
44 | # "foo/*.jar": Add all the JARs of the specified folder as class
45 | # repositories
46 | # "foo/bar.jar": Add bar.jar as a class repository
47 | common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
48 |
49 | #
50 | # List of comma-separated paths defining the contents of the "server"
51 | # classloader. Prefixes should be used to define what is the repository type.
52 | # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
53 | # If left as blank, the "common" loader will be used as Catalina's "server"
54 | # loader.
55 | # Examples:
56 | # "foo": Add this folder as a class repository
57 | # "foo/*.jar": Add all the JARs of the specified folder as class
58 | # repositories
59 | # "foo/bar.jar": Add bar.jar as a class repository
60 | server.loader=
61 |
62 | #
63 | # List of comma-separated paths defining the contents of the "shared"
64 | # classloader. Prefixes should be used to define what is the repository type.
65 | # Path may be relative to the CATALINA_BASE path or absolute. If left as blank,
66 | # the "common" loader will be used as Catalina's "shared" loader.
67 | # Examples:
68 | # "foo": Add this folder as a class repository
69 | # "foo/*.jar": Add all the JARs of the specified folder as class
70 | # repositories
71 | # "foo/bar.jar": Add bar.jar as a class repository
72 | # Please note that for single jars, e.g. bar.jar, you need the URL form
73 | # starting with file:.
74 | shared.loader=
75 |
76 | # List of JAR files that should not be scanned using the JarScanner
77 | # functionality. This is typically used to scan JARs for configuration
78 | # information. JARs that do not contain such information may be excluded from
79 | # the scan to speed up the scanning process. This is the default list. JARs on
80 | # this list are excluded from all scans. Scan specific lists (to exclude JARs
81 | # from individual scans) follow this. The list must be a comma separated list of
82 | # JAR file names.
83 | # The JARs listed below include:
84 | # - Tomcat Bootstrap JARs
85 | # - Tomcat API JARs
86 | # - Catalina JARs
87 | # - Jasper JARs
88 | # - Tomcat JARs
89 | # - Common non-Tomcat JARs
90 | # - Sun JDK JARs
91 | # - OpenJDK JARs
92 | # - Apple JDK JARs
93 | tomcat.util.scan.DefaultJarScanner.jarsToSkip=\
94 | bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,\
95 | annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,\
96 | catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,\
97 | jasper.jar,jasper-el.jar,ecj-*.jar,\
98 | tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,\
99 | tomcat-jni.jar,tomcat-spdy.jar,\
100 | tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,\
101 | tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,\
102 | tomcat-jdbc.jar,\
103 | commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,\
104 | commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,\
105 | commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,\
106 | commons-math*.jar,commons-pool*.jar,\
107 | jstl.jar,\
108 | geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,\
109 | ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,\
110 | jmx-tools.jar,jta*.jar,log4j*.jar,mail*.jar,slf4j*.jar,\
111 | xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,\
112 | access-bridge-64.jar,dnsns.jar,jaccess.jar,ldapsec.jar,localedata.jar,\
113 | sunjce_provider.jar,sunmscapi.jar,sunpkcs11.jar,jhall.jar,tools.jar,\
114 | sunec.jar,zipfs.jar,\
115 | gnome-java-bridge.jar,pulse-java.jar,\
116 | apple_provider.jar,AppleScriptEngine.jar,CoreAudio.jar,dns_sd.jar,\
117 | j3daudio.jar,j3dcore.jar,j3dutils.jar,jai_core.jar,jai_codec.jar,\
118 | mlibwrapper_jai.jar,MRJToolkit.jar,vecmath.jar,\
119 | junit.jar,junit-*.jar,ant-launcher.jar
120 |
121 | # Additional JARs (over and above the default JARs listed above) to skip when
122 | # scanning for Servlet 3.0 pluggability features. These features include web
123 | # fragments, annotations, SCIs and classes that match @HandlesTypes. The list
124 | # must be a comma separated list of JAR file names.
125 | org.apache.catalina.startup.ContextConfig.jarsToSkip=
126 |
127 | # Additional JARs (over and above the default JARs listed above) to skip when
128 | # scanning for TLDs. The list must be a comma separated list of JAR file names.
129 | org.apache.catalina.startup.TldConfig.jarsToSkip=
130 |
131 | #
132 | # String cache configuration.
133 | tomcat.util.buf.StringCache.byte.enabled=true
134 | #tomcat.util.buf.StringCache.char.enabled=true
135 | #tomcat.util.buf.StringCache.trainThreshold=500000
136 | #tomcat.util.buf.StringCache.cacheSize=5000
137 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/conf/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 | WEB-INF/web.xml
23 |
24 |
25 |
28 |
29 |
31 |
34 |
35 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/conf/logging.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one or more
2 | # contributor license agreements. See the NOTICE file distributed with
3 | # this work for additional information regarding copyright ownership.
4 | # The ASF licenses this file to You under the Apache License, Version 2.0
5 | # (the "License"); you may not use this file except in compliance with
6 | # the License. You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4host-manager.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
17 |
18 | .handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
19 |
20 | ############################################################
21 | # Handler specific properties.
22 | # Describes specific configuration info for Handlers.
23 | ############################################################
24 |
25 | 1catalina.org.apache.juli.FileHandler.level = FINE
26 | 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
27 | 1catalina.org.apache.juli.FileHandler.prefix = catalina.
28 |
29 | 2localhost.org.apache.juli.FileHandler.level = FINE
30 | 2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
31 | 2localhost.org.apache.juli.FileHandler.prefix = localhost.
32 |
33 | 3manager.org.apache.juli.FileHandler.level = FINE
34 | 3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
35 | 3manager.org.apache.juli.FileHandler.prefix = manager.
36 |
37 | 4host-manager.org.apache.juli.FileHandler.level = FINE
38 | 4host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
39 | 4host-manager.org.apache.juli.FileHandler.prefix = host-manager.
40 |
41 | java.util.logging.ConsoleHandler.level = FINE
42 | java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
43 |
44 |
45 | ############################################################
46 | # Facility specific properties.
47 | # Provides extra control for each logger.
48 | ############################################################
49 |
50 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
51 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler
52 |
53 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO
54 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.org.apache.juli.FileHandler
55 |
56 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO
57 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 4host-manager.org.apache.juli.FileHandler
58 |
59 | # For example, set the org.apache.catalina.util.LifecycleBase logger to log
60 | # each component that extends LifecycleBase changing state:
61 | #org.apache.catalina.util.LifecycleBase.level = FINE
62 |
63 | # To see debug messages in TldLocationsCache, uncomment the following line:
64 | #org.apache.jasper.compiler.TldLocationsCache.level = FINE
65 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/conf/server.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
22 |
23 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
38 |
39 |
42 |
47 |
48 |
49 |
54 |
55 |
56 |
57 |
61 |
62 |
63 |
70 |
73 |
74 |
80 |
84 |
89 |
90 |
91 |
92 |
93 |
94 |
99 |
100 |
103 |
104 |
105 |
108 |
111 |
112 |
114 |
115 |
119 |
121 |
122 |
123 |
125 |
126 |
128 |
131 |
132 |
135 |
138 |
139 |
140 |
141 |
142 |
143 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/conf/tomcat-users.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
24 |
29 |
36 |
37 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/annotations-api.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/annotations-api.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/catalina-ant.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/catalina-ant.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/catalina-ha.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/catalina-ha.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/catalina-tribes.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/catalina-tribes.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/catalina.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/catalina.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/ecj-3.7.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/ecj-3.7.2.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/el-api.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/el-api.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/jasper-el.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/jasper-el.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/jasper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/jasper.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/jsp-api.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/jsp-api.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/servlet-api.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/servlet-api.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/tomcat-api.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/tomcat-api.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/tomcat-coyote.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/tomcat-coyote.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/tomcat-dbcp.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/tomcat-dbcp.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/tomcat-i18n-es.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/tomcat-i18n-es.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/tomcat-i18n-fr.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/tomcat-i18n-fr.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/tomcat-i18n-ja.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/tomcat-i18n-ja.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/tomcat-jdbc.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/tomcat-jdbc.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/lib/tomcat-util.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/lib/tomcat-util.jar
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/temp/safeToDelete.tmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/temp/safeToDelete.tmp
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
25 |
26 | Welcome to Tomcat
27 |
28 | Welcome to Tomcat
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/asf-logo-wide.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/webapps/ROOT/asf-logo-wide.gif
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/asf-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/webapps/ROOT/asf-logo.png
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/bg-button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/webapps/ROOT/bg-button.png
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/bg-middle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/webapps/ROOT/bg-middle.png
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/bg-nav-item.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/webapps/ROOT/bg-nav-item.png
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/bg-nav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/webapps/ROOT/bg-nav.png
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/bg-upper.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/webapps/ROOT/bg-upper.png
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/build.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
77 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/webapps/ROOT/favicon.ico
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/tomcat-power.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/webapps/ROOT/tomcat-power.gif
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/tomcat.css:
--------------------------------------------------------------------------------
1 | /*
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | */
17 | body {
18 | margin: 10px 20px;
19 | text-align: center;
20 | font-family: Arial, sans-serif;
21 | }
22 |
23 | h1, h2, h3, h4, h5, h6, p, ul, ol {
24 | margin: 0 0 0.5em;
25 | }
26 | h1 {
27 | font-size: 18pt;
28 | margin: 0.5em 0 0;
29 | }
30 | h2 {
31 | font-size: 16pt;
32 | }
33 | h3 {
34 | font-size: 13pt;
35 | }
36 | h4 {
37 | font-size: 12pt;
38 | }
39 | h5 {
40 | font-size: 11pt;
41 | }
42 | p {
43 | font-size: 11pt
44 | }
45 |
46 | ul {
47 | margin: 0;
48 | padding: 0 0 0 0.25em;
49 | text-indent: 0;
50 | list-style: none;
51 | }
52 | li {
53 | margin: 0;
54 | padding: 0 0 0.25em;
55 | text-indent: 0;
56 | font-size: 80%;
57 | }
58 |
59 | pre {
60 | text-indent: 0.25em;
61 | width: 90%;
62 | font-size: 90%;
63 | }
64 |
65 | br.separator {
66 | margin: 0;
67 | padding: 0;
68 | clear: both;
69 | }
70 |
71 | a img {
72 | border: 0 none;
73 | }
74 |
75 | .container {
76 | padding: 10px;
77 | margin: 0 0 10px;
78 | }
79 |
80 | .col20 {
81 | float: left;
82 | width: 20%;
83 | }
84 |
85 | .col25 {
86 | float: left;
87 | width: 25%;
88 | }
89 |
90 | #wrapper {
91 | display: block;
92 | margin: 0 auto;
93 | text-align: left;
94 | min-width: 720px;
95 | max-width: 1000px;
96 | }
97 | .curved {
98 | border-radius: 10px;
99 | -moz-border-radius: 10px;
100 | -webkit-border-radius: 10px;
101 | -khtml-border-radius: 10px;
102 | }
103 |
104 | #navigation {
105 | background: #eee url(bg-nav.png) repeat-x top left;
106 | margin: 0 0 10px;
107 | padding: 0;
108 | }
109 | #navigation span {
110 | float: left;
111 | }
112 | #navigation span a {
113 | display: block;
114 | padding: 10px;
115 | font-weight: bold;
116 | text-shadow: 1px 1px 1px #fff;
117 | }
118 | #navigation span a:link,
119 | #navigation span a:visited,
120 | #navigation span a:hover,
121 | #navigation span a:active {
122 | color: #666;
123 | text-decoration: none;
124 | }
125 | #navigation span#nav-help {
126 | float: right;
127 | margin-right: 0;
128 | }
129 |
130 | #asf-box {
131 | height: 40px;
132 | background: #fff url(asf-logo.png) no-repeat top right;}
133 | #asf-box h1 {
134 | padding: 0;
135 | margin: 0;
136 | }
137 |
138 | #upper {
139 | background: #fff url(bg-upper.png) repeat-x top left;
140 | }
141 |
142 | #congrats {
143 | text-align: center;
144 | padding: 10px;
145 | margin: 0 40px 20px;
146 | background-color: #9c9;
147 | }
148 | #congrats h2 {
149 | font-size: 14pt;
150 | padding: 0;
151 | margin: 0;
152 | color: #fff;
153 | }
154 |
155 | #notice {
156 | float: left;
157 | width: 560px;
158 | color: #696;
159 | }
160 | #notice a:link,
161 | #notice a:visited,
162 | #notice a:hover,
163 | #notice a:active {
164 | color: #090;
165 | text-decoration: none;
166 | }
167 | #notice img,
168 | #notice #tasks {
169 | float: left;
170 | }
171 | #tasks a:link,
172 | #tasks a:visited,
173 | #tasks a:hover,
174 | #tasks a:active {
175 | text-decoration: underline;
176 | }
177 | #notice img {
178 | margin-right: 20px;
179 | }
180 |
181 | #actions {
182 | float: right;
183 | width: 140px;
184 | }
185 |
186 | #actions .button {
187 | display: block;
188 | padding: 0;
189 | height: 36px;
190 | background: url(bg-button.png) no-repeat top left;
191 | }
192 |
193 | #actions .button a {
194 | display: block;
195 | padding: 0;
196 | }
197 |
198 | #actions .button a:link,
199 | #actions .button a:visited,
200 | #actions .button a:hover,
201 | #actions .button a:active {
202 | color: #696;
203 | text-decoration: none;
204 | }
205 |
206 | #actions .button a span {
207 | display: block;
208 | padding: 6px 10px;
209 | color: #666;
210 | text-shadow: 1px 1px 1px #fff;
211 | font-size: 10pt;
212 | font-weight: bold;
213 | }
214 |
215 | #middle {
216 | background: #eef url(bg-middle.png) repeat-x top left;
217 | margin: 20px 0;
218 | padding: 1px 10px;
219 | }
220 | #middle h3 {
221 | margin: 0 0 10px;
222 | color: #033;
223 | }
224 | #middle p {
225 | font-size: 10pt;
226 | }
227 | #middle a:link,
228 | #middle a:visited,
229 | #middle a:hover,
230 | #middle a:active {
231 | color: #366;
232 | font-weight: bold;
233 | }
234 | #middle .col25 .container {
235 | padding: 0 0 1px;
236 | }
237 |
238 | #developers {
239 | float: left;
240 | width: 40%;
241 | }
242 | #security {
243 | float: right;
244 | width: 50%;
245 | }
246 |
247 | #lower {
248 | padding: 0;
249 | }
250 |
251 | #lower a:link,
252 | #lower a:visited,
253 | #lower a:hover,
254 | #lower a:active {
255 | color: #600;
256 | }
257 |
258 | #lower strong a:link,
259 | #lower strong a:visited,
260 | #lower strong a:hover,
261 | #lower strong a:active {
262 | color: #c00;
263 | }
264 |
265 | #lower h3 {
266 | color: #963;
267 | font-size: 14pt;
268 | }
269 | #lower h4 {
270 | font-size: 12pt;
271 | }
272 | #lower ul {
273 | padding: 0;
274 | margin: 0.5em 0;
275 | }
276 | #lower p,
277 | #lower li {
278 | font-size: 9pt;
279 | color: #753;
280 | margin: 0 0 0.1em;
281 | }
282 | #lower li {
283 | padding: 3px 5px;
284 | }
285 | #lower li strong {
286 | color: #a53;
287 | }
288 | #lower li#list-announce {
289 | border: 1px solid #f90;
290 | background-color: #ffe8c8;
291 | }
292 | #lower p {
293 | font-size: 10.5pt;
294 | }
295 |
296 | #low-manage,
297 | #low-docs,
298 | #low-help {
299 | float: left;
300 | width: 32%;
301 | }
302 | #low-docs {
303 | margin: 0 0 0 2.2%;
304 | }
305 | #low-help {
306 | float: right;
307 | }
308 |
309 | #low-manage div,
310 | #low-docs div,
311 | #low-help div {
312 | min-height: 280px;
313 | border: 3px solid #ffdc75;
314 | background-color: #fff1c8;
315 | padding: 10px;
316 | }
317 |
318 | #footer {
319 | padding: 0;
320 | margin: 20px 0;
321 | color: #999;
322 | background-color: #eee;
323 | }
324 | #footer h4 {
325 | margin: 0 0 10px;
326 | font-size: 10pt;
327 | }
328 | #footer p {
329 | margin: 0 0 10px;
330 | font-size: 10pt;
331 | }
332 | #footer ul {
333 | margin: 6px 0 1px;
334 | padding: 0;
335 | }
336 | #footer li {
337 | margin: 0;
338 | font-size: 9pt;
339 | }
340 |
341 | #footer a:link,
342 | #footer a:visited,
343 | #footer a:hover,
344 | #footer a:active {
345 | color: #666;
346 | }
347 |
348 | .copyright {
349 | font-size: 10pt;
350 | color: #666;
351 | }
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/tomcat.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/webapps/ROOT/tomcat.gif
--------------------------------------------------------------------------------
/apache-tomcat-7.0.30/webapps/ROOT/tomcat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/apache-tomcat-7.0.30/webapps/ROOT/tomcat.png
--------------------------------------------------------------------------------
/instance-1/conf/catalina.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one or more
2 | # contributor license agreements. See the NOTICE file distributed with
3 | # this work for additional information regarding copyright ownership.
4 | # The ASF licenses this file to You under the Apache License, Version 2.0
5 | # (the "License"); you may not use this file except in compliance with
6 | # the License. You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | #
17 | # List of comma-separated packages that start with or equal this string
18 | # will cause a security exception to be thrown when
19 | # passed to checkPackageAccess unless the
20 | # corresponding RuntimePermission ("accessClassInPackage."+package) has
21 | # been granted.
22 | package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
23 | #
24 | # List of comma-separated packages that start with or equal this string
25 | # will cause a security exception to be thrown when
26 | # passed to checkPackageDefinition unless the
27 | # corresponding RuntimePermission ("defineClassInPackage."+package) has
28 | # been granted.
29 | #
30 | # by default, no packages are restricted for definition, and none of
31 | # the class loaders supplied with the JDK call checkPackageDefinition.
32 | #
33 | package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
34 |
35 | #
36 | #
37 | # List of comma-separated paths defining the contents of the "common"
38 | # classloader. Prefixes should be used to define what is the repository type.
39 | # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
40 | # If left as blank,the JVM system loader will be used as Catalina's "common"
41 | # loader.
42 | # Examples:
43 | # "foo": Add this folder as a class repository
44 | # "foo/*.jar": Add all the JARs of the specified folder as class
45 | # repositories
46 | # "foo/bar.jar": Add bar.jar as a class repository
47 | common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
48 |
49 | #
50 | # List of comma-separated paths defining the contents of the "server"
51 | # classloader. Prefixes should be used to define what is the repository type.
52 | # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
53 | # If left as blank, the "common" loader will be used as Catalina's "server"
54 | # loader.
55 | # Examples:
56 | # "foo": Add this folder as a class repository
57 | # "foo/*.jar": Add all the JARs of the specified folder as class
58 | # repositories
59 | # "foo/bar.jar": Add bar.jar as a class repository
60 | server.loader=
61 |
62 | #
63 | # List of comma-separated paths defining the contents of the "shared"
64 | # classloader. Prefixes should be used to define what is the repository type.
65 | # Path may be relative to the CATALINA_BASE path or absolute. If left as blank,
66 | # the "common" loader will be used as Catalina's "shared" loader.
67 | # Examples:
68 | # "foo": Add this folder as a class repository
69 | # "foo/*.jar": Add all the JARs of the specified folder as class
70 | # repositories
71 | # "foo/bar.jar": Add bar.jar as a class repository
72 | # Please note that for single jars, e.g. bar.jar, you need the URL form
73 | # starting with file:.
74 | shared.loader=
75 |
76 | # List of JAR files that should not be scanned using the JarScanner
77 | # functionality. This is typically used to scan JARs for configuration
78 | # information. JARs that do not contain such information may be excluded from
79 | # the scan to speed up the scanning process. This is the default list. JARs on
80 | # this list are excluded from all scans. Scan specific lists (to exclude JARs
81 | # from individual scans) follow this. The list must be a comma separated list of
82 | # JAR file names.
83 | # The JARs listed below include:
84 | # - Tomcat Bootstrap JARs
85 | # - Tomcat API JARs
86 | # - Catalina JARs
87 | # - Jasper JARs
88 | # - Tomcat JARs
89 | # - Common non-Tomcat JARs
90 | # - Sun JDK JARs
91 | # - OpenJDK JARs
92 | # - Apple JDK JARs
93 | tomcat.util.scan.DefaultJarScanner.jarsToSkip=\
94 | bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,\
95 | annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,\
96 | catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,\
97 | jasper.jar,jasper-el.jar,ecj-*.jar,\
98 | tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,\
99 | tomcat-jni.jar,tomcat-spdy.jar,\
100 | tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,\
101 | tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,\
102 | tomcat-jdbc.jar,\
103 | commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,\
104 | commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,\
105 | commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,\
106 | commons-math*.jar,commons-pool*.jar,\
107 | jstl.jar,\
108 | geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,\
109 | ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,\
110 | jmx-tools.jar,jta*.jar,log4j*.jar,mail*.jar,slf4j*.jar,\
111 | xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,\
112 | access-bridge-64.jar,dnsns.jar,jaccess.jar,ldapsec.jar,localedata.jar,\
113 | sunjce_provider.jar,sunmscapi.jar,sunpkcs11.jar,jhall.jar,tools.jar,\
114 | sunec.jar,zipfs.jar,\
115 | gnome-java-bridge.jar,pulse-java.jar,\
116 | apple_provider.jar,AppleScriptEngine.jar,CoreAudio.jar,dns_sd.jar,\
117 | j3daudio.jar,j3dcore.jar,j3dutils.jar,jai_core.jar,jai_codec.jar,\
118 | mlibwrapper_jai.jar,MRJToolkit.jar,vecmath.jar,\
119 | junit.jar,junit-*.jar,ant-launcher.jar
120 |
121 | # Additional JARs (over and above the default JARs listed above) to skip when
122 | # scanning for Servlet 3.0 pluggability features. These features include web
123 | # fragments, annotations, SCIs and classes that match @HandlesTypes. The list
124 | # must be a comma separated list of JAR file names.
125 | org.apache.catalina.startup.ContextConfig.jarsToSkip=
126 |
127 | # Additional JARs (over and above the default JARs listed above) to skip when
128 | # scanning for TLDs. The list must be a comma separated list of JAR file names.
129 | org.apache.catalina.startup.TldConfig.jarsToSkip=
130 |
131 | #
132 | # String cache configuration.
133 | tomcat.util.buf.StringCache.byte.enabled=true
134 | #tomcat.util.buf.StringCache.char.enabled=true
135 | #tomcat.util.buf.StringCache.trainThreshold=500000
136 | #tomcat.util.buf.StringCache.cacheSize=5000
137 |
--------------------------------------------------------------------------------
/instance-1/conf/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 | WEB-INF/web.xml
23 |
24 |
25 |
28 |
29 |
31 |
34 |
35 |
--------------------------------------------------------------------------------
/instance-1/conf/logging.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one or more
2 | # contributor license agreements. See the NOTICE file distributed with
3 | # this work for additional information regarding copyright ownership.
4 | # The ASF licenses this file to You under the Apache License, Version 2.0
5 | # (the "License"); you may not use this file except in compliance with
6 | # the License. You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4host-manager.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
17 |
18 | .handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
19 |
20 | ############################################################
21 | # Handler specific properties.
22 | # Describes specific configuration info for Handlers.
23 | ############################################################
24 |
25 | 1catalina.org.apache.juli.FileHandler.level = FINE
26 | 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
27 | 1catalina.org.apache.juli.FileHandler.prefix = catalina.
28 |
29 | 2localhost.org.apache.juli.FileHandler.level = FINE
30 | 2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
31 | 2localhost.org.apache.juli.FileHandler.prefix = localhost.
32 |
33 | 3manager.org.apache.juli.FileHandler.level = FINE
34 | 3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
35 | 3manager.org.apache.juli.FileHandler.prefix = manager.
36 |
37 | 4host-manager.org.apache.juli.FileHandler.level = FINE
38 | 4host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
39 | 4host-manager.org.apache.juli.FileHandler.prefix = host-manager.
40 |
41 | java.util.logging.ConsoleHandler.level = FINE
42 | java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
43 |
44 |
45 | ############################################################
46 | # Facility specific properties.
47 | # Provides extra control for each logger.
48 | ############################################################
49 |
50 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
51 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler
52 |
53 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO
54 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.org.apache.juli.FileHandler
55 |
56 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO
57 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 4host-manager.org.apache.juli.FileHandler
58 |
59 | # For example, set the org.apache.catalina.util.LifecycleBase logger to log
60 | # each component that extends LifecycleBase changing state:
61 | #org.apache.catalina.util.LifecycleBase.level = FINE
62 |
63 | # To see debug messages in TldLocationsCache, uncomment the following line:
64 | #org.apache.jasper.compiler.TldLocationsCache.level = FINE
65 |
--------------------------------------------------------------------------------
/instance-1/conf/tomcat-users.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
24 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/instance-1/logs/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-1/logs/.gitkeep
--------------------------------------------------------------------------------
/instance-1/webapps/ROOT/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 | 30
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/instance-1/webapps/ROOT/index.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Document : index
3 | Created on : 18 Sep, 2012, 6:35:44 PM
4 | Author : ramki
5 | --%>
6 |
7 |
8 | <%@page import="java.util.ArrayList"%>
9 | <%@page import="java.util.Date"%>
10 |
11 | <%@page import="java.util.List"%>
12 | <%@page contentType="text/html" pageEncoding="UTF-8"%>
13 |
14 |
15 |
16 |
17 | JSP Page
18 |
19 |
20 |
21 | Instance 1
22 |
23 |
24 |
25 |
26 |
27 |
28 | Session Id : <%=request.getSession().getId()%>
29 | Is it New Session : <%=request.getSession().isNew()%>
30 | Session Creation Date : <%=new Date(request.getSession().getCreationTime())%>
31 | Session Access Date : <%=new Date(request.getSession().getLastAccessedTime())%>
32 |
33 | Cart List
34 |
35 |
36 |
37 |
38 | <%
39 |
40 | String bookName = request.getParameter("bookName");
41 | List listOfBooks = (List) request.getSession().getAttribute("Books");
42 |
43 | if (listOfBooks == null) {
44 | listOfBooks = new ArrayList();
45 | request.getSession().setAttribute("Books", listOfBooks);
46 | }
47 | if (bookName != null) {
48 | listOfBooks.add(bookName);
49 | request.getSession().setAttribute("Books", listOfBooks);
50 | }
51 |
52 |
53 | for (String book : listOfBooks) {
54 | out.println("- "+book + "
");
55 | }
56 |
57 | %>
58 |
59 |
60 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/instance-1/webapps/manager/META-INF/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
23 |
27 |
28 |
--------------------------------------------------------------------------------
/instance-1/webapps/manager/WEB-INF/jsp/401.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | --%>
17 |
18 |
19 |
20 | 401 Unauthorized
21 |
29 |
30 |
31 | 401 Unauthorized
32 |
33 | You are not authorized to view this page. If you have not changed
34 | any configuration files, please examine the file
35 | conf/tomcat-users.xml in your installation. That
36 | file must contain the credentials to let you use this webapp.
37 |
38 |
39 | For example, to add the manager-gui role to a user named
40 | tomcat with a password of s3cret, add the following to the
41 | config file listed above.
42 |
43 |
44 | <role rolename="manager-gui"/>
45 | <user username="tomcat" password="s3cret" roles="manager-gui"/>
46 |
47 |
48 | Note that for Tomcat 7 onwards, the roles required to use the manager
49 | application were changed from the single manager role to the
50 | following four roles. You will need to assign the role(s) required for
51 | the functionality you wish to access.
52 |
53 |
54 | - manager-gui - allows access to the HTML GUI and the status
55 | pages
56 | - manager-script - allows access to the text interface and the
57 | status pages
58 | - manager-jmx - allows access to the JMX proxy and the status
59 | pages
60 | - manager-status - allows access to the status pages only
61 |
62 |
63 | The HTML interface is protected against CSRF but the text and JMX interfaces
64 | are not. To maintain the CSRF protection:
65 |
66 |
67 | - Users with the manager-gui role should not be granted either
68 | the manager-script or manager-jmx roles.
69 | - If the text or jmx interfaces are accessed through a browser (e.g. for
70 | testing since these interfaces are intended for tools not humans) then
71 | the browser must be closed afterwards to terminate the session.
72 |
73 |
74 | For more information - please see the
75 | Manager App HOW-TO.
76 |
77 |
78 |
79 |
80 |
--------------------------------------------------------------------------------
/instance-1/webapps/manager/WEB-INF/jsp/403.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | --%>
17 |
18 |
19 |
20 | 403 Access Denied
21 |
29 |
30 |
31 | 403 Access Denied
32 |
33 | You are not authorized to view this page.
34 |
35 |
36 | If you have already configured the Manager application to allow access and
37 | you have used your browsers back button, used a saved book-mark or similar
38 | then you may have triggered the cross-site request forgery (CSRF) protection
39 | that has been enabled for the HTML interface of the Manager application. You
40 | will need to reset this protection by returning to the
41 | main Manager page. Once you
42 | return to this page, you will be able to continue using the Manager
43 | appliction's HTML interface normally. If you continue to see this access
44 | denied message, check that you have the necessary permissions to access this
45 | application.
46 |
47 |
48 | If you have not changed
49 | any configuration files, please examine the file
50 | conf/tomcat-users.xml in your installation. That
51 | file must contain the credentials to let you use this webapp.
52 |
53 |
54 | For example, to add the manager-gui role to a user named
55 | tomcat with a password of s3cret, add the following to the
56 | config file listed above.
57 |
58 |
59 | <role rolename="manager-gui"/>
60 | <user username="tomcat" password="s3cret" roles="manager-gui"/>
61 |
62 |
63 | Note that for Tomcat 7 onwards, the roles required to use the manager
64 | application were changed from the single manager role to the
65 | following four roles. You will need to assign the role(s) required for
66 | the functionality you wish to access.
67 |
68 |
69 | - manager-gui - allows access to the HTML GUI and the status
70 | pages
71 | - manager-script - allows access to the text interface and the
72 | status pages
73 | - manager-jmx - allows access to the JMX proxy and the status
74 | pages
75 | - manager-status - allows access to the status pages only
76 |
77 |
78 | The HTML interface is protected against CSRF but the text and JMX interfaces
79 | are not. To maintain the CSRF protection:
80 |
81 |
82 | - Users with the manager-gui role should not be granted either
83 | the manager-script or manager-jmx roles.
84 | - If the text or jmx interfaces are accessed through a browser (e.g. for
85 | testing since these interfaces are intended for tools not humans) then
86 | the browser must be closed afterwards to terminate the session.
87 |
88 |
89 | For more information - please see the
90 | Manager App HOW-TO.
91 |
92 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/instance-1/webapps/manager/WEB-INF/jsp/404.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | --%>
17 | <%@ page import="org.apache.catalina.util.RequestUtil" %>
18 |
19 |
20 |
21 | 404 Not found
22 |
30 |
31 |
32 | 404 Not found
33 |
34 | The page you tried to access
35 | (<%=RequestUtil.filter((String) request.getAttribute(
36 | "javax.servlet.error.request_uri"))%>)
37 | does not exist.
38 |
39 |
40 | The Manager application has been re-structured for Tomcat 7 onwards and some
41 | of URLs have changed. All URLs used to access the Manager application should
42 | now start with one of the following options:
43 |
44 |
45 | - <%=request.getContextPath()%>/html for the HTML GUI
46 | - <%=request.getContextPath()%>/text for the text interface
47 | - <%=request.getContextPath()%>/jmxproxy for the JMX proxy
48 | - <%=request.getContextPath()%>/status for the status pages
49 |
50 |
51 | Note that the URL for the text interface has changed from
52 | "<%=request.getContextPath()%>" to
53 | "<%=request.getContextPath()%>/text".
54 |
55 |
56 | You probably need to adjust the URL you are using to access the Manager
57 | application. However, there is always a chance you have found a bug in the
58 | Manager application. If you are sure you have found a bug, and that the bug
59 | has not already been reported, please report it to the Apache Tomcat team.
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/instance-1/webapps/manager/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
25 |
26 | Tomcat Manager Application
27 |
28 | A scriptable management web application for the Tomcat Web Server;
29 | Manager lets you view, load/unload/etc particular web applications.
30 |
31 |
32 |
33 | Manager
34 | org.apache.catalina.manager.ManagerServlet
35 |
36 | debug
37 | 2
38 |
39 |
40 |
41 | HTMLManager
42 | org.apache.catalina.manager.HTMLManagerServlet
43 |
44 | debug
45 | 2
46 |
47 |
54 |
55 |
56 | 52428800
57 | 52428800
58 | 0
59 |
60 |
61 |
62 | Status
63 | org.apache.catalina.manager.StatusManagerServlet
64 |
65 | debug
66 | 0
67 |
68 |
69 |
70 |
71 | JMXProxy
72 | org.apache.catalina.manager.JMXProxyServlet
73 |
74 |
75 |
76 |
77 | Manager
78 | /text/*
79 |
80 |
81 | Status
82 | /status/*
83 |
84 |
85 | JMXProxy
86 | /jmxproxy/*
87 |
88 |
89 | HTMLManager
90 | /html/*
91 |
92 |
93 |
94 | SetCharacterEncoding
95 | org.apache.catalina.filters.SetCharacterEncodingFilter
96 |
97 | encoding
98 | UTF-8
99 |
100 |
101 |
102 |
103 | SetCharacterEncoding
104 | /*
105 |
106 |
107 |
108 | CSRF
109 | org.apache.catalina.filters.CsrfPreventionFilter
110 |
111 | entryPoints
112 | /html,/html/,/html/list,/index.jsp
113 |
114 |
115 |
116 |
117 | CSRF
118 | HTMLManager
119 | jsp
120 |
121 |
122 |
123 |
124 |
125 |
126 | HTML Manager interface (for humans)
127 | /html/*
128 |
129 |
130 | manager-gui
131 |
132 |
133 |
134 |
135 | Text Manager interface (for scripts)
136 | /text/*
137 |
138 |
139 | manager-script
140 |
141 |
142 |
143 |
144 | JMX Proxy interface
145 | /jmxproxy/*
146 |
147 |
148 | manager-jmx
149 |
150 |
151 |
152 |
153 | Status interface
154 | /status/*
155 |
156 |
157 | manager-gui
158 | manager-script
159 | manager-jmx
160 | manager-status
161 |
162 |
163 |
164 |
165 |
166 | BASIC
167 | Tomcat Manager Application
168 |
169 |
170 |
171 |
172 |
173 | The role that is required to access the HTML Manager pages
174 |
175 | manager-gui
176 |
177 |
178 |
179 | The role that is required to access the text Manager pages
180 |
181 | manager-script
182 |
183 |
184 |
185 | The role that is required to access the HTML JMX Proxy
186 |
187 | manager-jmx
188 |
189 |
190 |
191 | The role that is required to access to the Manager Status pages
192 |
193 | manager-status
194 |
195 |
196 |
197 | 401
198 | /WEB-INF/jsp/401.jsp
199 |
200 |
201 | 403
202 | /WEB-INF/jsp/403.jsp
203 |
204 |
205 | 404
206 | /WEB-INF/jsp/404.jsp
207 |
208 |
209 |
210 |
--------------------------------------------------------------------------------
/instance-1/webapps/manager/images/add.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-1/webapps/manager/images/add.gif
--------------------------------------------------------------------------------
/instance-1/webapps/manager/images/asf-logo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-1/webapps/manager/images/asf-logo.gif
--------------------------------------------------------------------------------
/instance-1/webapps/manager/images/code.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-1/webapps/manager/images/code.gif
--------------------------------------------------------------------------------
/instance-1/webapps/manager/images/design.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-1/webapps/manager/images/design.gif
--------------------------------------------------------------------------------
/instance-1/webapps/manager/images/docs.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-1/webapps/manager/images/docs.gif
--------------------------------------------------------------------------------
/instance-1/webapps/manager/images/fix.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-1/webapps/manager/images/fix.gif
--------------------------------------------------------------------------------
/instance-1/webapps/manager/images/tomcat.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-1/webapps/manager/images/tomcat.gif
--------------------------------------------------------------------------------
/instance-1/webapps/manager/images/update.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-1/webapps/manager/images/update.gif
--------------------------------------------------------------------------------
/instance-1/webapps/manager/images/void.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-1/webapps/manager/images/void.gif
--------------------------------------------------------------------------------
/instance-1/webapps/manager/index.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | --%>
17 | <% response.sendRedirect(response.encodeRedirectURL(request.getContextPath() +
18 | "/html")); %>
--------------------------------------------------------------------------------
/instance-1/webapps/manager/status.xsd:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
--------------------------------------------------------------------------------
/instance-1/webapps/manager/xform.xsl:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
21 |
22 |
23 |
25 |
26 |
27 |
28 |
29 | Tomcat Status
30 |
35 |
36 |
37 | Tomcat Status
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 | JVM: |
52 | free: |
53 | total: |
54 | max: |
55 |
56 |
57 |
58 |
59 |
60 | Connector --
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | threadInfo |
70 | maxThreads: |
71 | minSpareThreads: |
72 | currentThreadCount: |
73 | currentThreadsBusy: |
74 |
75 |
76 |
77 |
78 |
79 |
80 | requestInfo |
81 | maxTime: |
82 | processingTime: |
83 | requestCount: |
84 | errorCount: |
85 | bytesReceived: |
86 | bytesSent: |
87 |
88 |
89 |
90 |
91 |
92 |
93 | Stage | Time | B Sent | B Recv | Client | VHost | Request |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 | |
102 | |
103 | |
104 | |
105 | |
106 | |
107 | ? |
108 |
109 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/instance-1/work/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-1/work/.gitkeep
--------------------------------------------------------------------------------
/instance-2/conf/catalina.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one or more
2 | # contributor license agreements. See the NOTICE file distributed with
3 | # this work for additional information regarding copyright ownership.
4 | # The ASF licenses this file to You under the Apache License, Version 2.0
5 | # (the "License"); you may not use this file except in compliance with
6 | # the License. You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | #
17 | # List of comma-separated packages that start with or equal this string
18 | # will cause a security exception to be thrown when
19 | # passed to checkPackageAccess unless the
20 | # corresponding RuntimePermission ("accessClassInPackage."+package) has
21 | # been granted.
22 | package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
23 | #
24 | # List of comma-separated packages that start with or equal this string
25 | # will cause a security exception to be thrown when
26 | # passed to checkPackageDefinition unless the
27 | # corresponding RuntimePermission ("defineClassInPackage."+package) has
28 | # been granted.
29 | #
30 | # by default, no packages are restricted for definition, and none of
31 | # the class loaders supplied with the JDK call checkPackageDefinition.
32 | #
33 | package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
34 |
35 | #
36 | #
37 | # List of comma-separated paths defining the contents of the "common"
38 | # classloader. Prefixes should be used to define what is the repository type.
39 | # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
40 | # If left as blank,the JVM system loader will be used as Catalina's "common"
41 | # loader.
42 | # Examples:
43 | # "foo": Add this folder as a class repository
44 | # "foo/*.jar": Add all the JARs of the specified folder as class
45 | # repositories
46 | # "foo/bar.jar": Add bar.jar as a class repository
47 | common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
48 |
49 | #
50 | # List of comma-separated paths defining the contents of the "server"
51 | # classloader. Prefixes should be used to define what is the repository type.
52 | # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
53 | # If left as blank, the "common" loader will be used as Catalina's "server"
54 | # loader.
55 | # Examples:
56 | # "foo": Add this folder as a class repository
57 | # "foo/*.jar": Add all the JARs of the specified folder as class
58 | # repositories
59 | # "foo/bar.jar": Add bar.jar as a class repository
60 | server.loader=
61 |
62 | #
63 | # List of comma-separated paths defining the contents of the "shared"
64 | # classloader. Prefixes should be used to define what is the repository type.
65 | # Path may be relative to the CATALINA_BASE path or absolute. If left as blank,
66 | # the "common" loader will be used as Catalina's "shared" loader.
67 | # Examples:
68 | # "foo": Add this folder as a class repository
69 | # "foo/*.jar": Add all the JARs of the specified folder as class
70 | # repositories
71 | # "foo/bar.jar": Add bar.jar as a class repository
72 | # Please note that for single jars, e.g. bar.jar, you need the URL form
73 | # starting with file:.
74 | shared.loader=
75 |
76 | # List of JAR files that should not be scanned using the JarScanner
77 | # functionality. This is typically used to scan JARs for configuration
78 | # information. JARs that do not contain such information may be excluded from
79 | # the scan to speed up the scanning process. This is the default list. JARs on
80 | # this list are excluded from all scans. Scan specific lists (to exclude JARs
81 | # from individual scans) follow this. The list must be a comma separated list of
82 | # JAR file names.
83 | # The JARs listed below include:
84 | # - Tomcat Bootstrap JARs
85 | # - Tomcat API JARs
86 | # - Catalina JARs
87 | # - Jasper JARs
88 | # - Tomcat JARs
89 | # - Common non-Tomcat JARs
90 | # - Sun JDK JARs
91 | # - OpenJDK JARs
92 | # - Apple JDK JARs
93 | tomcat.util.scan.DefaultJarScanner.jarsToSkip=\
94 | bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,\
95 | annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,\
96 | catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,\
97 | jasper.jar,jasper-el.jar,ecj-*.jar,\
98 | tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,\
99 | tomcat-jni.jar,tomcat-spdy.jar,\
100 | tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,\
101 | tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,\
102 | tomcat-jdbc.jar,\
103 | commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,\
104 | commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,\
105 | commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,\
106 | commons-math*.jar,commons-pool*.jar,\
107 | jstl.jar,\
108 | geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,\
109 | ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,\
110 | jmx-tools.jar,jta*.jar,log4j*.jar,mail*.jar,slf4j*.jar,\
111 | xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,\
112 | access-bridge-64.jar,dnsns.jar,jaccess.jar,ldapsec.jar,localedata.jar,\
113 | sunjce_provider.jar,sunmscapi.jar,sunpkcs11.jar,jhall.jar,tools.jar,\
114 | sunec.jar,zipfs.jar,\
115 | gnome-java-bridge.jar,pulse-java.jar,\
116 | apple_provider.jar,AppleScriptEngine.jar,CoreAudio.jar,dns_sd.jar,\
117 | j3daudio.jar,j3dcore.jar,j3dutils.jar,jai_core.jar,jai_codec.jar,\
118 | mlibwrapper_jai.jar,MRJToolkit.jar,vecmath.jar,\
119 | junit.jar,junit-*.jar,ant-launcher.jar
120 |
121 | # Additional JARs (over and above the default JARs listed above) to skip when
122 | # scanning for Servlet 3.0 pluggability features. These features include web
123 | # fragments, annotations, SCIs and classes that match @HandlesTypes. The list
124 | # must be a comma separated list of JAR file names.
125 | org.apache.catalina.startup.ContextConfig.jarsToSkip=
126 |
127 | # Additional JARs (over and above the default JARs listed above) to skip when
128 | # scanning for TLDs. The list must be a comma separated list of JAR file names.
129 | org.apache.catalina.startup.TldConfig.jarsToSkip=
130 |
131 | #
132 | # String cache configuration.
133 | tomcat.util.buf.StringCache.byte.enabled=true
134 | #tomcat.util.buf.StringCache.char.enabled=true
135 | #tomcat.util.buf.StringCache.trainThreshold=500000
136 | #tomcat.util.buf.StringCache.cacheSize=5000
137 |
--------------------------------------------------------------------------------
/instance-2/conf/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 | WEB-INF/web.xml
23 |
24 |
25 |
28 |
29 |
31 |
34 |
35 |
--------------------------------------------------------------------------------
/instance-2/conf/logging.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one or more
2 | # contributor license agreements. See the NOTICE file distributed with
3 | # this work for additional information regarding copyright ownership.
4 | # The ASF licenses this file to You under the Apache License, Version 2.0
5 | # (the "License"); you may not use this file except in compliance with
6 | # the License. You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4host-manager.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
17 |
18 | .handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
19 |
20 | ############################################################
21 | # Handler specific properties.
22 | # Describes specific configuration info for Handlers.
23 | ############################################################
24 |
25 | 1catalina.org.apache.juli.FileHandler.level = FINE
26 | 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
27 | 1catalina.org.apache.juli.FileHandler.prefix = catalina.
28 |
29 | 2localhost.org.apache.juli.FileHandler.level = FINE
30 | 2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
31 | 2localhost.org.apache.juli.FileHandler.prefix = localhost.
32 |
33 | 3manager.org.apache.juli.FileHandler.level = FINE
34 | 3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
35 | 3manager.org.apache.juli.FileHandler.prefix = manager.
36 |
37 | 4host-manager.org.apache.juli.FileHandler.level = FINE
38 | 4host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
39 | 4host-manager.org.apache.juli.FileHandler.prefix = host-manager.
40 |
41 | java.util.logging.ConsoleHandler.level = FINE
42 | java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
43 |
44 |
45 | ############################################################
46 | # Facility specific properties.
47 | # Provides extra control for each logger.
48 | ############################################################
49 |
50 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
51 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler
52 |
53 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO
54 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.org.apache.juli.FileHandler
55 |
56 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO
57 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 4host-manager.org.apache.juli.FileHandler
58 |
59 | # For example, set the org.apache.catalina.util.LifecycleBase logger to log
60 | # each component that extends LifecycleBase changing state:
61 | #org.apache.catalina.util.LifecycleBase.level = FINE
62 |
63 | # To see debug messages in TldLocationsCache, uncomment the following line:
64 | #org.apache.jasper.compiler.TldLocationsCache.level = FINE
65 |
--------------------------------------------------------------------------------
/instance-2/conf/tomcat-users.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
24 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/instance-2/logs/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-2/logs/.gitkeep
--------------------------------------------------------------------------------
/instance-2/webapps/ROOT/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 | 30
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/instance-2/webapps/ROOT/index.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Document : index
3 | Created on : 18 Sep, 2012, 6:35:44 PM
4 | Author : ramki
5 | --%>
6 |
7 |
8 | <%@page import="java.util.ArrayList"%>
9 | <%@page import="java.util.Date"%>
10 |
11 | <%@page import="java.util.List"%>
12 | <%@page contentType="text/html" pageEncoding="UTF-8"%>
13 |
14 |
15 |
16 |
17 | JSP Page
18 |
19 |
20 |
21 | Instance 2
22 |
23 |
24 |
25 |
26 |
27 |
28 | Session Id : <%=request.getSession().getId()%>
29 | Is it New Session : <%=request.getSession().isNew()%>
30 | Session Creation Date : <%=new Date(request.getSession().getCreationTime())%>
31 | Session Access Date : <%=new Date(request.getSession().getLastAccessedTime())%>
32 |
33 | Cart List
34 |
35 |
36 |
37 |
38 | <%
39 |
40 | String bookName = request.getParameter("bookName");
41 | List listOfBooks = (List) request.getSession().getAttribute("Books");
42 |
43 | if (listOfBooks == null) {
44 | listOfBooks = new ArrayList();
45 | request.getSession().setAttribute("Books", listOfBooks);
46 | }
47 | if (bookName != null) {
48 | listOfBooks.add(bookName);
49 | request.getSession().setAttribute("Books", listOfBooks);
50 | }
51 |
52 |
53 | for (String book : listOfBooks) {
54 | out.println("- "+book + "
");
55 | }
56 |
57 | %>
58 |
59 |
60 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/instance-2/webapps/manager/META-INF/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
23 |
27 |
28 |
--------------------------------------------------------------------------------
/instance-2/webapps/manager/WEB-INF/jsp/401.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | --%>
17 |
18 |
19 |
20 | 401 Unauthorized
21 |
29 |
30 |
31 | 401 Unauthorized
32 |
33 | You are not authorized to view this page. If you have not changed
34 | any configuration files, please examine the file
35 | conf/tomcat-users.xml in your installation. That
36 | file must contain the credentials to let you use this webapp.
37 |
38 |
39 | For example, to add the manager-gui role to a user named
40 | tomcat with a password of s3cret, add the following to the
41 | config file listed above.
42 |
43 |
44 | <role rolename="manager-gui"/>
45 | <user username="tomcat" password="s3cret" roles="manager-gui"/>
46 |
47 |
48 | Note that for Tomcat 7 onwards, the roles required to use the manager
49 | application were changed from the single manager role to the
50 | following four roles. You will need to assign the role(s) required for
51 | the functionality you wish to access.
52 |
53 |
54 | - manager-gui - allows access to the HTML GUI and the status
55 | pages
56 | - manager-script - allows access to the text interface and the
57 | status pages
58 | - manager-jmx - allows access to the JMX proxy and the status
59 | pages
60 | - manager-status - allows access to the status pages only
61 |
62 |
63 | The HTML interface is protected against CSRF but the text and JMX interfaces
64 | are not. To maintain the CSRF protection:
65 |
66 |
67 | - Users with the manager-gui role should not be granted either
68 | the manager-script or manager-jmx roles.
69 | - If the text or jmx interfaces are accessed through a browser (e.g. for
70 | testing since these interfaces are intended for tools not humans) then
71 | the browser must be closed afterwards to terminate the session.
72 |
73 |
74 | For more information - please see the
75 | Manager App HOW-TO.
76 |
77 |
78 |
79 |
80 |
--------------------------------------------------------------------------------
/instance-2/webapps/manager/WEB-INF/jsp/403.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | --%>
17 |
18 |
19 |
20 | 403 Access Denied
21 |
29 |
30 |
31 | 403 Access Denied
32 |
33 | You are not authorized to view this page.
34 |
35 |
36 | If you have already configured the Manager application to allow access and
37 | you have used your browsers back button, used a saved book-mark or similar
38 | then you may have triggered the cross-site request forgery (CSRF) protection
39 | that has been enabled for the HTML interface of the Manager application. You
40 | will need to reset this protection by returning to the
41 | main Manager page. Once you
42 | return to this page, you will be able to continue using the Manager
43 | appliction's HTML interface normally. If you continue to see this access
44 | denied message, check that you have the necessary permissions to access this
45 | application.
46 |
47 |
48 | If you have not changed
49 | any configuration files, please examine the file
50 | conf/tomcat-users.xml in your installation. That
51 | file must contain the credentials to let you use this webapp.
52 |
53 |
54 | For example, to add the manager-gui role to a user named
55 | tomcat with a password of s3cret, add the following to the
56 | config file listed above.
57 |
58 |
59 | <role rolename="manager-gui"/>
60 | <user username="tomcat" password="s3cret" roles="manager-gui"/>
61 |
62 |
63 | Note that for Tomcat 7 onwards, the roles required to use the manager
64 | application were changed from the single manager role to the
65 | following four roles. You will need to assign the role(s) required for
66 | the functionality you wish to access.
67 |
68 |
69 | - manager-gui - allows access to the HTML GUI and the status
70 | pages
71 | - manager-script - allows access to the text interface and the
72 | status pages
73 | - manager-jmx - allows access to the JMX proxy and the status
74 | pages
75 | - manager-status - allows access to the status pages only
76 |
77 |
78 | The HTML interface is protected against CSRF but the text and JMX interfaces
79 | are not. To maintain the CSRF protection:
80 |
81 |
82 | - Users with the manager-gui role should not be granted either
83 | the manager-script or manager-jmx roles.
84 | - If the text or jmx interfaces are accessed through a browser (e.g. for
85 | testing since these interfaces are intended for tools not humans) then
86 | the browser must be closed afterwards to terminate the session.
87 |
88 |
89 | For more information - please see the
90 | Manager App HOW-TO.
91 |
92 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/instance-2/webapps/manager/WEB-INF/jsp/404.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | --%>
17 | <%@ page import="org.apache.catalina.util.RequestUtil" %>
18 |
19 |
20 |
21 | 404 Not found
22 |
30 |
31 |
32 | 404 Not found
33 |
34 | The page you tried to access
35 | (<%=RequestUtil.filter((String) request.getAttribute(
36 | "javax.servlet.error.request_uri"))%>)
37 | does not exist.
38 |
39 |
40 | The Manager application has been re-structured for Tomcat 7 onwards and some
41 | of URLs have changed. All URLs used to access the Manager application should
42 | now start with one of the following options:
43 |
44 |
45 | - <%=request.getContextPath()%>/html for the HTML GUI
46 | - <%=request.getContextPath()%>/text for the text interface
47 | - <%=request.getContextPath()%>/jmxproxy for the JMX proxy
48 | - <%=request.getContextPath()%>/status for the status pages
49 |
50 |
51 | Note that the URL for the text interface has changed from
52 | "<%=request.getContextPath()%>" to
53 | "<%=request.getContextPath()%>/text".
54 |
55 |
56 | You probably need to adjust the URL you are using to access the Manager
57 | application. However, there is always a chance you have found a bug in the
58 | Manager application. If you are sure you have found a bug, and that the bug
59 | has not already been reported, please report it to the Apache Tomcat team.
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/instance-2/webapps/manager/images/add.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-2/webapps/manager/images/add.gif
--------------------------------------------------------------------------------
/instance-2/webapps/manager/images/asf-logo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-2/webapps/manager/images/asf-logo.gif
--------------------------------------------------------------------------------
/instance-2/webapps/manager/images/code.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-2/webapps/manager/images/code.gif
--------------------------------------------------------------------------------
/instance-2/webapps/manager/images/design.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-2/webapps/manager/images/design.gif
--------------------------------------------------------------------------------
/instance-2/webapps/manager/images/docs.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-2/webapps/manager/images/docs.gif
--------------------------------------------------------------------------------
/instance-2/webapps/manager/images/fix.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-2/webapps/manager/images/fix.gif
--------------------------------------------------------------------------------
/instance-2/webapps/manager/images/tomcat.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-2/webapps/manager/images/tomcat.gif
--------------------------------------------------------------------------------
/instance-2/webapps/manager/images/update.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-2/webapps/manager/images/update.gif
--------------------------------------------------------------------------------
/instance-2/webapps/manager/images/void.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-2/webapps/manager/images/void.gif
--------------------------------------------------------------------------------
/instance-2/webapps/manager/index.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | --%>
17 | <% response.sendRedirect(response.encodeRedirectURL(request.getContextPath() +
18 | "/html")); %>
--------------------------------------------------------------------------------
/instance-2/webapps/manager/status.xsd:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
--------------------------------------------------------------------------------
/instance-2/webapps/manager/xform.xsl:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
21 |
22 |
23 |
25 |
26 |
27 |
28 |
29 | Tomcat Status
30 |
35 |
36 |
37 | Tomcat Status
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 | JVM: |
52 | free: |
53 | total: |
54 | max: |
55 |
56 |
57 |
58 |
59 |
60 | Connector --
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | threadInfo |
70 | maxThreads: |
71 | minSpareThreads: |
72 | currentThreadCount: |
73 | currentThreadsBusy: |
74 |
75 |
76 |
77 |
78 |
79 |
80 | requestInfo |
81 | maxTime: |
82 | processingTime: |
83 | requestCount: |
84 | errorCount: |
85 | bytesReceived: |
86 | bytesSent: |
87 |
88 |
89 |
90 |
91 |
92 |
93 | Stage | Time | B Sent | B Recv | Client | VHost | Request |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 | |
102 | |
103 | |
104 | |
105 | |
106 | |
107 | ? |
108 |
109 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/instance-2/work/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-2/work/.gitkeep
--------------------------------------------------------------------------------
/instance-3/conf/catalina.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one or more
2 | # contributor license agreements. See the NOTICE file distributed with
3 | # this work for additional information regarding copyright ownership.
4 | # The ASF licenses this file to You under the Apache License, Version 2.0
5 | # (the "License"); you may not use this file except in compliance with
6 | # the License. You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | #
17 | # List of comma-separated packages that start with or equal this string
18 | # will cause a security exception to be thrown when
19 | # passed to checkPackageAccess unless the
20 | # corresponding RuntimePermission ("accessClassInPackage."+package) has
21 | # been granted.
22 | package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
23 | #
24 | # List of comma-separated packages that start with or equal this string
25 | # will cause a security exception to be thrown when
26 | # passed to checkPackageDefinition unless the
27 | # corresponding RuntimePermission ("defineClassInPackage."+package) has
28 | # been granted.
29 | #
30 | # by default, no packages are restricted for definition, and none of
31 | # the class loaders supplied with the JDK call checkPackageDefinition.
32 | #
33 | package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
34 |
35 | #
36 | #
37 | # List of comma-separated paths defining the contents of the "common"
38 | # classloader. Prefixes should be used to define what is the repository type.
39 | # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
40 | # If left as blank,the JVM system loader will be used as Catalina's "common"
41 | # loader.
42 | # Examples:
43 | # "foo": Add this folder as a class repository
44 | # "foo/*.jar": Add all the JARs of the specified folder as class
45 | # repositories
46 | # "foo/bar.jar": Add bar.jar as a class repository
47 | common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
48 |
49 | #
50 | # List of comma-separated paths defining the contents of the "server"
51 | # classloader. Prefixes should be used to define what is the repository type.
52 | # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
53 | # If left as blank, the "common" loader will be used as Catalina's "server"
54 | # loader.
55 | # Examples:
56 | # "foo": Add this folder as a class repository
57 | # "foo/*.jar": Add all the JARs of the specified folder as class
58 | # repositories
59 | # "foo/bar.jar": Add bar.jar as a class repository
60 | server.loader=
61 |
62 | #
63 | # List of comma-separated paths defining the contents of the "shared"
64 | # classloader. Prefixes should be used to define what is the repository type.
65 | # Path may be relative to the CATALINA_BASE path or absolute. If left as blank,
66 | # the "common" loader will be used as Catalina's "shared" loader.
67 | # Examples:
68 | # "foo": Add this folder as a class repository
69 | # "foo/*.jar": Add all the JARs of the specified folder as class
70 | # repositories
71 | # "foo/bar.jar": Add bar.jar as a class repository
72 | # Please note that for single jars, e.g. bar.jar, you need the URL form
73 | # starting with file:.
74 | shared.loader=
75 |
76 | # List of JAR files that should not be scanned using the JarScanner
77 | # functionality. This is typically used to scan JARs for configuration
78 | # information. JARs that do not contain such information may be excluded from
79 | # the scan to speed up the scanning process. This is the default list. JARs on
80 | # this list are excluded from all scans. Scan specific lists (to exclude JARs
81 | # from individual scans) follow this. The list must be a comma separated list of
82 | # JAR file names.
83 | # The JARs listed below include:
84 | # - Tomcat Bootstrap JARs
85 | # - Tomcat API JARs
86 | # - Catalina JARs
87 | # - Jasper JARs
88 | # - Tomcat JARs
89 | # - Common non-Tomcat JARs
90 | # - Sun JDK JARs
91 | # - OpenJDK JARs
92 | # - Apple JDK JARs
93 | tomcat.util.scan.DefaultJarScanner.jarsToSkip=\
94 | bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,\
95 | annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,\
96 | catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,\
97 | jasper.jar,jasper-el.jar,ecj-*.jar,\
98 | tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,\
99 | tomcat-jni.jar,tomcat-spdy.jar,\
100 | tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,\
101 | tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,\
102 | tomcat-jdbc.jar,\
103 | commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,\
104 | commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,\
105 | commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,\
106 | commons-math*.jar,commons-pool*.jar,\
107 | jstl.jar,\
108 | geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,\
109 | ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,\
110 | jmx-tools.jar,jta*.jar,log4j*.jar,mail*.jar,slf4j*.jar,\
111 | xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,\
112 | access-bridge-64.jar,dnsns.jar,jaccess.jar,ldapsec.jar,localedata.jar,\
113 | sunjce_provider.jar,sunmscapi.jar,sunpkcs11.jar,jhall.jar,tools.jar,\
114 | sunec.jar,zipfs.jar,\
115 | gnome-java-bridge.jar,pulse-java.jar,\
116 | apple_provider.jar,AppleScriptEngine.jar,CoreAudio.jar,dns_sd.jar,\
117 | j3daudio.jar,j3dcore.jar,j3dutils.jar,jai_core.jar,jai_codec.jar,\
118 | mlibwrapper_jai.jar,MRJToolkit.jar,vecmath.jar,\
119 | junit.jar,junit-*.jar,ant-launcher.jar
120 |
121 | # Additional JARs (over and above the default JARs listed above) to skip when
122 | # scanning for Servlet 3.0 pluggability features. These features include web
123 | # fragments, annotations, SCIs and classes that match @HandlesTypes. The list
124 | # must be a comma separated list of JAR file names.
125 | org.apache.catalina.startup.ContextConfig.jarsToSkip=
126 |
127 | # Additional JARs (over and above the default JARs listed above) to skip when
128 | # scanning for TLDs. The list must be a comma separated list of JAR file names.
129 | org.apache.catalina.startup.TldConfig.jarsToSkip=
130 |
131 | #
132 | # String cache configuration.
133 | tomcat.util.buf.StringCache.byte.enabled=true
134 | #tomcat.util.buf.StringCache.char.enabled=true
135 | #tomcat.util.buf.StringCache.trainThreshold=500000
136 | #tomcat.util.buf.StringCache.cacheSize=5000
137 |
--------------------------------------------------------------------------------
/instance-3/conf/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 | WEB-INF/web.xml
23 |
24 |
25 |
28 |
29 |
31 |
34 |
35 |
--------------------------------------------------------------------------------
/instance-3/conf/logging.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one or more
2 | # contributor license agreements. See the NOTICE file distributed with
3 | # this work for additional information regarding copyright ownership.
4 | # The ASF licenses this file to You under the Apache License, Version 2.0
5 | # (the "License"); you may not use this file except in compliance with
6 | # the License. You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4host-manager.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
17 |
18 | .handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
19 |
20 | ############################################################
21 | # Handler specific properties.
22 | # Describes specific configuration info for Handlers.
23 | ############################################################
24 |
25 | 1catalina.org.apache.juli.FileHandler.level = FINE
26 | 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
27 | 1catalina.org.apache.juli.FileHandler.prefix = catalina.
28 |
29 | 2localhost.org.apache.juli.FileHandler.level = FINE
30 | 2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
31 | 2localhost.org.apache.juli.FileHandler.prefix = localhost.
32 |
33 | 3manager.org.apache.juli.FileHandler.level = FINE
34 | 3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
35 | 3manager.org.apache.juli.FileHandler.prefix = manager.
36 |
37 | 4host-manager.org.apache.juli.FileHandler.level = FINE
38 | 4host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
39 | 4host-manager.org.apache.juli.FileHandler.prefix = host-manager.
40 |
41 | java.util.logging.ConsoleHandler.level = FINE
42 | java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
43 |
44 |
45 | ############################################################
46 | # Facility specific properties.
47 | # Provides extra control for each logger.
48 | ############################################################
49 |
50 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
51 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler
52 |
53 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO
54 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.org.apache.juli.FileHandler
55 |
56 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO
57 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 4host-manager.org.apache.juli.FileHandler
58 |
59 | # For example, set the org.apache.catalina.util.LifecycleBase logger to log
60 | # each component that extends LifecycleBase changing state:
61 | #org.apache.catalina.util.LifecycleBase.level = FINE
62 |
63 | # To see debug messages in TldLocationsCache, uncomment the following line:
64 | #org.apache.jasper.compiler.TldLocationsCache.level = FINE
65 |
--------------------------------------------------------------------------------
/instance-3/conf/tomcat-users.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
24 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/instance-3/logs/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-3/logs/.gitkeep
--------------------------------------------------------------------------------
/instance-3/webapps/ROOT/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 | 30
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/instance-3/webapps/ROOT/index.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Document : index
3 | Created on : 18 Sep, 2012, 6:35:44 PM
4 | Author : ramki
5 | --%>
6 |
7 |
8 | <%@page import="java.util.ArrayList"%>
9 | <%@page import="java.util.Date"%>
10 |
11 | <%@page import="java.util.List"%>
12 | <%@page contentType="text/html" pageEncoding="UTF-8"%>
13 |
14 |
15 |
16 |
17 | JSP Page
18 |
19 |
20 |
21 | Instance 3
22 |
23 |
24 |
25 |
26 |
27 |
28 | Session Id : <%=request.getSession().getId()%>
29 | Is it New Session : <%=request.getSession().isNew()%>
30 | Session Creation Date : <%=new Date(request.getSession().getCreationTime())%>
31 | Session Access Date : <%=new Date(request.getSession().getLastAccessedTime())%>
32 |
33 | Cart List
34 |
35 |
36 |
37 |
38 | <%
39 |
40 | String bookName = request.getParameter("bookName");
41 | List listOfBooks = (List) request.getSession().getAttribute("Books");
42 |
43 | if (listOfBooks == null) {
44 | listOfBooks = new ArrayList();
45 | request.getSession().setAttribute("Books", listOfBooks);
46 | }
47 | if (bookName != null) {
48 | listOfBooks.add(bookName);
49 | request.getSession().setAttribute("Books", listOfBooks);
50 | }
51 |
52 |
53 | for (String book : listOfBooks) {
54 | out.println("- "+book + "
");
55 | }
56 |
57 | %>
58 |
59 |
60 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/instance-3/webapps/manager/META-INF/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
23 |
27 |
28 |
--------------------------------------------------------------------------------
/instance-3/webapps/manager/WEB-INF/jsp/401.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | --%>
17 |
18 |
19 |
20 | 401 Unauthorized
21 |
29 |
30 |
31 | 401 Unauthorized
32 |
33 | You are not authorized to view this page. If you have not changed
34 | any configuration files, please examine the file
35 | conf/tomcat-users.xml in your installation. That
36 | file must contain the credentials to let you use this webapp.
37 |
38 |
39 | For example, to add the manager-gui role to a user named
40 | tomcat with a password of s3cret, add the following to the
41 | config file listed above.
42 |
43 |
44 | <role rolename="manager-gui"/>
45 | <user username="tomcat" password="s3cret" roles="manager-gui"/>
46 |
47 |
48 | Note that for Tomcat 7 onwards, the roles required to use the manager
49 | application were changed from the single manager role to the
50 | following four roles. You will need to assign the role(s) required for
51 | the functionality you wish to access.
52 |
53 |
54 | - manager-gui - allows access to the HTML GUI and the status
55 | pages
56 | - manager-script - allows access to the text interface and the
57 | status pages
58 | - manager-jmx - allows access to the JMX proxy and the status
59 | pages
60 | - manager-status - allows access to the status pages only
61 |
62 |
63 | The HTML interface is protected against CSRF but the text and JMX interfaces
64 | are not. To maintain the CSRF protection:
65 |
66 |
67 | - Users with the manager-gui role should not be granted either
68 | the manager-script or manager-jmx roles.
69 | - If the text or jmx interfaces are accessed through a browser (e.g. for
70 | testing since these interfaces are intended for tools not humans) then
71 | the browser must be closed afterwards to terminate the session.
72 |
73 |
74 | For more information - please see the
75 | Manager App HOW-TO.
76 |
77 |
78 |
79 |
80 |
--------------------------------------------------------------------------------
/instance-3/webapps/manager/WEB-INF/jsp/403.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | --%>
17 |
18 |
19 |
20 | 403 Access Denied
21 |
29 |
30 |
31 | 403 Access Denied
32 |
33 | You are not authorized to view this page.
34 |
35 |
36 | If you have already configured the Manager application to allow access and
37 | you have used your browsers back button, used a saved book-mark or similar
38 | then you may have triggered the cross-site request forgery (CSRF) protection
39 | that has been enabled for the HTML interface of the Manager application. You
40 | will need to reset this protection by returning to the
41 | main Manager page. Once you
42 | return to this page, you will be able to continue using the Manager
43 | appliction's HTML interface normally. If you continue to see this access
44 | denied message, check that you have the necessary permissions to access this
45 | application.
46 |
47 |
48 | If you have not changed
49 | any configuration files, please examine the file
50 | conf/tomcat-users.xml in your installation. That
51 | file must contain the credentials to let you use this webapp.
52 |
53 |
54 | For example, to add the manager-gui role to a user named
55 | tomcat with a password of s3cret, add the following to the
56 | config file listed above.
57 |
58 |
59 | <role rolename="manager-gui"/>
60 | <user username="tomcat" password="s3cret" roles="manager-gui"/>
61 |
62 |
63 | Note that for Tomcat 7 onwards, the roles required to use the manager
64 | application were changed from the single manager role to the
65 | following four roles. You will need to assign the role(s) required for
66 | the functionality you wish to access.
67 |
68 |
69 | - manager-gui - allows access to the HTML GUI and the status
70 | pages
71 | - manager-script - allows access to the text interface and the
72 | status pages
73 | - manager-jmx - allows access to the JMX proxy and the status
74 | pages
75 | - manager-status - allows access to the status pages only
76 |
77 |
78 | The HTML interface is protected against CSRF but the text and JMX interfaces
79 | are not. To maintain the CSRF protection:
80 |
81 |
82 | - Users with the manager-gui role should not be granted either
83 | the manager-script or manager-jmx roles.
84 | - If the text or jmx interfaces are accessed through a browser (e.g. for
85 | testing since these interfaces are intended for tools not humans) then
86 | the browser must be closed afterwards to terminate the session.
87 |
88 |
89 | For more information - please see the
90 | Manager App HOW-TO.
91 |
92 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/instance-3/webapps/manager/WEB-INF/jsp/404.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | --%>
17 | <%@ page import="org.apache.catalina.util.RequestUtil" %>
18 |
19 |
20 |
21 | 404 Not found
22 |
30 |
31 |
32 | 404 Not found
33 |
34 | The page you tried to access
35 | (<%=RequestUtil.filter((String) request.getAttribute(
36 | "javax.servlet.error.request_uri"))%>)
37 | does not exist.
38 |
39 |
40 | The Manager application has been re-structured for Tomcat 7 onwards and some
41 | of URLs have changed. All URLs used to access the Manager application should
42 | now start with one of the following options:
43 |
44 |
45 | - <%=request.getContextPath()%>/html for the HTML GUI
46 | - <%=request.getContextPath()%>/text for the text interface
47 | - <%=request.getContextPath()%>/jmxproxy for the JMX proxy
48 | - <%=request.getContextPath()%>/status for the status pages
49 |
50 |
51 | Note that the URL for the text interface has changed from
52 | "<%=request.getContextPath()%>" to
53 | "<%=request.getContextPath()%>/text".
54 |
55 |
56 | You probably need to adjust the URL you are using to access the Manager
57 | application. However, there is always a chance you have found a bug in the
58 | Manager application. If you are sure you have found a bug, and that the bug
59 | has not already been reported, please report it to the Apache Tomcat team.
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/instance-3/webapps/manager/images/add.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-3/webapps/manager/images/add.gif
--------------------------------------------------------------------------------
/instance-3/webapps/manager/images/asf-logo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-3/webapps/manager/images/asf-logo.gif
--------------------------------------------------------------------------------
/instance-3/webapps/manager/images/code.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-3/webapps/manager/images/code.gif
--------------------------------------------------------------------------------
/instance-3/webapps/manager/images/design.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-3/webapps/manager/images/design.gif
--------------------------------------------------------------------------------
/instance-3/webapps/manager/images/docs.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-3/webapps/manager/images/docs.gif
--------------------------------------------------------------------------------
/instance-3/webapps/manager/images/fix.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-3/webapps/manager/images/fix.gif
--------------------------------------------------------------------------------
/instance-3/webapps/manager/images/tomcat.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-3/webapps/manager/images/tomcat.gif
--------------------------------------------------------------------------------
/instance-3/webapps/manager/images/update.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-3/webapps/manager/images/update.gif
--------------------------------------------------------------------------------
/instance-3/webapps/manager/images/void.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-3/webapps/manager/images/void.gif
--------------------------------------------------------------------------------
/instance-3/webapps/manager/index.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | --%>
17 | <% response.sendRedirect(response.encodeRedirectURL(request.getContextPath() +
18 | "/html")); %>
--------------------------------------------------------------------------------
/instance-3/webapps/manager/status.xsd:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
--------------------------------------------------------------------------------
/instance-3/webapps/manager/xform.xsl:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
21 |
22 |
23 |
25 |
26 |
27 |
28 |
29 | Tomcat Status
30 |
35 |
36 |
37 | Tomcat Status
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 | JVM: |
52 | free: |
53 | total: |
54 | max: |
55 |
56 |
57 |
58 |
59 |
60 | Connector --
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | threadInfo |
70 | maxThreads: |
71 | minSpareThreads: |
72 | currentThreadCount: |
73 | currentThreadsBusy: |
74 |
75 |
76 |
77 |
78 |
79 |
80 | requestInfo |
81 | maxTime: |
82 | processingTime: |
83 | requestCount: |
84 | errorCount: |
85 | bytesReceived: |
86 | bytesSent: |
87 |
88 |
89 |
90 |
91 |
92 |
93 | Stage | Time | B Sent | B Recv | Client | VHost | Request |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 | |
102 | |
103 | |
104 | |
105 | |
106 | |
107 | ? |
108 |
109 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/instance-3/work/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ramkicse/tomcat-clustering-session-replication-/206ece1b7533c1bdffcf533c410b0730e42c197f/instance-3/work/.gitkeep
--------------------------------------------------------------------------------
/route.sh:
--------------------------------------------------------------------------------
1 | sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev eth1
2 |
--------------------------------------------------------------------------------
/shutdown-instance1.sh:
--------------------------------------------------------------------------------
1 | export CATALINA_BASE=/home/ramki/tomcat/instance-1
2 | cd $CATALINA_HOME/bin
3 | ./shutdown.sh
4 |
5 |
6 |
--------------------------------------------------------------------------------
/shutdown-instance2.sh:
--------------------------------------------------------------------------------
1 | export CATALINA_BASE=/home/ramki/tomcat/instance-2
2 | cd $CATALINA_HOME/bin
3 | ./shutdown.sh
4 |
5 |
6 |
--------------------------------------------------------------------------------
/shutdown-instance3.sh:
--------------------------------------------------------------------------------
1 | export CATALINA_BASE=/home/ramki/tomcat/instance-3
2 | cd $CATALINA_HOME/bin
3 | ./shutdown.sh
4 |
5 |
6 |
--------------------------------------------------------------------------------
/startup-instance1.sh:
--------------------------------------------------------------------------------
1 | export CATALINA_BASE=/home/ramki/tomcat/instance-1
2 | rm -rf instance-1/logs/*
3 | rm -rf instance-1/work/*
4 | cd $CATALINA_HOME/bin
5 | ./startup.sh
6 |
7 |
8 |
--------------------------------------------------------------------------------
/startup-instance2.sh:
--------------------------------------------------------------------------------
1 | export CATALINA_BASE=/home/ramki/tomcat/instance-2
2 | rm -rf instance-2/logs/*
3 | rm -rf instance-2/work/*
4 | cd $CATALINA_HOME/bin
5 | ./startup.sh
6 |
7 |
8 |
--------------------------------------------------------------------------------
/startup-instance3.sh:
--------------------------------------------------------------------------------
1 | export CATALINA_BASE=/home/ramki/tomcat/instance-3
2 | rm -rf instance-3/logs/*
3 | rm -rf instance-3/work/*
4 | cd $CATALINA_HOME/bin
5 | ./startup.sh
6 |
7 |
8 |
--------------------------------------------------------------------------------